aboutsummaryrefslogtreecommitdiffstats
path: root/src/particles/qquickimageparticle_p.h
diff options
context:
space:
mode:
authorSami Shalayel <[email protected]>2023-01-11 15:07:39 +0100
committerSami Shalayel <[email protected]>2023-01-24 13:41:52 +0100
commit08e01f457d70ce4dcc23187b3b56260f0ec00435 (patch)
treec1f76b3214a1b781d795a3148fb034e566b2c896 /src/particles/qquickimageparticle_p.h
parente1cebe812838c8c98bca07413a023673706c45b8 (diff)
QuickParticles: export classes exposed to QML
Add export macros to all classes exposing their behavior to QML using QML_NAMED_ELEMENT and friends. This allows qmltc to compile qml files using Quick.Particles without linker errors. Change-Id: Iccbe33410460e211b4f8b631237f95c270d79187 Reviewed-by: Ulf Hermann <[email protected]>
Diffstat (limited to 'src/particles/qquickimageparticle_p.h')
-rw-r--r--src/particles/qquickimageparticle_p.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/particles/qquickimageparticle_p.h b/src/particles/qquickimageparticle_p.h
index 9b80aef0a1..e92e341718 100644
--- a/src/particles/qquickimageparticle_p.h
+++ b/src/particles/qquickimageparticle_p.h
@@ -146,7 +146,7 @@ public:
virtual ImageMaterialData *state() = 0;
};
-class QQuickImageParticle : public QQuickParticlePainter
+class Q_QUICKPARTICLES_PRIVATE_EXPORT QQuickImageParticle : public QQuickParticlePainter
{
Q_OBJECT
Q_PROPERTY(QUrl source READ image WRITE setImage NOTIFY imageChanged)