aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/python/pythonplugin.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/python/pythonplugin.cpp')
-rw-r--r--src/plugins/python/pythonplugin.cpp15
1 files changed, 5 insertions, 10 deletions
diff --git a/src/plugins/python/pythonplugin.cpp b/src/plugins/python/pythonplugin.cpp
index 3bc19a8725b..3cbbe817f9d 100644
--- a/src/plugins/python/pythonplugin.cpp
+++ b/src/plugins/python/pythonplugin.cpp
@@ -6,17 +6,17 @@
#include "pysidebuildconfiguration.h"
#include "pythoneditor.h"
#include "pythonproject.h"
-#include "pythonsettings.h"
#include "pythonrunconfiguration.h"
+#include "pythonsettings.h"
+#include "pythonwizardpage.h"
#include <projectexplorer/buildtargetinfo.h>
-#include <projectexplorer/localenvironmentaspect.h>
+#include <projectexplorer/jsonwizard/jsonwizardfactory.h>
#include <projectexplorer/projectexplorerconstants.h>
#include <projectexplorer/projectmanager.h>
#include <projectexplorer/taskhub.h>
#include <utils/fsengine/fileiconprovider.h>
-#include <utils/futuresynchronizer.h>
#include <utils/theme/theme.h>
using namespace ProjectExplorer;
@@ -36,7 +36,6 @@ public:
PySideBuildConfigurationFactory buildConfigFactory;
SimpleTargetRunnerFactory runWorkerFactory{{runConfigFactory.runConfigurationId()}};
PythonSettings settings;
- FutureSynchronizer m_futureSynchronizer;
};
PythonPlugin::PythonPlugin()
@@ -55,17 +54,13 @@ PythonPlugin *PythonPlugin::instance()
return m_instance;
}
-FutureSynchronizer *PythonPlugin::futureSynchronizer()
-{
- QTC_ASSERT(m_instance, return nullptr);
- return &m_instance->d->m_futureSynchronizer;
-}
-
void PythonPlugin::initialize()
{
d = new PythonPluginPrivate;
ProjectManager::registerProjectType<PythonProject>(PythonMimeType);
+ ProjectManager::registerProjectType<PythonProject>(PythonMimeTypeLegacy);
+ JsonWizardFactory::registerPageFactory(new PythonWizardPageFactory);
}
void PythonPlugin::extensionsInitialized()