Commit 8e4b35b0 authored by Ulf Hermann's avatar Ulf Hermann

QmlDebug: Add a services preset for QmlPreview

Change-Id: If50aba7544c082d99cf03d2cf3c309fc99488803
Reviewed-by: default avatarhjk <hjk@qt.io>
parent f9ec3111
......@@ -35,7 +35,8 @@ enum QmlDebugServicesPreset {
NoQmlDebugServices,
QmlDebuggerServices,
QmlProfilerServices,
QmlNativeDebuggerServices
QmlNativeDebuggerServices,
QmlPreviewServices
};
static inline QString qmlDebugServices(QmlDebugServicesPreset preset)
......@@ -49,6 +50,8 @@ static inline QString qmlDebugServices(QmlDebugServicesPreset preset)
return QStringLiteral("CanvasFrameRate,EngineControl,DebugMessages");
case QmlNativeDebuggerServices:
return QStringLiteral("NativeQmlDebugger");
case QmlPreviewServices:
return QStringLiteral("QmlPreview");
default:
Q_ASSERT(false);
return QString();
......
......@@ -186,6 +186,7 @@ const char NORMAL_RUN_MODE[]="RunConfiguration.NormalRunMode";
const char QML_PROFILER_RUN_MODE[]="RunConfiguration.QmlProfilerRunMode";
const char PERFPROFILER_RUN_MODE[]="PerfProfiler.RunMode";
const char DEBUG_RUN_MODE[]="RunConfiguration.DebugRunMode";
const char QML_PREVIEW_RUN_MODE[]="RunConfiguration.QmlPreviewRunMode";
// Navigation Widget
const char PROJECTTREE_ID[] = "Projects";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment