--- a/src/gui/painting/qgraphicssystemfactory.cpp Tue Jul 06 15:10:48 2010 +0300
+++ b/src/gui/painting/qgraphicssystemfactory.cpp Wed Aug 18 10:37:55 2010 +0300
@@ -46,6 +46,7 @@
#include "qapplication.h"
#include "qgraphicssystem_raster_p.h"
+#include "qgraphicssystem_runtime_p.h"
#include "qdebug.h"
QT_BEGIN_NAMESPACE
@@ -68,6 +69,10 @@
if (system.isEmpty()) {
system = QLatin1String("openvg");
}
+#elif defined (QT_GRAPHICSSYSTEM_RUNTIME)
+ if (system.isEmpty()) {
+ system = QLatin1String("runtime");
+ }
#elif defined (QT_GRAPHICSSYSTEM_RASTER) && !defined(Q_WS_WIN) && !defined(Q_OS_SYMBIAN)
if (system.isEmpty()) {
system = QLatin1String("raster");
@@ -76,6 +81,10 @@
if (system == QLatin1String("raster"))
return new QRasterGraphicsSystem;
+#if defined (QT_GRAPHICSSYSTEM_RUNTIME)
+ else if (system == QLatin1String("runtime"))
+ return new QRuntimeGraphicsSystem;
+#endif
else if (system.isEmpty() || system == QLatin1String("native"))
return 0;