Details
-
Bug
-
Resolution: Duplicate
-
P2: Important
-
None
-
5.13.0
-
None
-
Arch Linux
Description
Here is example:
main.cpp :
#include <QObject> #include "my_header.h" class MyClass: public QObject { Q_OBJECT };
my_header.h :
#include <string>
namespace MY_NAMESPACE {
void test() {
std::string test(R"(")");
}
}
When I run "moc main.cpp" it puts MyClass in MY_NAMESPACE, but MyClass isn't in MY_NAMESPACE
Attachments
Issue Links
- duplicates
-
QTBUG-55962 Moc parser does not support C++11 raw string literals
- Reported
- relates to
-
QTBUG-62632 MOC creates no output if file contains raw string literal
- Closed