2022-12-08 14:00:51 +08:00
|
|
|
TEMPLATE = subdirs
|
|
|
|
|
|
|
|
CONFIG += ordered \
|
|
|
|
qt
|
|
|
|
|
|
|
|
SUBDIRS = \
|
|
|
|
plugins/plugin.pro \
|
|
|
|
src \
|
|
|
|
|
|
|
|
TRANSLATIONS += \
|
|
|
|
translations/kylin-nm_zh_CN.ts \
|
|
|
|
translations/kylin-nm_tr.ts \
|
|
|
|
translations/kylin-nm_bo.ts \
|
|
|
|
translations/kylin-nm_bo_CN.ts
|
2023-03-08 11:06:06 +08:00
|
|
|
|
|
|
|
CONFIG(release, debug|release) {
|
|
|
|
!system($$PWD/translate_generation.sh): error("Failed to generate translation")
|
|
|
|
}
|
|
|
|
|
|
|
|
qm_files.path = $${PREFIX}/share/kylin-nm/kylin-nm/
|
|
|
|
qm_files.files = translations/*.qm
|
|
|
|
|
|
|
|
INSTALLS += qm_files \
|