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:
parent
a2489f4cc3
commit
f306ecebfe
|
@ -54,16 +54,13 @@ SOURCES = *.qml \
|
||||||
TRANSLATIONS += \
|
TRANSLATIONS += \
|
||||||
i18n/qml_en.ts \
|
i18n/qml_en.ts \
|
||||||
|
|
||||||
RESOURCES += \
|
|
||||||
imports/Constants.qml \
|
|
||||||
imports/Style.qml \
|
|
||||||
main.qml
|
|
||||||
|
|
||||||
OTHER_FILES += $$files("$$PWD/*.qml", true)
|
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
|
# Additional import path used to resolve QML modules in Qt Creator's code model
|
||||||
QML_IMPORT_PATH = $$PWD/imports \
|
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
|
# Additional import path used to resolve QML modules just for Qt Quick Designer
|
||||||
QML_DESIGNER_IMPORT_PATH = $$PWD/imports
|
QML_DESIGNER_IMPORT_PATH = $$PWD/imports
|
||||||
|
|
Loading…
Reference in New Issue