Hi, I did some searching - the -compress switch to lrelease apparently has issues - don't use it! It may be removed later on anyway.
If you need to save space there are a couple of other things you can do: 1) CONFIG+=release to use the stripped Qt libraries 2) strip your binaries 3) check you aren't using any unnecessary libraries, strip those you need to have 4) only copy the plugins that you really need (e.g. the qminimal plugin is only needed for tests without GUI) 5) check you aren't using any unnecessary resources - some may be smaller if you use a different format (e.g. svg is usually smaller than rendered pictures) Note: there is no need to compress resources with zip, gzip or similar programs - they are compressed with deflate (gzip-like) when the resource file is compiled. For pictures it depends on the content whether jpeg or png is more efficient - esp. after resource compression. 6) you may be able to save significant amounts of space if you compile Qt and its dependencies yourself - e.g. ICU can be reduced significantly if you remove locales 7) as a last resort you can compress translation files with qCompress and use the QTranslator::load overload that takes raw data http://doc.qt.io/qt-5/qbytearray.html#qCompress Konrad
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest