summaryrefslogtreecommitdiff
path: root/tests/auto/linguist/lupdate/testdata
diff options
context:
space:
mode:
authorOswald Buddenhagen <oswald.buddenhagen@nokia.com>2009-07-16 10:17:34 +0200
committerOswald Buddenhagen <oswald.buddenhagen@nokia.com>2009-07-17 19:55:00 +0200
commit027c26f223df945ef1b5983fb21a35cf65dc3b5c (patch)
treeadf3e296e5bb2a9f8f1f90c91a9748cc63fc2b13 /tests/auto/linguist/lupdate/testdata
parentf5a4344ed9ab4e2a79c0a798c92eea3d2bd914a7 (diff)
downloadqt4-tools-027c26f223df945ef1b5983fb21a35cf65dc3b5c.tar.gz
make test immune to qt header changes
... by hiding the include from lupdate's view
Diffstat (limited to 'tests/auto/linguist/lupdate/testdata')
-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 05fcd79b9d..0e42d5212f 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