From 1780033cb259bbb166fe9b4b14c92829a8e1800e Mon Sep 17 00:00:00 2001 From: juhvu Date: Mon, 3 Oct 2011 16:06:24 +1000 Subject: [PATCH] (private-) export of QSGShaderEffectSource. QtLocation maps need to be able to render standard QML elements as Map items (for example a convenience store logo and text). Prior to Qt5 this was achieved with Qt graphics view framework. Only really private symbol used, in addition to inheriting a class from QSGShaderEffectSource, is textureProvider(). It is used to access texture IDs, which can then be used to map textures to map item geometries. Change-Id: Ifc6cf1d20b11493738c77b3bde9972a8cb1c70ce Reviewed-on: http://codereview.qt-project.org/5912 Reviewed-by: Qt Sanity Bot Reviewed-by: Gunnar Sletta --- src/declarative/items/qsgshadereffectsource_p.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/declarative/items/qsgshadereffectsource_p.h b/src/declarative/items/qsgshadereffectsource_p.h index 6662412..0921c76 100644 --- a/src/declarative/items/qsgshadereffectsource_p.h +++ b/src/declarative/items/qsgshadereffectsource_p.h @@ -152,7 +152,7 @@ private: uint m_grab : 1; }; -class QSGShaderEffectSource : public QSGItem +class Q_DECLARATIVE_EXPORT QSGShaderEffectSource : public QSGItem { Q_OBJECT Q_PROPERTY(WrapMode wrapMode READ wrapMode WRITE setWrapMode NOTIFY wrapModeChanged) -- 1.7.2.5