From: juhvu Date: Mon, 3 Oct 2011 06:06:24 +0000 (+1000) Subject: (private-) export of QSGShaderEffectSource. X-Git-Url: http://git.silmor.de/gitweb/?a=commitdiff_plain;h=1780033cb259bbb166fe9b4b14c92829a8e1800e;p=konrad%2Fqtdeclarative.git (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 --- 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)