summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAnders Bakken <anders@trolltech.com>2009-03-25 18:17:57 (GMT)
committerAnders Bakken <anders.bakken@nokia.com>2009-05-05 21:58:24 (GMT)
commitf06d186c3b9b053132d8107f843317067238083f (patch)
tree433f9bc7b244a23a050e4f7c87a1144b4d46fdba /src
parent0208f6419556af968bb0bbe1d1cdedede1819e67 (diff)
downloadQt-f06d186c3b9b053132d8107f843317067238083f.zip
Qt-f06d186c3b9b053132d8107f843317067238083f.tar.gz
Qt-f06d186c3b9b053132d8107f843317067238083f.tar.bz2
Make sure image caching works with Qt3Support
Store whether qt was built with qt3support enabled in .qmake.cache. We need this info to decide if QT3_SUPPORT should be defined when we include qimage_p.h. Otherwise we get data corruption issues since the size of struct in Qt is larger than the one we include in libqdirectfb. Reviewed-by: Donald <qt-info@nokia.com>
Diffstat (limited to 'src')
-rw-r--r--src/plugins/gfxdrivers/directfb/directfb.pro1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/gfxdrivers/directfb/directfb.pro b/src/plugins/gfxdrivers/directfb/directfb.pro
index abdb78f..b128514 100644
--- a/src/plugins/gfxdrivers/directfb/directfb.pro
+++ b/src/plugins/gfxdrivers/directfb/directfb.pro
@@ -40,4 +40,5 @@ SOURCES = qdirectfbscreen.cpp \
QMAKE_CXXFLAGS += $$QT_CFLAGS_DIRECTFB
LIBS += $$QT_LIBS_DIRECTFB
+DEFINES += $$QT_DEFINES_DIRECTFB