aboutsummaryrefslogtreecommitdiffstats
path: root/src/particles/qquickparticleaffector_p.h
diff options
context:
space:
mode:
authorAriel Molina R <ariel@edis.mx>2015-11-18 18:01:37 -0600
committerSimon Hausmann <simon.hausmann@theqtcompany.com>2015-11-24 06:15:57 +0000
commit7aa921ca62d14620f640fcc460fa79c4eeffa26c (patch)
tree073b33b84835b7f91564941de01679015edef6cc /src/particles/qquickparticleaffector_p.h
parent7b730ef660bedfe3aed1b2e778f492cdf76add59 (diff)
Private export the ParticleSystem and Affector
There are several special cases where the particle system is very useful for generating more than just eye candy. An example is a recreation of world weather/wind conditions as seen in http://earth.nullschool.net/ this patch allows for the implementation of similar systems. This patch does not adds features, just adds the macro Q_QUICK_PRIVATE_EXPORT in order to link the classes and derive custom C++ affectors for Qt Quick usage. Task-number: QTBUG-41502 Change-Id: I809d74676b3be73221840c694d7ca3eebe553c02 Reviewed-by: Gunnar Sletta <gunnar@sletta.org>
Diffstat (limited to 'src/particles/qquickparticleaffector_p.h')
-rw-r--r--src/particles/qquickparticleaffector_p.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/particles/qquickparticleaffector_p.h b/src/particles/qquickparticleaffector_p.h
index 4646c839d9..f71097fda9 100644
--- a/src/particles/qquickparticleaffector_p.h
+++ b/src/particles/qquickparticleaffector_p.h
@@ -48,10 +48,11 @@
#include <QObject>
#include "qquickparticlesystem_p.h"
#include "qquickparticleextruder_p.h"
+#include "qtquickparticlesglobal_p.h"
QT_BEGIN_NAMESPACE
-class QQuickParticleAffector : public QQuickItem
+class Q_QUICKPARTICLES_PRIVATE_EXPORT QQuickParticleAffector : public QQuickItem
{
Q_OBJECT
Q_PROPERTY(QQuickParticleSystem* system READ system WRITE setSystem NOTIFY systemChanged)