summaryrefslogtreecommitdiffstats
path: root/tests/auto/tools/qmake/testdata
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/tools/qmake/testdata')
-rw-r--r--tests/auto/tools/qmake/testdata/include_pwd/anotherheader.h2
-rw-r--r--tests/auto/tools/qmake/testdata/include_pwd/include_pwd.pro4
-rw-r--r--tests/auto/tools/qmake/testdata/include_pwd/main.cpp6
-rw-r--r--tests/auto/tools/qmake/testdata/include_pwd/somedirectory/someheader.h1
4 files changed, 13 insertions, 0 deletions
diff --git a/tests/auto/tools/qmake/testdata/include_pwd/anotherheader.h b/tests/auto/tools/qmake/testdata/include_pwd/anotherheader.h
new file mode 100644
index 0000000000..a3a63e26bf
--- /dev/null
+++ b/tests/auto/tools/qmake/testdata/include_pwd/anotherheader.h
@@ -0,0 +1,2 @@
+
+/* This file should be included indirectly through main.cpp */
diff --git a/tests/auto/tools/qmake/testdata/include_pwd/include_pwd.pro b/tests/auto/tools/qmake/testdata/include_pwd/include_pwd.pro
new file mode 100644
index 0000000000..c00815f5b4
--- /dev/null
+++ b/tests/auto/tools/qmake/testdata/include_pwd/include_pwd.pro
@@ -0,0 +1,4 @@
+TEMPLATE = app
+SOURCES = main.cpp
+CONFIG -= debug_and_release_target
+INCLUDEPATH += somedirectory
diff --git a/tests/auto/tools/qmake/testdata/include_pwd/main.cpp b/tests/auto/tools/qmake/testdata/include_pwd/main.cpp
new file mode 100644
index 0000000000..c98935f87d
--- /dev/null
+++ b/tests/auto/tools/qmake/testdata/include_pwd/main.cpp
@@ -0,0 +1,6 @@
+#include "someheader.h"
+
+int main()
+{
+ return 0;
+}
diff --git a/tests/auto/tools/qmake/testdata/include_pwd/somedirectory/someheader.h b/tests/auto/tools/qmake/testdata/include_pwd/somedirectory/someheader.h
new file mode 100644
index 0000000000..f977346945
--- /dev/null
+++ b/tests/auto/tools/qmake/testdata/include_pwd/somedirectory/someheader.h
@@ -0,0 +1 @@
+#include "anotherheader.h"