P3: Somewhat important
Qt Creator 4.12.0-beta1
Qt Creator on all major desktop platforms (Linux, macOS and Windows).
DISCLAIMER: I contributed to Qt in the past and I'm willing to contribute this feature too. This issue is created in order to ask Qt Creator developers to confirm that proposed feature will be accepted (merged into master) and to ask if there is any additional info that I should be aware of before starting to implement this feature.
Additional import paths in Qt Creator are added using various project settings:
- for qmake and CMake projects - QML_IMPORT_PATH variable;
- for qmlproject projects - importPaths property;
- for qbs projects - qmlImportPaths property;
But there is no such option for Python/PySide2/PyQt5 projects *.pyproject.
Users should be able to add custom QML import paths for Python/PySide2/PyQt5 projects in Qt Creator in order to get syntax highlighting and code completion for custom QML modules.
In *.pyproject file add support for qmlImportPaths and qmlPluginPaths properties. Each of those properties should represent an array of custom QML import paths and plugin paths respectively.
Improves UX for Python/PySide2/PyQt5 projects development in Qt Creator.
DoD (Definition of Done):
Users are able to get syntax highlighting and code completion for custom QML modules by adding qmlImportPaths and qmlPluginPaths options in *.pyproject file.