From: Christian Kamm Date: Thu, 6 Oct 2011 10:02:56 +0000 (+0200) Subject: qmlplugindump: Explicitly add QSGMouseEvent to be dumped. X-Git-Url: http://git.silmor.de/gitweb/?a=commitdiff_plain;h=121c32b54a5d06dee38d45825d483199facf113c;p=konrad%2Fqtdeclarative.git qmlplugindump: Explicitly add QSGMouseEvent to be dumped. Change-Id: I93f29f151e82a3d47fb10ff587fe28ea27a2d7b4 Reviewed-on: http://codereview.qt-project.org/6143 Reviewed-by: Roberto Raggi --- diff --git a/tools/qmlplugindump/main.cpp b/tools/qmlplugindump/main.cpp index 35e90cd..6eadb39 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;