diff options
author | Laszlo Agocs <laszlo.agocs@theqtcompany.com> | 2016-01-06 16:20:20 +0100 |
---|---|---|
committer | Laszlo Agocs <laszlo.agocs@theqtcompany.com> | 2016-01-06 16:08:06 +0000 |
commit | 45902994198374a02f7c127120d8980a66796fb6 (patch) | |
tree | a95b14e7c45542584df6efff13983f1e4fb63fbe /src/render/texture/qabstracttextureprovider.h | |
parent | d61673010fcc67d60e76619941fac714d0141323 (diff) |
Fix dynamic texture provider property handling
The Q_PROPERTY has to include the namespace, otherwise setting
properties via QObject::setProperty() will fail.
Change-Id: Ifdf7012fd8b670710bac38eb0e5ce8eab057e719
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
Diffstat (limited to 'src/render/texture/qabstracttextureprovider.h')
-rw-r--r-- | src/render/texture/qabstracttextureprovider.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/render/texture/qabstracttextureprovider.h b/src/render/texture/qabstracttextureprovider.h index bd13b59ea..093d20864 100644 --- a/src/render/texture/qabstracttextureprovider.h +++ b/src/render/texture/qabstracttextureprovider.h @@ -334,4 +334,6 @@ private: QT_END_NAMESPACE +Q_DECLARE_METATYPE(Qt3DRender::QAbstractTextureProvider *) + #endif // QT3DRENDER_QABSTRACTTEXTUREPROVIDER_H |