summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorFabien Freling <fabien.freling@nokia.com>2011-04-26 10:34:00 (GMT)
committerFabien Freling <fabien.freling@nokia.com>2011-04-26 10:34:00 (GMT)
commit2c2026df66f237b7313397dd74f6bc3212b94596 (patch)
tree9998614f76dd6a24b189dd0bd5ce38d62b7c3a10 /src
parentbbb9fa9ccb7432f146a395eca1f8a634a4dfd3d0 (diff)
downloadQt-2c2026df66f237b7313397dd74f6bc3212b94596.zip
Qt-2c2026df66f237b7313397dd74f6bc3212b94596.tar.gz
Qt-2c2026df66f237b7313397dd74f6bc3212b94596.tar.bz2
Set the default graphics system to raster.
This change is specific to Mac OS X/Cocoa. Reviewed-by: Lars Knoll
Diffstat (limited to 'src')
-rw-r--r--src/gui/painting/qgraphicssystemfactory.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/painting/qgraphicssystemfactory.cpp b/src/gui/painting/qgraphicssystemfactory.cpp
index 62a60d7..6212674 100644
--- a/src/gui/painting/qgraphicssystemfactory.cpp
+++ b/src/gui/painting/qgraphicssystemfactory.cpp
@@ -74,7 +74,7 @@ QGraphicsSystem *QGraphicsSystemFactory::create(const QString& key)
if (system.isEmpty()) {
system = QLatin1String("runtime");
}
-#elif defined (QT_GRAPHICSSYSTEM_RASTER) && !defined(Q_WS_WIN) && !defined(Q_OS_SYMBIAN) || defined(Q_WS_X11)
+#elif defined (QT_GRAPHICSSYSTEM_RASTER) && !defined(Q_WS_WIN) && !defined(Q_OS_SYMBIAN) || defined(Q_WS_X11) || (defined (Q_WS_MAC) && defined(QT_MAC_USE_COCOA))
if (system.isEmpty()) {
system = QLatin1String("raster");
}