diff options
| author | Eike Ziller <eike.ziller@qt.io> | 2019-10-23 12:59:45 +0200 |
|---|---|---|
| committer | Eike Ziller <eike.ziller@qt.io> | 2019-10-23 11:12:58 +0000 |
| commit | 126fe0fa0b58e3d70ca1109336f784d5659c846f (patch) | |
| tree | e3e709a002e17af626191858e5ceeb628f2f1749 /plugins/haskell/haskellrunconfiguration.h | |
| parent | 160059525a52aa43e6ef694dec8a65691d35bd75 (diff) | |
Adapt to changes in Qt Creator 4.11
Change-Id: Ife586f245ffb60626372701e649b8f1df9e5aea5
Reviewed-by: hjk <hjk@qt.io>
Diffstat (limited to 'plugins/haskell/haskellrunconfiguration.h')
| -rw-r--r-- | plugins/haskell/haskellrunconfiguration.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/plugins/haskell/haskellrunconfiguration.h b/plugins/haskell/haskellrunconfiguration.h index 62bbd3d..529544e 100644 --- a/plugins/haskell/haskellrunconfiguration.h +++ b/plugins/haskell/haskellrunconfiguration.h @@ -25,6 +25,8 @@ #pragma once +#include "haskellconstants.h" + #include <projectexplorer/runconfigurationaspects.h> #include <projectexplorer/runcontrol.h> @@ -49,9 +51,11 @@ public: HaskellRunConfigurationFactory(); private: - ProjectExplorer::SimpleRunWorkerFactory<ProjectExplorer::SimpleTargetRunner, - HaskellRunConfiguration> - runWorkerFactory; + ProjectExplorer::RunWorkerFactory runWorkerFactory{ + ProjectExplorer::RunWorkerFactory::make<ProjectExplorer::SimpleTargetRunner>(), + {ProjectExplorer::Constants::NORMAL_RUN_MODE}, + {Constants::C_HASKELL_RUNCONFIG_ID}, + {ProjectExplorer::Constants::DESKTOP_DEVICE_TYPE}}; }; class HaskellExecutableAspect : public ProjectExplorer::BaseStringAspect |
