Commit 2d9a8c83 authored by Kai Koehne's avatar Kai Koehne Committed by Oswald Buddenhagen
Browse files

Fix install rules for generated _en.ts files

Commit aabb8330

 introduced _en.ts files that are auto-generated
in the build directory. However, $$files() in this case returns
absolute paths, which the text substition rules later on adds again.

Fix this by first removing the absolute path.

Task-number: QTBUG-49337
Change-Id: I245010121893e58145e43593b50a4e8209740ff0
Reviewed-by: default avatarOswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
Reviewed-by: default avatarAndy Shaw <andy.shaw@theqtcompany.com>
Showing with 1 addition and 0 deletions
...@@ -122,6 +122,7 @@ TRANSLATIONS = $$files(*.ts) ...@@ -122,6 +122,7 @@ TRANSLATIONS = $$files(*.ts)
translations.path = $$[QT_INSTALL_TRANSLATIONS] translations.path = $$[QT_INSTALL_TRANSLATIONS]
translations.files = $$TRANSLATIONS translations.files = $$TRANSLATIONS
translations.files ~= s,\\.ts$,.qm,g translations.files ~= s,\\.ts$,.qm,g
translations.files ~= s,^$$re_escape($$OUT_PWD),,g
translations.files ~= s,^,$$MODULE_BASE_OUTDIR/translations/,g translations.files ~= s,^,$$MODULE_BASE_OUTDIR/translations/,g
translations.CONFIG += no_check_exist translations.CONFIG += no_check_exist
INSTALLS += translations INSTALLS += translations
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment