diff options
author | Christian Stenger <christian.stenger@qt.io> | 2023-03-22 10:05:10 +0100 |
---|---|---|
committer | Christian Stenger <christian.stenger@qt.io> | 2023-03-22 12:18:39 +0000 |
commit | 7014376aaaafad1c17d2bfc265eb419aeb7c8f04 (patch) | |
tree | 5a2db6e0e42ac57ff79f4d4c5fa97a39d7bb7c5b /src/plugins/python/pythonplugin.cpp | |
parent | 6079b7b37849205858aa218a580719fc6ca26166 (diff) | |
download | qt-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.cpp | 1 |
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); } |