summaryrefslogtreecommitdiffstats
path: root/tests/auto/tools/qmake/testdata/subdirs/simple_dll/simple.h
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/tools/qmake/testdata/subdirs/simple_dll/simple.h')
-rw-r--r--tests/auto/tools/qmake/testdata/subdirs/simple_dll/simple.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/tests/auto/tools/qmake/testdata/subdirs/simple_dll/simple.h b/tests/auto/tools/qmake/testdata/subdirs/simple_dll/simple.h
index d7e5f48730..e24df46f42 100644
--- a/tests/auto/tools/qmake/testdata/subdirs/simple_dll/simple.h
+++ b/tests/auto/tools/qmake/testdata/subdirs/simple_dll/simple.h
@@ -35,8 +35,13 @@
#include <qstring.h>
-//class SIMPLEDLL_EXPORT Simple
-class Simple
+#ifdef SIMPLEDLL_MAKEDLL
+# define SIMPLEDLL_EXPORT Q_DECL_EXPORT
+#else
+# define SIMPLEDLL_EXPORT Q_DECL_IMPORT
+#endif
+
+class SIMPLEDLL_EXPORT Simple
{
public:
Simple();