2021-08-09 17:13:04 +08:00
|
|
|
TEMPLATE = subdirs
|
2019-10-31 09:56:53 +08:00
|
|
|
|
2023-04-10 15:50:59 +08:00
|
|
|
CONFIG += \
|
|
|
|
ordered \
|
|
|
|
qt
|
2019-10-31 09:56:53 +08:00
|
|
|
|
2021-08-09 17:13:04 +08:00
|
|
|
SUBDIRS = \
|
2023-04-10 15:50:59 +08:00
|
|
|
plugins/plugin.pro \
|
|
|
|
src-vpn/src-vpn.pro \
|
|
|
|
src
|
2019-10-31 09:56:53 +08:00
|
|
|
|
2021-08-09 17:13:04 +08:00
|
|
|
TRANSLATIONS += \
|
2021-09-24 15:52:51 +08:00
|
|
|
translations/kylin-nm_zh_CN.ts \
|
2021-08-09 17:13:04 +08:00
|
|
|
translations/kylin-nm_tr.ts \
|
2022-06-23 20:47:51 +08:00
|
|
|
translations/kylin-nm_bo.ts \
|
|
|
|
translations/kylin-nm_bo_CN.ts
|
2023-04-06 14:09:59 +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 \
|