summaryrefslogtreecommitdiffstats
path: root/src/sdk/sdk.pro
diff options
context:
space:
mode:
Diffstat (limited to 'src/sdk/sdk.pro')
-rw-r--r--src/sdk/sdk.pro6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/sdk/sdk.pro b/src/sdk/sdk.pro
index 75e714ee4..90becf933 100644
--- a/src/sdk/sdk.pro
+++ b/src/sdk/sdk.pro
@@ -23,6 +23,7 @@ DESTDIR = $$IFW_APP_PATH
exists($$LRELEASE) {
IB_TRANSLATIONS = $$files($$PWD/translations/??.ts) $$files($$PWD/translations/??_??.ts)
+ IB_TRANSLATIONS -= $$PWD/translations/en.ts
wd = $$toNativeSeparators($$IFW_SOURCE_TREE)
sources = src
@@ -55,6 +56,11 @@ exists($$LRELEASE) {
}
QMAKE_EXTRA_TARGETS += commit-ts
+ empty_ts = "<TS></TS>"
+ write_file($$OUT_PWD/translations/en.ts, empty_ts)|error("Aborting.")
+ IB_TRANSLATIONS += $$OUT_PWD/translations/en.ts
+ QMAKE_DISTCLEAN += translations/en.ts
+
qrc_cont = \
"<RCC>" \
" <qresource prefix=\"/\">"