forked from qt-creator/qt-creator
Debugger: Use a QUrl for Qml server port and host
Host and port reasonably belong together, using a QUrl makes that more explicit and follows the lead of the Qml profiler in that area. Change-Id: I754cb17d165ce6b2f25c655eeebfd8ac8f5a93c7 Reviewed-by: Vikas Pachdha <vikas.pachdha@qt.io>
This commit is contained in:
@@ -57,8 +57,7 @@ public:
|
||||
const AndroidRunnable &runnable() const { return m_androidRunnable; }
|
||||
|
||||
Utils::Port gdbServerPort() const { return m_gdbServerPort; }
|
||||
QString qmlServerHost() const { return m_qmlServerHost; }
|
||||
Utils::Port qmlServerPort() const { return m_qmlServerPort; }
|
||||
QUrl qmlServer() const { return m_qmlServer; }
|
||||
Utils::ProcessHandle pid() const { return m_pid; }
|
||||
|
||||
void start() override;
|
||||
@@ -77,8 +76,7 @@ private:
|
||||
void remoteOutput(const QString &output);
|
||||
void remoteErrorOutput(const QString &output);
|
||||
void gotRemoteOutput(const QString &output);
|
||||
void handleRemoteProcessStarted(Utils::Port gdbServerPort, Utils::Port qmlServerPort,
|
||||
QString qmlServerHost, int pid);
|
||||
void handleRemoteProcessStarted(Utils::Port gdbServerPort, const QUrl &qmlServer, int pid);
|
||||
void handleRemoteProcessFinished(const QString &errString = QString());
|
||||
void checkAVD();
|
||||
void launchAVD();
|
||||
@@ -90,8 +88,7 @@ private:
|
||||
QScopedPointer<AndroidRunnerWorker> m_worker;
|
||||
QPointer<ProjectExplorer::Target> m_target;
|
||||
Utils::Port m_gdbServerPort;
|
||||
QString m_qmlServerHost;
|
||||
Utils::Port m_qmlServerPort;
|
||||
QUrl m_qmlServer;
|
||||
Utils::ProcessHandle m_pid;
|
||||
QmlDebug::QmlOutputParser m_outputParser;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user