aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorChristian Kandeler <christian.kandeler@digia.com>2014-08-08 11:40:59 +0200
committerChristian Kandeler <christian.kandeler@digia.com>2014-08-08 14:40:31 +0200
commit3a81e9dc418a1f9fa852eb397a308a3e1f4bd8b1 (patch)
treef9f847d2b860508b0c0c546f927a116b796ee2f9 /tests
parent657a4ccf4c493ee0a0e5a5f5d15d644d3a1f49b1 (diff)
Fix autotest on Windows.
Library symbol export problem again. Change-Id: Icd728dd07d2502b9a96b14a77f03020e6cffb303 Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/blackbox/testdata/new-output-artifact-in-dependency/lib.cpp4
-rw-r--r--tests/auto/blackbox/testdata/new-output-artifact-in-dependency/project.qbs1
2 files changed, 4 insertions, 1 deletions
diff --git a/tests/auto/blackbox/testdata/new-output-artifact-in-dependency/lib.cpp b/tests/auto/blackbox/testdata/new-output-artifact-in-dependency/lib.cpp
index 56757a701..7fd25b792 100644
--- a/tests/auto/blackbox/testdata/new-output-artifact-in-dependency/lib.cpp
+++ b/tests/auto/blackbox/testdata/new-output-artifact-in-dependency/lib.cpp
@@ -1 +1,3 @@
-void f() {}
+#include <QtGlobal>
+
+Q_DECL_EXPORT void f() {}
diff --git a/tests/auto/blackbox/testdata/new-output-artifact-in-dependency/project.qbs b/tests/auto/blackbox/testdata/new-output-artifact-in-dependency/project.qbs
index 1e324fd89..2fc85e9a9 100644
--- a/tests/auto/blackbox/testdata/new-output-artifact-in-dependency/project.qbs
+++ b/tests/auto/blackbox/testdata/new-output-artifact-in-dependency/project.qbs
@@ -3,6 +3,7 @@ import qbs
Project {
DynamicLibrary {
//Depends { name: "cpp" }
+ //Depends { name: "Qt.core" }
name: "lib"
files: "lib.cpp"
}