fix(QtC): QtCreator fixes

- display our own JS files in the Project tree as well
- help QtC detect some more module imports
- QML files are not resources, don't confuse QtC with them
This commit is contained in:
Lukáš Tinkl 2022-07-05 09:17:05 +02:00 committed by Lukáš Tinkl
parent a2489f4cc3
commit f306ecebfe
1 changed files with 3 additions and 6 deletions

View File

@ -54,16 +54,13 @@ SOURCES = *.qml \
TRANSLATIONS += \
i18n/qml_en.ts \
RESOURCES += \
imports/Constants.qml \
imports/Style.qml \
main.qml
OTHER_FILES += $$files("$$PWD/*.qml", true)
OTHER_FILES += $$files("$$PWD/*.js", true)
# Additional import path used to resolve QML modules in Qt Creator's code model
QML_IMPORT_PATH = $$PWD/imports \
$$PWD/StatusQ/src
$$PWD/StatusQ/src \
$$PWD/app
# Additional import path used to resolve QML modules just for Qt Quick Designer
QML_DESIGNER_IMPORT_PATH = $$PWD/imports