Switch the default graphics system to raster on Mac.
Reviewed-by: Lars Knoll (cherry picked from commit a5d40fd3814ab7c8e865912c03a918bfd5994998)
This commit is contained in:
parent
ba3436cda1
commit
e7de0c2e12
@ -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…
x
Reference in New Issue
Block a user