summaryrefslogtreecommitdiff
path: root/src/plugins/python/pythonplugin.cpp
diff options
context:
space:
mode:
authorDavid Schulz <david.schulz@qt.io>2023-03-07 13:00:44 +0100
committerDavid Schulz <david.schulz@qt.io>2023-03-14 05:44:46 +0000
commit1811c3149057df42e70e71bf8ad4fdeab75fdd66 (patch)
treede1a1a35193701fbb3f2277f2972944fefa6be49 /src/plugins/python/pythonplugin.cpp
parent169b4110400e3b20fb2e87a5795d5b3964ff3887 (diff)
downloadqt-creator-1811c3149057df42e70e71bf8ad4fdeab75fdd66.tar.gz
Python: add interpreter selector to the python project wizard
Change-Id: I7ea1df34fa0096a84a0d611b401f991508c826c1 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Diffstat (limited to 'src/plugins/python/pythonplugin.cpp')
-rw-r--r--src/plugins/python/pythonplugin.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/plugins/python/pythonplugin.cpp b/src/plugins/python/pythonplugin.cpp
index dff3c0cb22..4728da37ae 100644
--- a/src/plugins/python/pythonplugin.cpp
+++ b/src/plugins/python/pythonplugin.cpp
@@ -6,10 +6,12 @@
#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/jsonwizard/jsonwizardfactory.h>
#include <projectexplorer/localenvironmentaspect.h>
#include <projectexplorer/projectexplorerconstants.h>
#include <projectexplorer/projectmanager.h>
@@ -57,6 +59,7 @@ void PythonPlugin::initialize()
d = new PythonPluginPrivate;
ProjectManager::registerProjectType<PythonProject>(PythonMimeType);
+ JsonWizardFactory::registerPageFactory(new PythonWizardPageFactory);
}
void PythonPlugin::extensionsInitialized()