QmlProfiler: Show more useful arguments in attach dialog

Without "CanvasFrameRate" the QML profiler won't be very useful.

Change-Id: I8bff2b600db31bd1092c1a5f79e27e4177c97086
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
Ulf Hermann
2018-01-03 11:51:12 +01:00
parent 17e6c0ab97
commit 8880b32426

View File

@@ -69,8 +69,8 @@ QmlProfilerAttachDialog::QmlProfilerAttachDialog(QWidget *parent) :
hint->setTextFormat(Qt::RichText); hint->setTextFormat(Qt::RichText);
hint->setText(tr("Select an externally started QML-debug enabled application.<p>" hint->setText(tr("Select an externally started QML-debug enabled application.<p>"
"Commonly used command-line arguments are:") "Commonly used command-line arguments are:")
+ "<p><tt>-qmljsdebugger=port:&lt;port&gt;,host:&lt;host&gt;,block,</tt><br>" + "<p><tt>-qmljsdebugger=port:&lt;port&gt;,block,<br>"
"<tt>&nbsp;<tt>&nbsp;services:EngineControl,DebugMessages[,...]</tt><p>"); "&nbsp;&nbsp;services:CanvasFrameRate,EngineControl,DebugMessages</tt>");
QFormLayout *formLayout = new QFormLayout(); QFormLayout *formLayout = new QFormLayout();
formLayout->addRow(tr("Kit:"), d->kitChooser); formLayout->addRow(tr("Kit:"), d->kitChooser);