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 { ...@@ -35,7 +35,8 @@ enum QmlDebugServicesPreset {
NoQmlDebugServices, NoQmlDebugServices,
QmlDebuggerServices, QmlDebuggerServices,
QmlProfilerServices, QmlProfilerServices,
QmlNativeDebuggerServices QmlNativeDebuggerServices,
QmlPreviewServices
}; };
static inline QString qmlDebugServices(QmlDebugServicesPreset preset) static inline QString qmlDebugServices(QmlDebugServicesPreset preset)
...@@ -49,6 +50,8 @@ static inline QString qmlDebugServices(QmlDebugServicesPreset preset) ...@@ -49,6 +50,8 @@ static inline QString qmlDebugServices(QmlDebugServicesPreset preset)
return QStringLiteral("CanvasFrameRate,EngineControl,DebugMessages"); return QStringLiteral("CanvasFrameRate,EngineControl,DebugMessages");
case QmlNativeDebuggerServices: case QmlNativeDebuggerServices:
return QStringLiteral("NativeQmlDebugger"); return QStringLiteral("NativeQmlDebugger");
case QmlPreviewServices:
return QStringLiteral("QmlPreview");
default: default:
Q_ASSERT(false); Q_ASSERT(false);
return QString(); return QString();
......
...@@ -186,6 +186,7 @@ const char NORMAL_RUN_MODE[]="RunConfiguration.NormalRunMode"; ...@@ -186,6 +186,7 @@ const char NORMAL_RUN_MODE[]="RunConfiguration.NormalRunMode";
const char QML_PROFILER_RUN_MODE[]="RunConfiguration.QmlProfilerRunMode"; const char QML_PROFILER_RUN_MODE[]="RunConfiguration.QmlProfilerRunMode";
const char PERFPROFILER_RUN_MODE[]="PerfProfiler.RunMode"; const char PERFPROFILER_RUN_MODE[]="PerfProfiler.RunMode";
const char DEBUG_RUN_MODE[]="RunConfiguration.DebugRunMode"; const char DEBUG_RUN_MODE[]="RunConfiguration.DebugRunMode";
const char QML_PREVIEW_RUN_MODE[]="RunConfiguration.QmlPreviewRunMode";
// Navigation Widget // Navigation Widget
const char PROJECTTREE_ID[] = "Projects"; 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