summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergio Martins <sergio.martins@kdab.com>2018-02-14 20:43:00 +0000
committerSérgio Martins <sergio.martins@kdab.com>2018-02-15 22:06:47 +0000
commit4c0244d23dd77958902acd3f29c7540aeb772f83 (patch)
tree8cbf5d9de5a6be891a316dce3e01d770b37ab36a
parent5fac6d6fda04924b03f6a5651933f0c055d0df23 (diff)
downloadqtxmlpatterns-4c0244d23dd77958902acd3f29c7540aeb772f83.tar.gz
Fix tests build when static
Change-Id: Ia1dc5bf0d12a676b23d1b502044bf81a16198736 Task-number: QTBUG-66419 Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
-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