forked from qt-creator/qt-creator
QmlDebug: Allow different styles of command line arguments
We have tcp, local, and native by now. We have to expose that in a clean way. Change-Id: I0ce7be693aa7f47ebea7abe435a224a176b6c94b Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
This commit is contained in:
@@ -121,8 +121,8 @@ LocalQmlProfilerRunner::~LocalQmlProfilerRunner()
|
||||
|
||||
void LocalQmlProfilerRunner::start()
|
||||
{
|
||||
QString arguments = QmlDebug::qmlDebugCommandLineArguments(QmlDebug::QmlProfilerServices,
|
||||
m_configuration.port);
|
||||
QString arguments = QmlDebug::qmlDebugTcpArguments(QmlDebug::QmlProfilerServices,
|
||||
m_configuration.port);
|
||||
|
||||
if (!m_configuration.executableArguments.isEmpty())
|
||||
arguments += QLatin1Char(' ') + m_configuration.executableArguments;
|
||||
|
||||
Reference in New Issue
Block a user