summaryrefslogtreecommitdiffstats
path: root/src/plugins
diff options
context:
space:
mode:
authorJani Hautakangas <jani.hautakangas@nokia.com>2011-01-10 11:22:15 (GMT)
committerJani Hautakangas <jani.hautakangas@nokia.com>2011-01-10 15:29:03 (GMT)
commitd62e9f4a6fe199ae790b1561fd4ba9ea84bd4d1e (patch)
tree7d28e05592295ad3f0ff14eed3c6f37483b12a61 /src/plugins
parent2b1b617664bfc78f6e95e53dc0f9749bd1f2d27a (diff)
downloadQt-d62e9f4a6fe199ae790b1561fd4ba9ea84bd4d1e.zip
Qt-d62e9f4a6fe199ae790b1561fd4ba9ea84bd4d1e.tar.gz
Qt-d62e9f4a6fe199ae790b1561fd4ba9ea84bd4d1e.tar.bz2
Setting WA_TranslucentBackground after winid() is ineffective on Symbian.
Currently Symbian doesn't support semi-transparent EGL surfaces. WA_TranslucentBackground attribute is ineffective if set after EGL surface creation. To enable translucency in this case we need to recreate backing store to get raster surface which supports translucency. Task-number: QT-4416 Reviewed-by: Jason Barron
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/graphicssystems/openvg/qgraphicssystem_vg.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/graphicssystems/openvg/qgraphicssystem_vg.cpp b/src/plugins/graphicssystems/openvg/qgraphicssystem_vg.cpp
index 9674233..5f4941f 100644
--- a/src/plugins/graphicssystems/openvg/qgraphicssystem_vg.cpp
+++ b/src/plugins/graphicssystems/openvg/qgraphicssystem_vg.cpp
@@ -45,11 +45,13 @@
#if defined(Q_OS_SYMBIAN) && !defined(Q_SYMBIAN_SEMITRANSPARENT_BG_SURFACE)
#include <QtGui/private/qwidget_p.h>
#endif
+#include <QtGui/private/qapplication_p.h>
QT_BEGIN_NAMESPACE
QVGGraphicsSystem::QVGGraphicsSystem()
{
+ QApplicationPrivate::graphics_system_name = QLatin1String("openvg");
}
QPixmapData *QVGGraphicsSystem::createPixmapData(QPixmapData::PixelType type) const