diff options
author | Petri Kiiskinen <ext-petri.ak.kiiskinen@nokia.com> | 2010-08-04 08:02:41 (GMT) |
---|---|---|
committer | axis <qt-info@nokia.com> | 2010-09-07 07:30:54 (GMT) |
commit | 5d4b7c1d3f7e8fb1ef84ffa102123ca267cb7eef (patch) | |
tree | e0cf407a696910d4789957de3e61f711092ff305 /src/gui | |
parent | cd9b0c9f1ae1863c383a5cf7e19e8b17d8f618ba (diff) | |
download | Qt-5d4b7c1d3f7e8fb1ef84ffa102123ca267cb7eef.zip Qt-5d4b7c1d3f7e8fb1ef84ffa102123ca267cb7eef.tar.gz Qt-5d4b7c1d3f7e8fb1ef84ffa102123ca267cb7eef.tar.bz2 |
resolving method name does not work for Symbian so need to use ordinal instead
Merge-request: 768
Signed-off-by: axis <qt-info@nokia.com>
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/kernel/qapplication.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gui/kernel/qapplication.cpp b/src/gui/kernel/qapplication.cpp index 3d3a749..82dd83a 100644 --- a/src/gui/kernel/qapplication.cpp +++ b/src/gui/kernel/qapplication.cpp @@ -809,6 +809,12 @@ void QApplicationPrivate::construct( if (testLib.load()) { typedef void (*TasInitialize)(void); TasInitialize initFunction = (TasInitialize)testLib.resolve("qt_testability_init"); +#ifdef Q_OS_SYMBIAN + // resolving method by name does not work on Symbian OS so need to use ordinal + if(!initFunction) { + initFunction = (TasInitialize)testLib.resolve("1"); + } +#endif if (initFunction) { initFunction(); } else { |