diff options
author | hjk <hjk@qt.io> | 2018-05-29 12:51:40 +0200 |
---|---|---|
committer | hjk <hjk@qt.io> | 2018-05-31 10:17:23 +0000 |
commit | 397de4ff3088da0f704f73300bd85bdaa483be9e (patch) | |
tree | 07df346fd8f1cec20405a94fa2980b18f23cf1fc /src/plugins/qmlprojectmanager | |
parent | f44e73b858af7d67b9c855469bee71927ba3f86b (diff) |
Tie SimpleTargetRunner desktop usages to individual RunConfigurations
This avoids the "catch all" that leads to conflicts with more specific
setups like the AppManagerRunConfig, and consequently lets us remove
the priorities in the RunWorkerFactories.
Change-Id: I382f00ca7f759eef995ac6fe749bb371ab027020
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
Diffstat (limited to 'src/plugins/qmlprojectmanager')
-rw-r--r-- | src/plugins/qmlprojectmanager/qmlprojectrunconfiguration.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/qmlprojectmanager/qmlprojectrunconfiguration.cpp b/src/plugins/qmlprojectmanager/qmlprojectrunconfiguration.cpp index cc9fdb21688..13f4977f927 100644 --- a/src/plugins/qmlprojectmanager/qmlprojectrunconfiguration.cpp +++ b/src/plugins/qmlprojectmanager/qmlprojectrunconfiguration.cpp @@ -299,6 +299,8 @@ QmlProjectRunConfigurationFactory::QmlProjectRunConfigurationFactory() registerRunConfiguration<QmlProjectRunConfiguration> ("QmlProjectManager.QmlRunConfiguration.QmlScene"); addSupportedProjectType(QmlProjectManager::Constants::QML_PROJECT_ID); + + addRunWorkerFactory<SimpleTargetRunner>(ProjectExplorer::Constants::NORMAL_RUN_MODE); } } // namespace Internal |