From 027c26f223df945ef1b5983fb21a35cf65dc3b5c Mon Sep 17 00:00:00 2001 From: Oswald Buddenhagen Date: Thu, 16 Jul 2009 10:17:34 +0200 Subject: make test immune to qt header changes ... by hiding the include from lupdate's view --- tests/auto/linguist/lupdate/testdata/good/lacksqobject/main.cpp | 4 ++-- 1 file 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 - +#define QTCORE +#include QTCORE // Hidden from lupdate, but compiles // // Test 'lacks Q_OBJECT' reporting on namespace scopes -- cgit v0.12