aboutsummaryrefslogtreecommitdiffstats
path: root/tools/qmlplugindump
diff options
context:
space:
mode:
authorChristian Kamm <christian.d.kamm@nokia.com>2011-06-27 11:01:20 +0200
committerQt by Nokia <qt-info@nokia.com>2011-06-28 12:27:01 +0200
commitcf3a3c397fb3c7e81a92d6ced4c08193c7e6d2f7 (patch)
treef8829e74176f09d96fc3c189f9042260d73fdf0e /tools/qmlplugindump
parentb2e2b070c499a04a3e2f270df62d5dd061e0c027 (diff)
qmldump: Fix export comparison.
Compare the full uri/name, not just the uri. Also QDeclarativeType::module was not available in 4.7.3. Mirrors http://codereview.qt.nokia.com/759 (cherry picked from commit a0bd8d2dc68fdf993821b5eb881769448b34dffd) Change-Id: Ib66ec79b929bd29e3aa27a1b70e5a5c1ec2d51e5 Reviewed-on: http://codereview.qt.nokia.com/762 Reviewed-by: Kai Koehne <kai.koehne@nokia.com>
Diffstat (limited to 'tools/qmlplugindump')
-rw-r--r--tools/qmlplugindump/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/qmlplugindump/main.cpp b/tools/qmlplugindump/main.cpp
index 7e50118041..61564d4303 100644
--- a/tools/qmlplugindump/main.cpp
+++ b/tools/qmlplugindump/main.cpp
@@ -177,7 +177,7 @@ QSet<const QMetaObject *> collectReachableMetaObjects(const QString &importCode,
foreach (const QDeclarativeType *baseExport, baseExports) {
bool match = false;
foreach (const QDeclarativeType *extensionExport, extensionExports) {
- if (baseExport->module() == extensionExport->module()
+ if (baseExport->qmlTypeName() == extensionExport->qmlTypeName()
&& baseExport->majorVersion() == extensionExport->majorVersion()
&& baseExport->minorVersion() == extensionExport->minorVersion()) {
match = true;