diff options
Diffstat (limited to 'src/plugins/python/pythonplugin.cpp')
| -rw-r--r-- | src/plugins/python/pythonplugin.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/plugins/python/pythonplugin.cpp b/src/plugins/python/pythonplugin.cpp index a7e8cc3c747..fdfc0095554 100644 --- a/src/plugins/python/pythonplugin.cpp +++ b/src/plugins/python/pythonplugin.cpp @@ -5,6 +5,7 @@ #include "pysidebuildconfiguration.h" #include "pythoneditor.h" +#include "pythonkitaspect.h" #include "pythonproject.h" #include "pythonrunconfiguration.h" #include "pythonsettings.h" @@ -13,6 +14,7 @@ #include <projectexplorer/buildtargetinfo.h> #include <projectexplorer/jsonwizard/jsonwizardfactory.h> +#include <projectexplorer/kitmanager.h> #include <projectexplorer/projectexplorerconstants.h> #include <projectexplorer/projectmanager.h> #include <projectexplorer/taskhub.h> @@ -60,6 +62,9 @@ void PythonPlugin::initialize() { d = new PythonPluginPrivate; + KitManager::setIrrelevantAspects(KitManager::irrelevantAspects() + + QSet<Id>{PythonKitAspect::id()}); + ProjectManager::registerProjectType<PythonProject>(PythonMimeType); ProjectManager::registerProjectType<PythonProject>(PythonMimeTypeLegacy); } |
