From 5e7492325a745908e11403b1f729a840c180fc6c Mon Sep 17 00:00:00 2001 From: Edward Welbourne Date: Tue, 8 Dec 2015 14:50:45 +0100 Subject: qmake: teach moc-detector to handle C++-11 raw strings As for the #include-parser, the moc-detector's minimal C preprocessor could be confused by a raw string into ignoring large chunks of code. Change-Id: Id688e9a1f04628ce75a51a7d15269078c734288e Reviewed-by: Oswald Buddenhagen --- tests/auto/tools/qmake/testdata/rawString/object1.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'tests/auto/tools/qmake/testdata/rawString/object1.h') diff --git a/tests/auto/tools/qmake/testdata/rawString/object1.h b/tests/auto/tools/qmake/testdata/rawString/object1.h index 07af4229fb..1435624f7b 100644 --- a/tests/auto/tools/qmake/testdata/rawString/object1.h +++ b/tests/auto/tools/qmake/testdata/rawString/object1.h @@ -31,11 +31,10 @@ ** ****************************************************************************/ - +#define rawstring R"blah(lorem " ipsum /*)blah"; #include class Object1 : public QObject { Q_OBJECT }; - -- cgit v1.2.3