summaryrefslogtreecommitdiffstats
path: root/tools/qscxmlc/scxmlcppdumper.cpp
diff options
context:
space:
mode:
authorUlf Hermann <ulf.hermann@qt.io>2024-02-05 14:27:38 +0100
committerUlf Hermann <ulf.hermann@qt.io>2024-02-06 10:28:04 +0100
commit44b03e1c812233a392d4c7ac143a05dad339bfae (patch)
tree5e236f90dd41bda38738dbb1e30f08f77e274e35 /tools/qscxmlc/scxmlcppdumper.cpp
parent3bc9dffda38a65ad559072a7e60edb380e4e576c (diff)
Update moc
The actual moc hasn't changed since 6.7 was branched off. We can pick the change back. Pick-to: 6.7 Fixes: QTBUG-121344 Change-Id: Ied2406ccfdd8307e8f142ff68e45a27786089cc1 Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Diffstat (limited to 'tools/qscxmlc/scxmlcppdumper.cpp')
-rw-r--r--tools/qscxmlc/scxmlcppdumper.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/tools/qscxmlc/scxmlcppdumper.cpp b/tools/qscxmlc/scxmlcppdumper.cpp
index 98f6772..765498c 100644
--- a/tools/qscxmlc/scxmlcppdumper.cpp
+++ b/tools/qscxmlc/scxmlcppdumper.cpp
@@ -729,7 +729,11 @@ QString CppDumper::generateMetaObject(const QString &className,
ClassDef classDef;
classDef.classname = className.toUtf8();
classDef.qualified = classDef.classname;
- classDef.superclassList << qMakePair(QByteArray("QScxmlStateMachine"), FunctionDef::Public);
+ classDef.superclassList << SuperClass {
+ QByteArray("QScxmlStateMachine"),
+ QByteArray(QT_STRINGIFY(QT_PREPEND_NAMESPACE(QScxmlStateMachine))),
+ FunctionDef::Public
+ };
classDef.hasQObject = true;
FunctionDef constructor;
constructor.name = className.toUtf8();