diff options
author | Stefan Gehn <stefan@froglogic.com> | 2013-01-09 17:17:35 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-03-18 17:11:04 +0100 |
commit | 374fc337ae03b44903768c18eb3f16c0e5451f81 (patch) | |
tree | 2923ee072448e624de5117bc7d6280b6dbd77c41 /src | |
parent | 3ea49a1f8e17900f321edd4c35d7d19bb5aabbc9 (diff) |
Add dynlist file for QtGui
Similar to QtWidgets ensure that QGuiApplication::notify() is always
called via its exported symbols. This is needed to allow overloading it
via LD_PRELOAD or other means.
Change-Id: I84d0176b984c5fdf9b199127e08fcfa93dbc853f
Reviewed-by: Harri Porten <porten@froglogic.com>
Reviewed-by: Gunnar Sletta <gunnar.sletta@digia.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/gui/QtGui.dynlist | 5 | ||||
-rw-r--r-- | src/gui/gui.pro | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/src/gui/QtGui.dynlist b/src/gui/QtGui.dynlist new file mode 100644 index 0000000000..7e15e37845 --- /dev/null +++ b/src/gui/QtGui.dynlist @@ -0,0 +1,5 @@ +{ + extern "C++" { + "QGuiApplication::notify(QObject*, QEvent*)"; + }; +}; diff --git a/src/gui/gui.pro b/src/gui/gui.pro index 058cfe92ec..33fa1c6e07 100644 --- a/src/gui/gui.pro +++ b/src/gui/gui.pro @@ -37,3 +37,4 @@ include(itemmodels/itemmodels.pri) QMAKE_LIBS += $$QMAKE_LIBS_GUI +QMAKE_DYNAMIC_LIST_FILE = $$PWD/QtGui.dynlist |