summaryrefslogtreecommitdiffstats
path: root/src/gui
diff options
context:
space:
mode:
authorPasi Pentikainen <ext-pasi.a.pentikainen@nokia.com>2012-06-05 10:04:21 (GMT)
committerQt by Nokia <qt-info@nokia.com>2012-06-13 07:48:57 (GMT)
commit8393c808e1d9b91c75e408fbcd7f4aacd576333c (patch)
treeb0e85b4b089769e1c3f1a58867530b0b4bd442f0 /src/gui
parent4aa1c4373d8bddbb3a889334ea50a2fc599573c6 (diff)
downloadQt-8393c808e1d9b91c75e408fbcd7f4aacd576333c.zip
Qt-8393c808e1d9b91c75e408fbcd7f4aacd576333c.tar.gz
Qt-8393c808e1d9b91c75e408fbcd7f4aacd576333c.tar.bz2
Symbian: disable OpenVG as default on Symbian emulator builds
Symbian emulator shows QML applications badly when OpenVG graphics system is used. This fix ignores OpenVG graphics system default configuration when built for emulator target. Task-number: ou1cimx1#1005008 Change-Id: I63fb89c5074e03fd582bfbbccca55f33473285c3 Reviewed-by: Pauli Järvinen <ext-pauli.p.jarvinen@nokia.com> Reviewed-by: Shane Kearns <shane.kearns@accenture.com>
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/painting/qgraphicssystemfactory.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/painting/qgraphicssystemfactory.cpp b/src/gui/painting/qgraphicssystemfactory.cpp
index 7609c61..5fa37ce 100644
--- a/src/gui/painting/qgraphicssystemfactory.cpp
+++ b/src/gui/painting/qgraphicssystemfactory.cpp
@@ -65,7 +65,7 @@ QGraphicsSystem *QGraphicsSystemFactory::create(const QString& key)
if (system.isEmpty()) {
system = QLatin1String("opengl");
}
-#elif defined (QT_GRAPHICSSYSTEM_OPENVG)
+#elif defined (QT_GRAPHICSSYSTEM_OPENVG) && !defined(Q_CC_NOKIAX86)
if (system.isEmpty()) {
system = QLatin1String("openvg");
}