summaryrefslogtreecommitdiff
path: root/src/plugins/qnx/qnxplugin.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/qnx/qnxplugin.cpp')
-rw-r--r--src/plugins/qnx/qnxplugin.cpp21
1 files changed, 15 insertions, 6 deletions
diff --git a/src/plugins/qnx/qnxplugin.cpp b/src/plugins/qnx/qnxplugin.cpp
index 06f2701715..a078056136 100644
--- a/src/plugins/qnx/qnxplugin.cpp
+++ b/src/plugins/qnx/qnxplugin.cpp
@@ -115,12 +115,21 @@ public:
QnxSettingsPage settingsPage;
QnxToolChainFactory toolChainFactory;
- SimpleRunWorkerFactory<SimpleTargetRunner, QnxRunConfiguration>
- runWorkerFactory{ProjectExplorer::Constants::NORMAL_RUN_MODE};
- SimpleRunWorkerFactory<QnxDebugSupport, QnxRunConfiguration>
- debugWorkerFactory{ProjectExplorer::Constants::DEBUG_RUN_MODE};
- SimpleRunWorkerFactory<QnxQmlProfilerSupport, QnxRunConfiguration>
- qmlProfilerWorkerFactory;
+ RunWorkerFactory runWorkerFactory{
+ RunWorkerFactory::make<SimpleTargetRunner>(),
+ {ProjectExplorer::Constants::NORMAL_RUN_MODE},
+ {runConfigFactory.id()}
+ };
+ RunWorkerFactory debugWorkerFactory{
+ RunWorkerFactory::make<QnxDebugSupport>(),
+ {ProjectExplorer::Constants::DEBUG_RUN_MODE},
+ {runConfigFactory.id()}
+ };
+ RunWorkerFactory qmlProfilerWorkerFactory{
+ RunWorkerFactory::make<QnxQmlProfilerSupport>(),
+ {}, // FIXME: Shouldn't this use the run mode id somehow?
+ {runConfigFactory.id()}
+ };
};
static QnxPluginPrivate *dd = nullptr;