Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Q
qt-creator
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Tobias Hunger
qt-creator
Commits
8e4b35b0
Commit
8e4b35b0
authored
7 years ago
by
Ulf Hermann
Browse files
Options
Downloads
Patches
Plain Diff
QmlDebug: Add a services preset for QmlPreview
Change-Id: If50aba7544c082d99cf03d2cf3c309fc99488803 Reviewed-by:
hjk
<
hjk@qt.io
>
parent
f9ec3111
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/libs/qmldebug/qmldebugcommandlinearguments.h
+4
-1
4 additions, 1 deletion
src/libs/qmldebug/qmldebugcommandlinearguments.h
src/plugins/projectexplorer/projectexplorerconstants.h
+1
-0
1 addition, 0 deletions
src/plugins/projectexplorer/projectexplorerconstants.h
with
5 additions
and
1 deletion
src/libs/qmldebug/qmldebugcommandlinearguments.h
+
4
−
1
View file @
8e4b35b0
...
...
@@ -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
();
...
...
This diff is collapsed.
Click to expand it.
src/plugins/projectexplorer/projectexplorerconstants.h
+
1
−
0
View file @
8e4b35b0
...
...
@@ -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"
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment