chore(config): config adjusted to see qmldir files in QtCreator

This commit is contained in:
Michał Cieślak 2022-12-20 00:56:31 +01:00 committed by Michał
parent 17aaec2d53
commit a1202b0896
1 changed files with 3 additions and 0 deletions

View File

@ -13,6 +13,7 @@ DEFINES += QT_DEPRECATED_WARNINGS
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0
lupdate_only{
SOURCES += $$files("$$PWD/*qmldir", true)
SOURCES += $$files("$$PWD/*.qml", true)
SOURCES += $$files("$$PWD/*.js", true)
}
@ -22,6 +23,8 @@ TRANSLATIONS += \
i18n/qml_base.ts \
i18n/qml_en.ts \
OTHER_FILES += $$files("$$PWD/*qmldir", true)
OTHER_FILES += $$files("$$PWD/*.qml", true)
OTHER_FILES += $$files("$$PWD/*.js", true)
OTHER_FILES += $$files("$$PWD/../src/*.nim", true)