diff options
Diffstat (limited to 'src/plugins/python/pythonplugin.cpp')
| -rw-r--r-- | src/plugins/python/pythonplugin.cpp | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/plugins/python/pythonplugin.cpp b/src/plugins/python/pythonplugin.cpp index fdfc0095554..d74c45b7784 100644 --- a/src/plugins/python/pythonplugin.cpp +++ b/src/plugins/python/pythonplugin.cpp @@ -3,7 +3,8 @@ #include "pythonplugin.h" -#include "pysidebuildconfiguration.h" +#include "pythonbuildconfiguration.h" +#include "pythonconstants.h" #include "pythoneditor.h" #include "pythonkitaspect.h" #include "pythonproject.h" @@ -36,7 +37,7 @@ public: PythonOutputFormatterFactory outputFormatterFactory; PythonRunConfigurationFactory runConfigFactory; PySideBuildStepFactory buildStepFactory; - PySideBuildConfigurationFactory buildConfigFactory; + PythonBuildConfigurationFactory buildConfigFactory; SimpleTargetRunnerFactory runWorkerFactory{{runConfigFactory.runConfigurationId()}}; PythonSettings settings; PythonWizardPageFactory pythonWizardPageFactory; @@ -65,8 +66,8 @@ void PythonPlugin::initialize() KitManager::setIrrelevantAspects(KitManager::irrelevantAspects() + QSet<Id>{PythonKitAspect::id()}); - ProjectManager::registerProjectType<PythonProject>(PythonMimeType); - ProjectManager::registerProjectType<PythonProject>(PythonMimeTypeLegacy); + ProjectManager::registerProjectType<PythonProject>(Constants::C_PY_PROJECT_MIME_TYPE); + ProjectManager::registerProjectType<PythonProject>(Constants::C_PY_PROJECT_MIME_TYPE_LEGACY); } void PythonPlugin::extensionsInitialized() |
