qt5base-lts/tests/auto/tools/rcc
Thiago Macieira d20c980576 Resources: reject compressed content we can't decompress
This solution is composed of two features:

1) C++ code generated by RCC uses two symbols exported from QtCore that
are only present if the feature was compiled in. If the feature was not
compiled in, this will cause a linker error either at build time or at
load time (if they were functions, the error could be at runtime).

2) Binary files generated by RCC have a new header field containing
flags. We're currently using two flags, one for Zlib and one for
Zstandard.

This means we now have binary RCC format version 3.

Change-Id: I42a48bd64ccc41aebf84fffd156545fb6a4f72d9
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io>
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
2018-12-12 16:36:09 +00:00
..
data Resources: reject compressed content we can't decompress 2018-12-12 16:36:09 +00:00
.gitignore Remove usage of QtXml from rcc, add test 2012-03-08 09:59:31 +01:00
rcc.pro rcc: Add some tests 2018-08-24 08:25:42 +00:00
tst_rcc.cpp Resources: reject compressed content we can't decompress 2018-12-12 16:36:09 +00:00