summaryrefslogtreecommitdiffstats
path: root/tests/auto/tools/qmake/testdata/subdirs/simple_dll/simple.h
diff options
context:
space:
mode:
authorOswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>2014-11-18 14:57:21 +0100
committerOswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>2015-02-17 18:27:40 +0000
commit1cacf1e70d01cc989d973739ce4d5c7f00c5068c (patch)
tree48f58a89e935fc4b9668d34c3822b0541bbe430d /tests/auto/tools/qmake/testdata/subdirs/simple_dll/simple.h
parent70f85674291722b255e2086d409da721d9fcd71a (diff)
more autotests for spaces, destdirs and library linking
Change-Id: Ie106d1151e61a50081bccea0a6d0d70728451a5b Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
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();