forked from qt-creator/qt-creator
QmlProfiler: fixed arguments for qmlobserver when profiling
Reviewed-by: Kai Koehne
This commit is contained in:
@@ -150,9 +150,10 @@ void QmlProfilerEngine::finishProcess()
|
|||||||
|
|
||||||
void QmlProfilerEngine::QmlProfilerEnginePrivate::launchperfmonitor()
|
void QmlProfilerEngine::QmlProfilerEnginePrivate::launchperfmonitor()
|
||||||
{
|
{
|
||||||
QString arguments = m_params.debuggeeArgs;
|
QString arguments = QLatin1String("-qmljsdebugger=port:") + QString::number(m_params.connParams.port)
|
||||||
arguments += QLatin1String("-qmljsdebugger=port:") + QString::number(m_params.connParams.port)
|
|
||||||
+ QLatin1String(",block");
|
+ QLatin1String(",block");
|
||||||
|
if (!m_params.debuggeeArgs.isEmpty())
|
||||||
|
arguments += QChar(' ') + m_params.debuggeeArgs;
|
||||||
|
|
||||||
if (QmlProfilerPlugin::debugOutput)
|
if (QmlProfilerPlugin::debugOutput)
|
||||||
qWarning("QmlProfiler: Launching %s:%d", qPrintable(m_params.displayName), m_params.connParams.port);
|
qWarning("QmlProfiler: Launching %s:%d", qPrintable(m_params.displayName), m_params.connParams.port);
|
||||||
|
|||||||
Reference in New Issue
Block a user