aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tests/auto/blackbox/testdata/clean/clean.qbs1
-rw-r--r--tests/auto/blackbox/testdata/clean/dep.cpp4
2 files changed, 4 insertions, 1 deletions
diff --git a/tests/auto/blackbox/testdata/clean/clean.qbs b/tests/auto/blackbox/testdata/clean/clean.qbs
index 3bc56b8fe..26684160f 100644
--- a/tests/auto/blackbox/testdata/clean/clean.qbs
+++ b/tests/auto/blackbox/testdata/clean/clean.qbs
@@ -3,6 +3,7 @@ import qbs 1.0
Project {
DynamicLibrary {
Depends { name: "cpp" }
+ Depends { name: "Qt.core" }
version: "1.1.0"
name: "dep"
files: "dep.cpp"
diff --git a/tests/auto/blackbox/testdata/clean/dep.cpp b/tests/auto/blackbox/testdata/clean/dep.cpp
index 8b8d58de0..7fd25b792 100644
--- a/tests/auto/blackbox/testdata/clean/dep.cpp
+++ b/tests/auto/blackbox/testdata/clean/dep.cpp
@@ -1 +1,3 @@
-int main() { }
+#include <QtGlobal>
+
+Q_DECL_EXPORT void f() {}