diff options
author | Kai Koehne <kai.koehne@theqtcompany.com> | 2015-11-11 11:08:39 +0100 |
---|---|---|
committer | Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com> | 2015-11-13 10:51:22 +0000 |
commit | 2d9a8c83893be4abde136ec87fc3db220ce8a0a5 (patch) | |
tree | 53a61775c5cc334e5012885310bd49fc74b71660 /translations | |
parent | eac94f16918bd54920652088a59dd2092a26a4b6 (diff) | |
download | qttranslations-2d9a8c83893be4abde136ec87fc3db220ce8a0a5.tar.gz |
Fix install rules for generated _en.ts filesv5.6.0-beta1
Commit aabb833032fa44c7 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: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
Reviewed-by: Andy Shaw <andy.shaw@theqtcompany.com>
Diffstat (limited to 'translations')
-rw-r--r-- | translations/translations.pro | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/translations/translations.pro b/translations/translations.pro index 260f900..e78d9c9 100644 --- a/translations/translations.pro +++ b/translations/translations.pro @@ -122,6 +122,7 @@ TRANSLATIONS = $$files(*.ts) translations.path = $$[QT_INSTALL_TRANSLATIONS] translations.files = $$TRANSLATIONS translations.files ~= s,\\.ts$,.qm,g +translations.files ~= s,^$$re_escape($$OUT_PWD),,g translations.files ~= s,^,$$MODULE_BASE_OUTDIR/translations/,g translations.CONFIG += no_check_exist INSTALLS += translations |