summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/xmlpatternssdk/Global.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/xmlpatternssdk/Global.h b/tests/auto/xmlpatternssdk/Global.h
index 0df5c14..f61e118 100644
--- a/tests/auto/xmlpatternssdk/Global.h
+++ b/tests/auto/xmlpatternssdk/Global.h
@@ -34,7 +34,7 @@
#include <private/qitem_p.h>
#include <private/qnamepool_p.h>
-#if defined(Q_OS_WIN)
+#if defined(Q_OS_WIN) && !defined(QT_STATIC)
# ifdef Q_PATTERNISTSDK_BUILDING
#define Q_PATTERNISTSDK_EXPORT __declspec(dllexport)
#else