File tree Expand file tree Collapse file tree 2 files changed +14
-14
lines changed
Expand file tree Collapse file tree 2 files changed +14
-14
lines changed Original file line number Diff line number Diff line change @@ -11,8 +11,6 @@ win32 {
1111 LIBS += -lutil
1212}
1313
14- include (./translations/translations.pri )
15-
1614HEADERS += \
1715 updatebutton_p.h \
1816 updatebutton.h \
@@ -41,6 +39,12 @@ FORMS += \
4139RESOURCES += \
4240 autoupdatergui_resource.qrc
4341
42+ TRANSLATIONS += translations/qtautoupdatergui_de.ts \
43+ translations/qtautoupdatergui_es.ts \
44+ translations/qtautoupdatergui_template.ts
45+
46+ DISTFILES += $$TRANSLATIONS
47+
4448load(qt_module)
4549
4650win32 {
@@ -51,5 +55,13 @@ win32 {
5155 QMAKE_TARGET_BUNDLE_PREFIX = " de.skycoder42."
5256}
5357
58+ qpmx_ts_target.path = $$[QT_INSTALL_TRANSLATIONS ]
59+ qpmx_ts_target.depends += lrelease
60+ INSTALLS += qpmx_ts_target
61+
5462!ReleaseBuild:!DebugBuild:!system (qpmx -d $$shell_quote($$_PRO_FILE_PWD_ ) --qmake-run init $$QPMX_EXTRA_OPTIONS $$shell_quote($$QMAKE_QMAKE ) $$shell_quote($$OUT_PWD)): error (qpmx initialization failed. Check the compilation log for details. )
5563else: include ($$OUT_PWD/qpmx_generated.pri )
64+
65+ # replace template qm by ts
66+ qpmx_ts_target.files -= $$OUT_PWD / $$QPMX_WORKINGDIR /qtbackgroundprocess_template.qm
67+ qpmx_ts_target.files += translations/qtbackgroundprocess_template.ts
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments