diff options
author | Rhys Weatherley <rhys.weatherley@nokia.com> | 2009-07-22 03:49:39 (GMT) |
---|---|---|
committer | Rhys Weatherley <rhys.weatherley@nokia.com> | 2009-07-22 03:49:39 (GMT) |
commit | d0a4c6ab4d801b8b02638324505b29dbaa822f5c (patch) | |
tree | f3a19c0505023e29feea21a82d31f6269878c22b /src/gui/painting/qgraphicssystemfactory.cpp | |
parent | 6ca14dce65634e202b36499c76c268c87f78ceb6 (diff) | |
download | Qt-d0a4c6ab4d801b8b02638324505b29dbaa822f5c.zip Qt-d0a4c6ab4d801b8b02638324505b29dbaa822f5c.tar.gz Qt-d0a4c6ab4d801b8b02638324505b29dbaa822f5c.tar.bz2 |
Make "-graphicssystem openvg" select OpenVG as default graphics system
Reviewed-by: Lincoln Ramsay
Diffstat (limited to 'src/gui/painting/qgraphicssystemfactory.cpp')
-rw-r--r-- | src/gui/painting/qgraphicssystemfactory.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gui/painting/qgraphicssystemfactory.cpp b/src/gui/painting/qgraphicssystemfactory.cpp index b618d8b..ddc66f3 100644 --- a/src/gui/painting/qgraphicssystemfactory.cpp +++ b/src/gui/painting/qgraphicssystemfactory.cpp @@ -64,6 +64,10 @@ QGraphicsSystem *QGraphicsSystemFactory::create(const QString& key) if (system.isEmpty()) { system = QLatin1String("opengl"); } +#elif defined (QT_GRAPHICSSYSTEM_OPENVG) + if (system.isEmpty()) { + system = QLatin1String("openvg"); + } #elif defined (QT_GRAPHICSSYSTEM_RASTER) && !defined(Q_WS_WIN) if (system.isEmpty()) { system = QLatin1String("raster"); |