summaryrefslogtreecommitdiffstats
path: root/src/platformsupport/platformsupport.pro
diff options
context:
space:
mode:
authorRohan McGovern <rohan.mcgovern@nokia.com>2011-09-14 10:34:27 +1000
committerQt by Nokia <qt-info@nokia.com>2011-09-14 05:06:33 +0200
commit7e7a1eefb3797002e9b17314b6fa6896935ac6e4 (patch)
tree8e41ffba09953fe0ac5356c82d455b71e37fcd40 /src/platformsupport/platformsupport.pro
parent732bfbe8e8445a95965874752e586887f1dcbbc1 (diff)
Windows: fixed compile of libQtPlatformSupport
It is incorrect to use QT_GUI_EXPORT to export symbols from any library other than libQtGui. When used outside of libQtGui, QT_GUI_EXPORT attempts to _import_ symbols rather than _export_ them. Change-Id: I7489067f479edd3acd9bf08bcaa24ee4dea4c3cc Reviewed-on: http://codereview.qt-project.org/4838 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
Diffstat (limited to 'src/platformsupport/platformsupport.pro')
-rw-r--r--src/platformsupport/platformsupport.pro2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/platformsupport/platformsupport.pro b/src/platformsupport/platformsupport.pro
index 9d6f8dcd41..b208e59f94 100644
--- a/src/platformsupport/platformsupport.pro
+++ b/src/platformsupport/platformsupport.pro
@@ -11,6 +11,8 @@ mac:LIBS += -lz -framework CoreFoundation -framework Carbon
MODULE_PRI = ../modules/qt_platformsupport.pri
+DEFINES += QT_BUILD_PLATFORMSUPPORT_LIB
+
load(qt_module_config)
unix|win32-g++*:QMAKE_PKGCONFIG_REQUIRES = QtCore QtGui