aboutsummaryrefslogtreecommitdiffstats
path: root/src/particles/qtquickparticlesglobal_p.h
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@intel.com>2012-01-17 11:37:27 -0200
committerQt by Nokia <qt-info@nokia.com>2012-07-11 21:24:05 +0200
commit0e2fbb89161ce6bd753ad9f84a5a9ed466c763f3 (patch)
tree0e75caa69ed35612fd2e659fe7e6ec52ba4d5658 /src/particles/qtquickparticlesglobal_p.h
parentdb4c44a4d9ea4907329d203a61965a0dd89d69b2 (diff)
Update the export macros in qtdeclarative.git
Use the new, simpler QT_STATIC macro. Change-Id: I86d9d1a0e2812896594bfb0e6945b194f896d775 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
Diffstat (limited to 'src/particles/qtquickparticlesglobal_p.h')
-rw-r--r--src/particles/qtquickparticlesglobal_p.h20
1 files changed, 5 insertions, 15 deletions
diff --git a/src/particles/qtquickparticlesglobal_p.h b/src/particles/qtquickparticlesglobal_p.h
index d7814f759d..8b23fa44fe 100644
--- a/src/particles/qtquickparticlesglobal_p.h
+++ b/src/particles/qtquickparticlesglobal_p.h
@@ -46,24 +46,14 @@
// We only have private exports from this library
-#if defined(Q_OS_WIN)
-# if defined(QT_MAKEDLL) /* create a Qt DLL library */
-# if defined(QT_BUILD_QUICKPARTICLES_LIB)
-# define Q_QUICKPARTICLES_PRIVATE_EXPORT Q_DECL_EXPORT
-# else
-# define Q_QUICKPARTICLES_PRIVATE_EXPORT Q_DECL_IMPORT
-# endif
-# elif defined(QT_DLL) /* use a Qt DLL library */
-# define Q_QUICKPARTICLES_PRIVATE_EXPORT Q_DECL_IMPORT
-# endif
-#endif
-
-#if !defined(Q_QUICKPARTICLES_PRIVATE_EXPORT)
-# if defined(QT_SHARED)
+#ifndef QT_STATIC
+# if defined(QT_BUILD_QUICKPARTICLES_LIB)
# define Q_QUICKPARTICLES_PRIVATE_EXPORT Q_DECL_EXPORT
# else
-# define Q_QUICKPARTICLES_PRIVATE_EXPORT
+# define Q_QUICKPARTICLES_PRIVATE_EXPORT Q_DECL_IMPORT
# endif
+#else
+# define Q_QUICKPARTICLES_PRIVATE_EXPORT
#endif
#endif // QTQUICKPARTICLESGLOBAL_P_H