diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/gui/kernel/qapplication.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/gui/kernel/qapplication.cpp b/src/gui/kernel/qapplication.cpp index 6f6d706..ce5796b 100644 --- a/src/gui/kernel/qapplication.cpp +++ b/src/gui/kernel/qapplication.cpp @@ -936,6 +936,14 @@ void QApplicationPrivate::initialize() // Set up which span functions should be used in raster engine... qInitDrawhelperAsm(); +#ifdef QT_MAC_USE_COCOA + // Use the rater graphics system by default on Cocoa, override with + // -graphicssystem raster + if (graphics_system_name.isEmpty()) { + graphics_system_name = QLatin1String("raster"); + } +#endif + #if !defined(Q_WS_X11) && !defined(Q_WS_QWS) // initialize the graphics system - on X11 this is initialized inside // qt_init() in qapplication_x11.cpp because of several reasons. |