Set the default graphics system to raster.
This change is specific to Mac OS X/Cocoa. Reviewed-by: Lars Knoll (cherry picked from commit 2c2026df66f237b7313397dd74f6bc3212b94596)
This commit is contained in:
parent
8ac73771c6
commit
68857f9045
@ -74,7 +74,7 @@ QGraphicsSystem *QGraphicsSystemFactory::create(const QString& key)
|
|||||||
if (system.isEmpty()) {
|
if (system.isEmpty()) {
|
||||||
system = QLatin1String("runtime");
|
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()) {
|
if (system.isEmpty()) {
|
||||||
system = QLatin1String("raster");
|
system = QLatin1String("raster");
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user