2020-05-11 19:53:44 +00:00
|
|
|
QT += quick
|
2020-09-22 19:16:44 +00:00
|
|
|
QT += webchannel
|
2020-05-11 19:53:44 +00:00
|
|
|
|
|
|
|
# The following define makes your compiler emit warnings if you use
|
|
|
|
# any Qt feature that has been marked deprecated (the exact warnings
|
|
|
|
# depend on your compiler). Refer to the documentation for the
|
|
|
|
# deprecated API to know how to port your code away from it.
|
|
|
|
DEFINES += QT_DEPRECATED_WARNINGS
|
|
|
|
|
|
|
|
# You can also make your code fail to compile if it uses deprecated APIs.
|
|
|
|
# In order to do so, uncomment the following line.
|
|
|
|
# You can also select to disable deprecated APIs only up to a certain version of Qt.
|
|
|
|
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0
|
|
|
|
|
2020-06-18 20:11:12 +00:00
|
|
|
lupdate_only{
|
2022-12-19 23:56:31 +00:00
|
|
|
SOURCES += $$files("$$PWD/*qmldir", true)
|
2022-07-21 14:13:51 +00:00
|
|
|
SOURCES += $$files("$$PWD/*.qml", true)
|
|
|
|
SOURCES += $$files("$$PWD/*.js", true)
|
2023-01-04 16:05:07 +00:00
|
|
|
SOURCES += $$files("$$PWD/../monitoring/*.qml", true)
|
2024-07-11 11:27:05 +00:00
|
|
|
SOURCES += $$files("$$PWD/../*.md", false)
|
2020-06-18 20:11:12 +00:00
|
|
|
}
|
2020-05-11 19:53:44 +00:00
|
|
|
|
2022-06-09 15:06:15 +00:00
|
|
|
# Other *.ts files will be provided by Lokalise platform
|
2020-07-07 19:25:20 +00:00
|
|
|
TRANSLATIONS += \
|
2022-10-18 21:59:46 +00:00
|
|
|
i18n/qml_base.ts \
|
2020-07-08 16:56:51 +00:00
|
|
|
i18n/qml_en.ts \
|
2020-06-18 20:55:01 +00:00
|
|
|
|
2022-12-19 23:56:31 +00:00
|
|
|
|
|
|
|
OTHER_FILES += $$files("$$PWD/*qmldir", true)
|
2021-10-18 11:11:11 +00:00
|
|
|
OTHER_FILES += $$files("$$PWD/*.qml", true)
|
2022-07-05 07:17:05 +00:00
|
|
|
OTHER_FILES += $$files("$$PWD/*.js", true)
|
2022-08-17 12:44:53 +00:00
|
|
|
OTHER_FILES += $$files("$$PWD/../src/*.nim", true)
|
2023-01-04 16:05:07 +00:00
|
|
|
OTHER_FILES += $$files("$$PWD/../monitoring/*.qml", true)
|
2021-10-18 11:11:11 +00:00
|
|
|
|
2020-05-11 19:53:44 +00:00
|
|
|
# Additional import path used to resolve QML modules in Qt Creator's code model
|
2021-10-18 08:03:39 +00:00
|
|
|
QML_IMPORT_PATH = $$PWD/imports \
|
2022-07-05 07:17:05 +00:00
|
|
|
$$PWD/StatusQ/src \
|
|
|
|
$$PWD/app
|
2020-05-11 19:53:44 +00:00
|
|
|
|
|
|
|
# Additional import path used to resolve QML modules just for Qt Quick Designer
|
|
|
|
QML_DESIGNER_IMPORT_PATH = $$PWD/imports
|
|
|
|
|
|
|
|
# Default rules for deployment.
|
|
|
|
qnx: target.path = /tmp/$${TARGET}/bin
|
|
|
|
else: unix:!android: target.path = /opt/$${TARGET}/bin
|
|
|
|
!isEmpty(target.path): INSTALLS += target
|
|
|
|
|
2021-09-02 07:59:11 +00:00
|
|
|
RESOURCES += resources.qrc
|