qt5base-lts/tests/auto/corelib/io/qresourceengine
Thiago Macieira 0d4dea728f MIME: Make the internal database direct content, not a Qt resource
This saves us from having to bootstrap rcc in regular (non-cross)
compilations, as it can now link to QtCore. Actually un-bootstrapping
rcc is left as an exercise for the reader.

This commit discovered that MSVC cannot handle constexpr arrays bigger
than 256 kB, at which point it simply starts claiming that the constant
expressions using it are not constexpr. ICC has a similar problem at
64 kB, but it tells you why ("note: type "const unsigned char [65537]"
too large for constant-expression evaluation").

Note also that this requires gzip or zstd to be in PATH for compression
to happen. RCC linked to zlib, which is always present due to the
bundled copy. gzip's presence is not likely to be a problem on Unix
systems, but could be for Windows users, especially MSVC ones. If gzip
is not present, QtCore's size will increase by about 1910 kB of
read-only (sharable) data.

Change-Id: I2b1955a995ad40f3b89afffd15a3e65a94670242
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
2019-12-10 15:56:09 -08:00
..
staticplugin Make it easier to use resources in plugins when using static linking 2018-04-23 13:56:07 +00:00
testqrc tst_QResourceEngine: store the actual byte contents that we expect 2018-11-19 09:09:20 +00:00
.gitattributes tst_QResourceEngine: store the actual byte contents that we expect 2018-11-19 09:09:20 +00:00
.gitignore Update .gitignore for tests/auto/corelib/io/qresourceengine 2011-12-12 12:51:02 +01:00
android_testdata.qrc Android: Fix QResourceEngine tests 2014-12-19 16:00:41 +01:00
parentdir.txt Moving relevant tests to corelib/io 2011-08-31 10:08:38 +02:00
qresourceengine_test.pro Disable debug-and-release builds for MinGW 2019-09-18 06:28:16 +00:00
qresourceengine.pro tst_qresourceengine: Fix test for configurations with builtin_testdata 2018-05-07 07:59:37 +00:00
tst_qresourceengine.cpp MIME: Make the internal database direct content, not a Qt resource 2019-12-10 15:56:09 -08:00