summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/declarative/qtquick1global.h20
1 files changed, 5 insertions, 15 deletions
diff --git a/src/declarative/qtquick1global.h b/src/declarative/qtquick1global.h
index 9e8f2a5f..ae9ed692 100644
--- a/src/declarative/qtquick1global.h
+++ b/src/declarative/qtquick1global.h
@@ -50,24 +50,14 @@
# undef Q_QUICK1_EXPORT
#endif
-#if defined(Q_OS_WIN)
-# if defined(QT_MAKEDLL) /* create a Qt DLL library */
-# if defined(QT_BUILD_QUICK1_LIB)
-# define Q_QUICK1_EXPORT Q_DECL_EXPORT
-# else
-# define Q_QUICK1_EXPORT Q_DECL_IMPORT
-# endif
-# elif defined(QT_DLL) /* use a Qt DLL library */
-# define Q_QUICK1_EXPORT Q_DECL_IMPORT
-# endif
-#endif
-
-#if !defined(Q_QUICK1_EXPORT)
-# if defined(QT_SHARED)
+#ifndef QT_STATIC
+# if defined(QT_BUILD_QUICK1_LIB)
# define Q_QUICK1_EXPORT Q_DECL_EXPORT
# else
-# define Q_QUICK1_EXPORT
+# define Q_QUICK1_EXPORT Q_DECL_IMPORT
# endif
+#else
+# define Q_QUICK1_EXPORT
#endif
#endif // QTQUICK1GLOBAL_H