qt5base-lts/tests/auto
hjk 5395180fcb Make RCC handle bigger binaries
Traditionally, RCC in "C mode" was meant to bundle small resources into
a binary, like help texts or an occasional icon. RCC produces a .cpp
file containing the actual data in a char array which is then passed
to the compiler and linker as a normal source file. Larger resources
should be compiled in RCC's binary mode and loaded at run time.

Current Qt Quick use tries to deploy large hunks of data in "C mode",
causing heavy compiler/system load.

This patch works around the issue by splitting the process into
three parts:

1. Create a C++ skeleton, as usual, but use a placeholder array
   with "easily compilable" (mostly NULs) data instead.
2. Compile the skeleton file.
3. Replace the placeholder data with the real binary data.

time (qmake5 ; make clean ; make) takes 1.3 s real time for a
100 MB resource here, and there is still room for improving patching
performance if really needed.

Change-Id: I10a1645fd86a95a7d5663c89e19b05cb3b43ed1b
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
Reviewed-by: Kai Koehne <kai.koehne@digia.com>
2014-06-06 15:41:00 +02:00
..
android Android: Add some ci usage features to Android testrunner 2014-04-09 10:46:40 +02:00
bic/data
cmake purge vestiges of opengl es 1 support 2014-04-04 19:32:21 +02:00
compilerwarnings/data
concurrent Add diagnostic output to tst_QtConcurrentIterateKernel. 2014-04-09 10:43:32 +02:00
corelib QSaveFile: error out in open when the file is a directory 2014-06-04 12:25:02 +02:00
dbus Fix dangling pointer dereferencing 2014-05-09 03:39:34 +02:00
gui Make the ICO image handler capable of reading CUR files too. 2014-06-05 19:10:58 +02:00
guiapplauncher
installed_cmake
network Merge remote-tracking branch 'origin/stable' into dev 2014-05-22 07:46:17 +02:00
opengl Merge remote-tracking branch 'origin/stable' into dev 2014-05-06 16:50:03 +02:00
other Accessibility: Fix select state usage 2014-05-31 17:12:58 +02:00
printsupport QPrinter - Expect failure of QPrinter page size test 2014-03-17 13:46:29 +01:00
shared iOS: Fix compilation of some basic tests 2014-01-17 11:04:43 +01:00
sql Use sched_yield instead of pthread_yield 2014-05-05 22:40:49 +02:00
testlib Merge remote-tracking branch 'origin/stable' into dev 2014-05-22 07:46:17 +02:00
tools Make RCC handle bigger binaries 2014-06-06 15:41:00 +02:00
widgets Merge remote-tracking branch 'origin/stable' into dev 2014-05-22 07:46:17 +02:00
xml Speed up tst_QXmlSimpleReader. 2014-05-08 16:06:11 +02:00
auto.pro iOS: Enable building of basic tests 2014-01-22 12:35:17 +01:00
network-settings.h
qtest-config.h
test.pl