summaryrefslogtreecommitdiff
path: root/src/plugins/python/pythonplugin.cpp
diff options
context:
space:
mode:
authorChristian Stenger <christian.stenger@qt.io>2023-03-22 10:05:10 +0100
committerChristian Stenger <christian.stenger@qt.io>2023-03-22 12:18:39 +0000
commit7014376aaaafad1c17d2bfc265eb419aeb7c8f04 (patch)
tree5a2db6e0e42ac57ff79f4d4c5fa97a39d7bb7c5b /src/plugins/python/pythonplugin.cpp
parent6079b7b37849205858aa218a580719fc6ca26166 (diff)
downloadqt-creator-7014376aaaafad1c17d2bfc265eb419aeb7c8f04.tar.gz
Python: Tweak handling of python project files
Improves the handling of the preferred python project file (*.pyproject) and makes use of the json support. Change-Id: I24d6e2c1d10899efacec0fc9b03660bb8f25dfe7 Reviewed-by: David Schulz <david.schulz@qt.io>
Diffstat (limited to 'src/plugins/python/pythonplugin.cpp')
-rw-r--r--src/plugins/python/pythonplugin.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/python/pythonplugin.cpp b/src/plugins/python/pythonplugin.cpp
index 4728da37ae..7eefbc5d4b 100644
--- a/src/plugins/python/pythonplugin.cpp
+++ b/src/plugins/python/pythonplugin.cpp
@@ -59,6 +59,7 @@ void PythonPlugin::initialize()
d = new PythonPluginPrivate;
ProjectManager::registerProjectType<PythonProject>(PythonMimeType);
+ ProjectManager::registerProjectType<PythonProject>(PythonMimeTypeLegacy);
JsonWizardFactory::registerPageFactory(new PythonWizardPageFactory);
}