aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLasse Liehu <lasse.liehu@gmail.com>2015-04-09 15:36:43 +0300
committerLasse Liehu <lasse.liehu@gmail.com>2015-04-09 15:36:43 +0300
commit90db6547801ec0f637799117ac494ca503f39362 (patch)
tree77d7d6ff53db16c905f42ec3959cb9c591d78f3b
parentac484a48afbcb9a6129ec4e93c2d4c2ab3e05969 (diff)
downloadextra-cmake-modules-90db6547801ec0f637799117ac494ca503f39362.tar.gz
extra-cmake-modules-90db6547801ec0f637799117ac494ca503f39362.tar.bz2
Do not call lrelease with -compress
According to Oswald Buddenhagen "it doesn't buy much, and there are some long-standing issues with it". Qt bug report: https://bugreports.qt.io/browse/QTBUG-44362 REVIEW: 122501
-rw-r--r--modules/ECMCreateQmFromPoFiles.cmake2
-rw-r--r--modules/ECMPoQmTools.cmake2
2 files changed, 2 insertions, 2 deletions
diff --git a/modules/ECMCreateQmFromPoFiles.cmake b/modules/ECMCreateQmFromPoFiles.cmake
index afd6f786..b4194723 100644
--- a/modules/ECMCreateQmFromPoFiles.cmake
+++ b/modules/ECMCreateQmFromPoFiles.cmake
@@ -145,7 +145,7 @@ function(_ECM_QM_CREATE_TARGET install_destination catalog_name)
COMMAND ${lconvert_executable}
ARGS -i ${it} -o ${tsfile} -target-language ${language}
COMMAND Qt5::lrelease
- ARGS -compress -removeidentical -silent ${tsfile} -qm ${qmfile}
+ ARGS -removeidentical -silent ${tsfile} -qm ${qmfile}
DEPENDS ${it}
)
install(
diff --git a/modules/ECMPoQmTools.cmake b/modules/ECMPoQmTools.cmake
index b25c1bbf..12bcf6b6 100644
--- a/modules/ECMPoQmTools.cmake
+++ b/modules/ECMPoQmTools.cmake
@@ -155,7 +155,7 @@ function(ecm_process_po_files_as_qm lang)
COMMAND ${lconvert_executable}
ARGS -i ${po_file} -o ${ts_file} -target-language ${lang}
COMMAND Qt5::lrelease
- ARGS -compress -removeidentical -silent ${ts_file} -qm ${qm_file}
+ ARGS -removeidentical -silent ${ts_file} -qm ${qm_file}
DEPENDS ${po_file}
)
if (ARGS_INSTALL_DESTINATION)