aboutsummaryrefslogtreecommitdiffstats
path: root/src/quick/qtquickglobal.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/quick/qtquickglobal.h')
-rw-r--r--src/quick/qtquickglobal.h20
1 files changed, 5 insertions, 15 deletions
diff --git a/src/quick/qtquickglobal.h b/src/quick/qtquickglobal.h
index a1d8c714e8..ad85b2e96b 100644
--- a/src/quick/qtquickglobal.h
+++ b/src/quick/qtquickglobal.h
@@ -44,24 +44,14 @@
#include <QtCore/qglobal.h>
-#if defined(Q_OS_WIN)
-# if defined(QT_MAKEDLL) /* create a Qt DLL library */
-# if defined(QT_BUILD_QUICK_LIB)
-# define Q_QUICK_EXPORT Q_DECL_EXPORT
-# else
-# define Q_QUICK_EXPORT Q_DECL_IMPORT
-# endif
-# elif defined(QT_DLL) /* use a Qt DLL library */
-# define Q_QUICK_EXPORT Q_DECL_IMPORT
-# endif
-#endif
-
-#if !defined(Q_QUICK_EXPORT)
-# if defined(QT_SHARED)
+#ifndef QT_STATIC
+# if defined(QT_BUILD_QUICK_LIB)
# define Q_QUICK_EXPORT Q_DECL_EXPORT
# else
-# define Q_QUICK_EXPORT
+# define Q_QUICK_EXPORT Q_DECL_IMPORT
# endif
+#else
+# define Q_QUICK_EXPORT
#endif
#endif // QTQUICKGLOBAL_H