From 121c32b54a5d06dee38d45825d483199facf113c Mon Sep 17 00:00:00 2001 From: Christian Kamm Date: Thu, 6 Oct 2011 12:02:56 +0200 Subject: qmlplugindump: Explicitly add QSGMouseEvent to be dumped. Change-Id: I93f29f151e82a3d47fb10ff587fe28ea27a2d7b4 Reviewed-on: http://codereview.qt-project.org/6143 Reviewed-by: Roberto Raggi --- tools/qmlplugindump/main.cpp | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'tools') 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 #include #include +#include +#include +#include #include @@ -570,6 +573,10 @@ int main(int argc, char *argv[]) QSet defaultReachable = collectReachableMetaObjects(); QList 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 metas; -- cgit v1.2.3