Skip to content
This repository was archived by the owner on Mar 4, 2023. It is now read-only.

Commit 5eb7d6f

Browse files
committed
fix translations install
1 parent 9f4dabf commit 5eb7d6f

File tree

6 files changed

+9
-4
lines changed

6 files changed

+9
-4
lines changed

src/mvvmcore/mvvmcore.pro

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ HEADERS += \
2222
settingssetuploader_p.h \
2323
settingsviewmodel_p.h \
2424
settingsviewmodel.h \
25-
injection.h
25+
injection.h
2626

2727
SOURCES += \
2828
viewmodel.cpp \
@@ -42,11 +42,11 @@ TRANSLATIONS += \
4242
DISTFILES += $$TRANSLATIONS \
4343
settings.xsd
4444

45+
load(qt_module)
46+
4547
qpmx_ts_target.path = $$[QT_INSTALL_TRANSLATIONS]
4648
qpmx_ts_target.depends += lrelease
4749

48-
load(qt_module)
49-
5050
FEATURES += ../../mkspecs/features/qsettingstranslator.prf
5151
features.files = $$FEATURES
5252
features.path = $$[QT_HOST_DATA]/mkspecs/features/
@@ -55,7 +55,7 @@ SCRIPTS += ../../bin/qsettingstranslator.py
5555
scripts.files = $$SCRIPTS
5656
scripts.path = $$[QT_INSTALL_BINS]
5757

58-
INSTALLS += features scripts
58+
INSTALLS += qpmx_ts_target features scripts
5959

6060
win32 {
6161
QMAKE_TARGET_PRODUCT = "$$TARGET"

src/mvvmdatasynccore/mvvmdatasynccore.pro

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ DISTFILES += $$TRANSLATIONS \
3434

3535
qpmx_ts_target.path = $$[QT_INSTALL_TRANSLATIONS]
3636
qpmx_ts_target.depends += lrelease
37+
INSTALLS += qpmx_ts_target
3738

3839
load(qt_module)
3940

src/mvvmdatasyncquick/mvvmdatasyncquick.pro

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ DISTFILES += $$TRANSLATIONS
1919

2020
qpmx_ts_target.path = $$[QT_INSTALL_TRANSLATIONS]
2121
qpmx_ts_target.depends += lrelease
22+
INSTALLS += qpmx_ts_target
2223

2324
load(qt_module)
2425

src/mvvmdatasyncwidgets/mvvmdatasyncwidgets.pro

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ DISTFILES += $$TRANSLATIONS
3838

3939
qpmx_ts_target.path = $$[QT_INSTALL_TRANSLATIONS]
4040
qpmx_ts_target.depends += lrelease
41+
INSTALLS += qpmx_ts_target
4142

4243
load(qt_module)
4344

src/mvvmquick/mvvmquick.pro

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ DISTFILES += $$TRANSLATIONS
2424

2525
qpmx_ts_target.path = $$[QT_INSTALL_TRANSLATIONS]
2626
qpmx_ts_target.depends += lrelease
27+
INSTALLS += qpmx_ts_target
2728

2829
load(qt_module)
2930

src/mvvmwidgets/mvvmwidgets.pro

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ DISTFILES += $$TRANSLATIONS
3535

3636
qpmx_ts_target.path = $$[QT_INSTALL_TRANSLATIONS]
3737
qpmx_ts_target.depends += lrelease
38+
INSTALLS += qpmx_ts_target
3839

3940
load(qt_module)
4041

0 commit comments

Comments
 (0)