summaryrefslogtreecommitdiffstats
path: root/tests/auto
diff options
context:
space:
mode:
authorOswald Buddenhagen <oswald.buddenhagen@nokia.com>2009-07-16 08:17:34 (GMT)
committerOswald Buddenhagen <oswald.buddenhagen@nokia.com>2009-07-17 17:55:00 (GMT)
commit027c26f223df945ef1b5983fb21a35cf65dc3b5c (patch)
treeadf3e296e5bb2a9f8f1f90c91a9748cc63fc2b13 /tests/auto
parentf5a4344ed9ab4e2a79c0a798c92eea3d2bd914a7 (diff)
downloadQt-027c26f223df945ef1b5983fb21a35cf65dc3b5c.zip
Qt-027c26f223df945ef1b5983fb21a35cf65dc3b5c.tar.gz
Qt-027c26f223df945ef1b5983fb21a35cf65dc3b5c.tar.bz2
make test immune to qt header changes
... by hiding the include from lupdate's view
Diffstat (limited to 'tests/auto')
-rw-r--r--tests/auto/linguist/lupdate/testdata/good/lacksqobject/main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/linguist/lupdate/testdata/good/lacksqobject/main.cpp b/tests/auto/linguist/lupdate/testdata/good/lacksqobject/main.cpp
index 05fcd79..0e42d52 100644
--- a/tests/auto/linguist/lupdate/testdata/good/lacksqobject/main.cpp
+++ b/tests/auto/linguist/lupdate/testdata/good/lacksqobject/main.cpp
@@ -1,8 +1,8 @@
// IMPORTANT!!!! If you want to add testdata to this file,
// always add it to the end in order to not change the linenumbers of translations!!!
-#include <QtCore>
-
+#define QTCORE <QtCore>
+#include QTCORE // Hidden from lupdate, but compiles
//
// Test 'lacks Q_OBJECT' reporting on namespace scopes