qt5base-lts/tests/auto/corelib/global
Volker Krause d953d9a4c3 Add a more reliable replacement for qt_add/removeObject().
These hooks only worked reliably with LD_PRELOAD on Linux/GCC, on other
platforms they depended on what exactly the compiler optimizer is doing
as well as some nasty assembler rewriting to actually access them. The
new system uses a simple array of function pointers that can be set to
custom hooks by tools that need this (based on ideas from Andre Poenitz).

This also covers qt_startup_hook (similar problem), and the Qt version
number that Andre had asked for.

Change-Id: I2c3e7950fd49b1b1d04176be34c2fff3293981b0
Reviewed-by: Stephen Kelly <stephen.kelly@kdab.com>
Reviewed-by: Giuseppe D'Angelo <giuseppe.dangelo@kdab.com>
Reviewed-by: Olivier Goffart <ogoffart@woboq.com>
2014-04-15 17:50:20 +02:00
..
q_func_info Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
qflags tst_QFlags: make constExpr() check compile on clang trunk 2013-11-07 03:06:29 +01:00
qgetputenv Add qunsetenv(), next to qputenv() and friends. 2013-02-07 01:22:40 +01:00
qglobal support c'tor as second parameter in foreach macro 2014-02-11 13:28:35 +01:00
qglobalstatic Fix Q_GLOBAL_STATIC support for exceptions 2013-02-28 23:43:46 +01:00
qhooks Add a more reliable replacement for qt_add/removeObject(). 2014-04-15 17:50:20 +02:00
qlogging Remove trailing space from QDebug stream 2013-12-06 13:33:10 +01:00
qnumeric Mark some tests as XFAIL on QNX 2014-03-27 08:21:14 +01:00
qrand Whitespace cleanup: remove trailing whitespace 2013-03-16 20:22:50 +01:00
qtendian Turn off compiler optimization in tst_qtendian for MSVC2008. 2014-03-04 11:29:30 +01:00
global.pro Add a more reliable replacement for qt_add/removeObject(). 2014-04-15 17:50:20 +02:00