diff options
author | Christian Kamm <christian.d.kamm@nokia.com> | 2011-06-27 09:01:20 (GMT) |
---|---|---|
committer | Christian Kamm <christian.d.kamm@nokia.com> | 2011-06-27 09:01:20 (GMT) |
commit | a0bd8d2dc68fdf993821b5eb881769448b34dffd (patch) | |
tree | 1b48daf31a5967dc78ea76cdb6cbd7863df155a8 /tools/qmlplugindump | |
parent | cf56b0be5ee15663c8b3e6b87dc4161bbbc911b4 (diff) | |
download | Qt-a0bd8d2dc68fdf993821b5eb881769448b34dffd.zip Qt-a0bd8d2dc68fdf993821b5eb881769448b34dffd.tar.gz Qt-a0bd8d2dc68fdf993821b5eb881769448b34dffd.tar.bz2 |
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
Reviewed-by: kkoehne
Diffstat (limited to 'tools/qmlplugindump')
-rw-r--r-- | tools/qmlplugindump/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/qmlplugindump/main.cpp b/tools/qmlplugindump/main.cpp index b414c3f..454f0f8 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; |