forked from qt-creator/qt-creator
QmlProfiler: Move output parser into LocalQmlProfilerRunner
In the general case we don't want the QmlProfilerRunControl to parse the QML debug port from the application output. As for most platforms the ports are mapped via some remote connection mechanism the parsed port is almost certainly wrong. In the case of local connections, however, the port is actually correct, so we keep the output parser in the LocalQmlProfilerRunner. Change-Id: Ifdaae85196d8b034e67bc2ba0b8c05be980b62e5 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io> Reviewed-by: hjk <hjk@qt.io> Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
This commit is contained in:
@@ -46,21 +46,19 @@ public:
|
||||
void registerProfilerStateManager( QmlProfilerStateManager *profilerState );
|
||||
|
||||
void notifyRemoteSetupDone(Utils::Port port) override;
|
||||
void notifyRemoteSetupFailed(const QString &errorMessage) override;
|
||||
void start() override;
|
||||
StopResult stop() override;
|
||||
bool isRunning() const override;
|
||||
void cancelProcess();
|
||||
void notifyRemoteFinished() override;
|
||||
void appendMessage(const QString &msg, Utils::OutputFormat format) override;
|
||||
bool supportsReRunning() const override { return false; }
|
||||
|
||||
signals:
|
||||
void processRunning(Utils::Port port);
|
||||
|
||||
private:
|
||||
void wrongSetupMessageBox(const QString &errorMessage);
|
||||
void wrongSetupMessageBoxFinished(int);
|
||||
void processIsRunning(Utils::Port port);
|
||||
void profilerStateChanged();
|
||||
|
||||
class QmlProfilerRunControlPrivate;
|
||||
|
Reference in New Issue
Block a user