summaryrefslogtreecommitdiffstats
path: root/src/corelib/compat/removed_api.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/corelib/compat/removed_api.cpp')
-rw-r--r--src/corelib/compat/removed_api.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/corelib/compat/removed_api.cpp b/src/corelib/compat/removed_api.cpp
index c4fe85f84f..7ffefa027e 100644
--- a/src/corelib/compat/removed_api.cpp
+++ b/src/corelib/compat/removed_api.cpp
@@ -283,6 +283,14 @@ QT_WARNING_POP
#if QT_CORE_REMOVED_SINCE(6, 5)
+#include "qmetatype.h"
+
+int QMetaType::idHelper() const
+{
+ Q_ASSERT(d_ptr);
+ return registerHelper(d_ptr);
+}
+
#include "qxmlstream.h"
QXmlStreamReader::QXmlStreamReader(const QByteArray &data)