From 537e2e23ff7fd1e9854d6ff8bdab44dcc0640e5a Mon Sep 17 00:00:00 2001 From: Christian Kandeler Date: Thu, 30 Jul 2020 14:02:46 +0200 Subject: [PATCH] CppEditor: Work around cmake bug If you mention "Q_OBJECT" in a raw string literal, the cmake build fails... Change-Id: I9004184b48dea9a77b9303c3fd871cef747ade4c Reviewed-by: Christian Stenger --- src/plugins/cppeditor/cppquickfix_test.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/plugins/cppeditor/cppquickfix_test.cpp b/src/plugins/cppeditor/cppquickfix_test.cpp index bc6e4be96e1..71ed7ae6ba2 100644 --- a/src/plugins/cppeditor/cppquickfix_test.cpp +++ b/src/plugins/cppeditor/cppquickfix_test.cpp @@ -3499,7 +3499,6 @@ void CppEditorPlugin::test_quickfix_InsertDefsFromDecls_data() namespace N { class @C { - Q_OBJECT public: friend void ignoredFriend(); void ignoredImplemented() {}; @@ -3530,7 +3529,6 @@ void CppEditorPlugin::test_quickfix_InsertDefsFromDecls_data() namespace N { class C { - Q_OBJECT public: friend void ignoredFriend(); void ignoredImplemented() {}; @@ -3582,7 +3580,6 @@ void CppEditorPlugin::test_quickfix_InsertDefsFromDecls_data() namespace N { class @C { - Q_OBJECT public: friend void ignoredFriend(); void ignoredImplemented() {};