From d953d9a4c3bdc5ed3b8d380c4b893b51b523bc50 Mon Sep 17 00:00:00 2001 From: Volker Krause Date: Tue, 15 Apr 2014 13:11:40 +0200 Subject: 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 Reviewed-by: Giuseppe D'Angelo Reviewed-by: Olivier Goffart --- tests/auto/corelib/global/global.pro | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/auto/corelib/global/global.pro') diff --git a/tests/auto/corelib/global/global.pro b/tests/auto/corelib/global/global.pro index c05905bd15..219e9de818 100644 --- a/tests/auto/corelib/global/global.pro +++ b/tests/auto/corelib/global/global.pro @@ -9,4 +9,4 @@ SUBDIRS=\ qlogging \ qtendian \ qglobalstatic \ - + qhooks -- cgit v1.2.3