aboutsummaryrefslogtreecommitdiffstats
path: root/tools/qmlplugindump
diff options
context:
space:
mode:
Diffstat (limited to 'tools/qmlplugindump')
-rw-r--r--tools/qmlplugindump/main.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/tools/qmlplugindump/main.cpp b/tools/qmlplugindump/main.cpp
index 35e90cd3d4..6eadb39869 100644
--- a/tools/qmlplugindump/main.cpp
+++ b/tools/qmlplugindump/main.cpp
@@ -42,6 +42,9 @@
#include <QtDeclarative/QtDeclarative>
#include <QtDeclarative/private/qdeclarativemetatype_p.h>
#include <QtDeclarative/private/qdeclarativeopenmetaobject_p.h>
+#include <QtDeclarative/private/qsgevents_p_p.h>
+#include <QtDeclarative/private/qsgdragtarget_p.h>
+#include <QtDeclarative/private/qsgpincharea_p.h>
#include <QtWidgets/QApplication>
@@ -570,6 +573,10 @@ int main(int argc, char *argv[])
QSet<const QMetaObject *> defaultReachable = collectReachableMetaObjects();
QList<QDeclarativeType *> defaultTypes = QDeclarativeMetaType::qmlTypes();
+ // add some otherwise unreachable QMetaObjects
+ defaultReachable.insert(&QSGMouseEvent::staticMetaObject);
+ // QSGKeyEvent, QSGPinchEvent, QSGDragTargetEvent are not exported
+
// this will hold the meta objects we want to dump information of
QSet<const QMetaObject *> metas;