qt5base-lts/tests/auto/corelib/io
Simon Hausmann be9a56e5e3 Make it easier to use resources in plugins when using static linking
RCC generates code that registers resources automatically on program
startup via global constructors. When linking statically and nothing
references the symbols in the .o file compiled from the RCC generated
code, then the linker will discard the embedded resources and they will
not get initialized. That is why for static linking it is necessary to
explicitly initialize resources using the Q_INIT_RESOURCE macro.

We can avoid the need for the explicit initialization in the context of
plugins that are statically linked into the application. resources.prf
can generate a .cpp file with a helper function that contains all the
Q_INIT_RESOURCE calls for all resources in the plugin. That helper
function in turn is injected into the plugin entry point, which in turn
is guaranteed to be included in the final binary.

Change-Id: If1abf9c85ef92935020af073b989c58c1ae6ca63
Reviewed-by: Olivier Goffart (Woboq GmbH) <ogoffart@woboq.com>
2018-04-23 13:56:07 +00:00
..
largefile Change almost all other uses of qrand() to QRandomGenerator 2017-11-08 09:14:03 +00:00
qabstractfileengine Filesystem: Use "birth time" to avoid confusion with Unix ctime 2017-08-05 16:41:38 +00:00
qbuffer Updated license headers 2016-01-21 18:55:18 +00:00
qdataurl Updated license headers 2016-01-21 18:55:18 +00:00
qdebug QDebug: add op<<(QStringView) 2017-03-24 20:43:03 +00:00
qdir tst_qdir: Fix absoluteFilePath for winrt 2018-04-16 05:23:17 +00:00
qdiriterator Support for Q_OS_ANDROID_EMBEDDED and android-embedded build flags 2018-01-20 18:16:59 +00:00
qfile Merge remote-tracking branch 'origin/5.9' into 5.11 2018-02-14 12:51:24 +01:00
qfileinfo Merge remote-tracking branch 'origin/5.9' into 5.11 2018-02-14 12:51:24 +01:00
qfileselector Remove duplicate qnx from the platform file selector names 2017-10-24 16:43:39 +00:00
qfilesystementry Updated license headers 2016-01-21 18:55:18 +00:00
qfilesystemmetadata Filesystem: Use "birth time" to avoid confusion with Unix ctime 2017-08-05 16:41:38 +00:00
qfilesystemwatcher Support for Q_OS_ANDROID_EMBEDDED and android-embedded build flags 2018-01-20 18:16:59 +00:00
qiodevice Merge remote-tracking branch 'origin/5.9' into 5.11 2018-02-14 12:51:24 +01:00
qipaddress QIpAddress: reject IPv6 addresses with more than 4 hex digits 2018-03-16 00:01:53 +00:00
qlockfile Merge remote-tracking branch 'origin/5.9' into 5.11 2018-02-14 12:51:24 +01:00
qloggingcategory Hide global qtlogging.ini from autotest 2018-04-05 05:40:07 +00:00
qloggingregistry Hide global qtlogging.ini from autotest 2018-04-05 05:40:07 +00:00
qnodebug QDate/Time: add toString(QStringView) overloads 2017-04-12 11:12:09 +00:00
qprocess Blacklist tst_QProcess::softExitInSlots on Windows 2018-03-23 07:11:04 +00:00
qprocess-noapplication macOS: Don't build auto-tests as application bundles unless explicitly requested 2016-10-23 10:39:56 +00:00
qprocessenvironment QtCore: Remove Windows CE. 2016-03-30 11:22:47 +00:00
qresourceengine Make it easier to use resources in plugins when using static linking 2018-04-23 13:56:07 +00:00
qsavefile Support Alternate Data Streams in QSaveFile 2017-08-04 17:30:13 +00:00
qsettings tst_qsettings: Check case sensitivity of actual settings file 2018-03-07 14:25:22 +00:00
qstandardpaths Blacklist tst_qstandardpaths::testFindExecutable for b2qt/arm64 2017-11-12 15:35:21 +00:00
qstorageinfo tst_qstorageinfo: Don't add extra newlines when printing volumes 2018-03-07 14:26:00 +00:00
qtemporarydir Merge remote-tracking branch 'origin/5.9' into 5.11 2018-02-14 12:51:24 +01:00
qtemporaryfile Merge remote-tracking branch 'origin/5.9' into 5.11 2018-02-14 12:51:24 +01:00
qurl Merge remote-tracking branch 'origin/5.9' into 5.10 2017-10-30 08:54:05 +01:00
qurlinternal QUrl: fix IDN conversion when the ACE form is invalid 2017-04-25 00:51:43 +00:00
qurlquery Updated license headers 2016-01-21 18:55:18 +00:00
io.pro Create corelib/serialization and move existing file formats into it 2018-01-26 20:59:50 +00:00