summaryrefslogtreecommitdiff
path: root/src/plugins/ios
diff options
context:
space:
mode:
authorhjk <hjk@qt.io>2017-06-13 11:43:04 +0200
committerhjk <hjk@qt.io>2017-06-16 12:19:16 +0000
commit25a75d3fa38e6c61097f4578fddb24a1445eec58 (patch)
treee024067db767df320b200f7b514e170cf5830f72 /src/plugins/ios
parentbb4edc33fd237315aa0c1229b887bf05047dd699 (diff)
downloadqt-creator-25a75d3fa38e6c61097f4578fddb24a1445eec58.tar.gz
Debugger, QmlProfiler et al: Replace AnalyzerStartParameter
... and QmlProfilerRunner::Configuaration by PE::UrlConnection, and call it 'serverUrl' on the user side. That's the only variant we ever had and avoids "translations" between three structures that are essential the same. Change-Id: I33386b2b8d2a7985ff934f6f8f840de0831bf9c1 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Diffstat (limited to 'src/plugins/ios')
-rw-r--r--src/plugins/ios/iosrunfactories.cpp1
-rw-r--r--src/plugins/ios/iosrunner.cpp5
2 files changed, 1 insertions, 5 deletions
diff --git a/src/plugins/ios/iosrunfactories.cpp b/src/plugins/ios/iosrunfactories.cpp
index f559d9754f..740b21ae80 100644
--- a/src/plugins/ios/iosrunfactories.cpp
+++ b/src/plugins/ios/iosrunfactories.cpp
@@ -31,7 +31,6 @@
#include "iosmanager.h"
#include <debugger/analyzer/analyzermanager.h>
-#include <debugger/analyzer/analyzerstartparameters.h>
#include <debugger/debuggerconstants.h>
#include <projectexplorer/customexecutablerunconfiguration.h>
diff --git a/src/plugins/ios/iosrunner.cpp b/src/plugins/ios/iosrunner.cpp
index f2635a9600..9f30b7ba11 100644
--- a/src/plugins/ios/iosrunner.cpp
+++ b/src/plugins/ios/iosrunner.cpp
@@ -32,7 +32,6 @@
#include "iossimulator.h"
#include "iosconstants.h"
-#include <debugger/analyzer/analyzerstartparameters.h>
#include <debugger/debuggerplugin.h>
#include <debugger/debuggerkitinformation.h>
#include <debugger/debuggerruncontrol.h>
@@ -367,10 +366,8 @@ IosAnalyzeSupport::IosAnalyzeSupport(RunControl *runControl)
StandardRunnable runnable;
runnable.executable = iosRunConfig->localExecutable().toUserOutput();
runnable.commandLineArguments = iosRunConfig->commandLineArguments();
- Debugger::AnalyzerConnection connection;
- connection.analyzerHost = "localhost";
runControl->setRunnable(runnable);
- runControl->setConnection(connection);
+ runControl->setConnection(UrlConnection::localHostWithoutPort());
runControl->setDisplayName(iosRunConfig->applicationName());
connect(&m_outputParser, &QmlDebug::QmlOutputParser::waitingForConnectionOnPort,