diff options
author | Friedemann Kleint <Friedemann.Kleint@nokia.com> | 2011-10-04 15:33:34 +0200 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2011-10-04 17:24:32 +0200 |
commit | b4855d33f0f27323bed40c950eb2cfd8a4342406 (patch) | |
tree | 54b1b9d992bf14ad7285fc85c3c89c4222db01b9 /src | |
parent | de4c9b3e31a1de7b3cff2ecbe97275b250e3a46b (diff) |
Declarative: Fix linking of the testlib plugin (Windows).
qtdeclarative/src/imports/testlib uses the exported variable
QTest::printAvailableFunctions.
As it is a plugin, it has only QT_DLL defined and not QT_SHARED
and thus sees Q_TESTLIB_EXPORT=''.
Change-Id: I34646e920a812fb907b60e0c4c9399499d689a01
Reviewed-on: http://codereview.qt-project.org/5990
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Charles Yin <charles.yin@nokia.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/testlib/qtest_global.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/testlib/qtest_global.h b/src/testlib/qtest_global.h index b7479a8102..974d82a0d5 100644 --- a/src/testlib/qtest_global.h +++ b/src/testlib/qtest_global.h @@ -50,7 +50,7 @@ QT_BEGIN_NAMESPACE QT_MODULE(Test) -#if !defined(QT_SHARED) && !(defined(Q_OS_SYMBIAN) && defined(Q_CC_RVCT)) +#if !defined(QT_SHARED) && !defined(QT_DLL) && !(defined(Q_OS_SYMBIAN) && defined(Q_CC_RVCT)) # define Q_TESTLIB_EXPORT #else # ifdef QTESTLIB_MAKEDLL |