aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto
diff options
context:
space:
mode:
authorJoerg Bornemann <joerg.bornemann@digia.com>2013-11-27 10:09:19 +0100
committerChristian Kandeler <christian.kandeler@digia.com>2013-11-27 12:36:53 +0100
commitb794a2af28e469669ec90c4d5e3954c176c9c653 (patch)
tree838b23f0d36b5ce8632e1717895082983c487b0b /tests/auto
parentcddb39aceb0dd74d19895743f822c7eab9724e54 (diff)
ensure the same working dir for all MSVC compiler calls
Per product, the working dir for MSVC compiler calls must remain the same, because the calls share the file vc110.pdb (the exact file name depends on the VS version). Task-number: QBS-398 Change-Id: Idb865eb11f648e8103d91ae8a9fd43ecb9dc8a46 Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>
Diffstat (limited to 'tests/auto')
-rw-r--r--tests/auto/blackbox/testdata/precompiledHeader/myobject.h5
-rw-r--r--tests/auto/blackbox/testdata/precompiledHeader/precompiledHeader.qbs1
2 files changed, 5 insertions, 1 deletions
diff --git a/tests/auto/blackbox/testdata/precompiledHeader/myobject.h b/tests/auto/blackbox/testdata/precompiledHeader/myobject.h
index 17dfd48c8..376f0da66 100644
--- a/tests/auto/blackbox/testdata/precompiledHeader/myobject.h
+++ b/tests/auto/blackbox/testdata/precompiledHeader/myobject.h
@@ -1,8 +1,11 @@
#ifndef MYOBJECT_H
#define MYOBJECT_H
-class MyObject
+#include <QtCore/QObject>
+
+class MyObject : public QObject
{
+ Q_OBJECT
public:
MyObject();
~MyObject();
diff --git a/tests/auto/blackbox/testdata/precompiledHeader/precompiledHeader.qbs b/tests/auto/blackbox/testdata/precompiledHeader/precompiledHeader.qbs
index 8252dc649..de65b9330 100644
--- a/tests/auto/blackbox/testdata/precompiledHeader/precompiledHeader.qbs
+++ b/tests/auto/blackbox/testdata/precompiledHeader/precompiledHeader.qbs
@@ -9,5 +9,6 @@ Product {
"myobject.cpp"]
Depends { name: "cpp" }
cpp.precompiledHeader: "stable.h"
+ Depends { name: "Qt.core" }
}