summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorMarc Mutz <marc.mutz@qt.io>2022-04-05 15:53:46 +0200
committerMarc Mutz <marc.mutz@qt.io>2022-04-05 15:58:53 +0200
commit48ab36e2aea50bfdaf77d8be125bc1d625b4d7b2 (patch)
tree873fa1f8b13b2ed3de88f14096ee182f30681fd6 /tools
parent9689555ce0a30c5d51259ded09c740d7d87e6f0e (diff)
repc: add missing qmap.h to generated files
The header is no longer transitively included from qvariant.h. Pick-to: 6.3 6.2 Change-Id: I44b896da19c81464eacd1adfa914a723234a973d Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Diffstat (limited to 'tools')
-rw-r--r--tools/repc/repcodegenerator.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/repc/repcodegenerator.cpp b/tools/repc/repcodegenerator.cpp
index e3b9ad3..553d152 100644
--- a/tools/repc/repcodegenerator.cpp
+++ b/tools/repc/repcodegenerator.cpp
@@ -261,6 +261,7 @@ void RepCodeGenerator::generateHeader(Mode mode)
"#include <QtCore/qobject.h>\n"
"#include <QtCore/qdatastream.h>\n"
"#include <QtCore/qvariant.h>\n"
+ "#include <QtCore/qmap.h>\n"
"#include <QtCore/qmetatype.h>\n";
bool hasModel = false;
for (auto c : m_ast.classes)