summaryrefslogtreecommitdiffstats
path: root/tests/auto/tools/qmake/testdata/rawString/object1.h
diff options
context:
space:
mode:
authorEdward Welbourne <edward.welbourne@theqtcompany.com>2015-12-08 14:50:45 +0100
committerEdward Welbourne <edward.welbourne@theqtcompany.com>2015-12-15 16:40:08 +0000
commit5e7492325a745908e11403b1f729a840c180fc6c (patch)
tree9426ea1e3b60c015a0af74e6f2ab52a38c966c92 /tests/auto/tools/qmake/testdata/rawString/object1.h
parent209a26c6c4187a15cc6297000ad729392aac6454 (diff)
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 <oswald.buddenhagen@theqtcompany.com>
Diffstat (limited to 'tests/auto/tools/qmake/testdata/rawString/object1.h')
-rw-r--r--tests/auto/tools/qmake/testdata/rawString/object1.h3
1 files changed, 1 insertions, 2 deletions
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 <QObject>
class Object1 : public QObject
{
Q_OBJECT
};
-