diff options
author | Christian Kamm <christian.d.kamm@nokia.com> | 2011-06-21 08:43:14 (GMT) |
---|---|---|
committer | Christian Kamm <christian.d.kamm@nokia.com> | 2011-06-21 10:28:13 (GMT) |
commit | 9f0fda822aec47da201ae79e6bc807294196a8a2 (patch) | |
tree | a80ec6cddc27f2a8f5f3223bba517d19c8473bcc /tools/qmlplugindump | |
parent | fab51c4220b84d15d517e698da59cfb05da02729 (diff) | |
download | Qt-9f0fda822aec47da201ae79e6bc807294196a8a2.zip Qt-9f0fda822aec47da201ae79e6bc807294196a8a2.tar.gz Qt-9f0fda822aec47da201ae79e6bc807294196a8a2.tar.bz2 |
qmlplugindump: Fix emitted tooling version.
Fixes 10f16bc55b9e5535bc3353260f97a32e18d70cf1.
Reviewed-by: Kai Koehne
Diffstat (limited to 'tools/qmlplugindump')
-rw-r--r-- | tools/qmlplugindump/main.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/qmlplugindump/main.cpp b/tools/qmlplugindump/main.cpp index f398358..156278d 100644 --- a/tools/qmlplugindump/main.cpp +++ b/tools/qmlplugindump/main.cpp @@ -510,7 +510,7 @@ int main(int argc, char *argv[]) engine->addImportPath(pluginImportPath); // find all QMetaObjects reachable from the builtin module - QByteArray importCode("import QtQuick 1.1\n"); + QByteArray importCode("import QtQuick 1.0\n"); QSet<const QMetaObject *> defaultReachable = collectReachableMetaObjects(importCode, engine); // this will hold the meta objects we want to dump information of @@ -567,7 +567,7 @@ int main(int argc, char *argv[]) QmlStreamWriter qml(&bytes); qml.writeStartDocument(); - qml.writeLibraryImport(QLatin1String("QtQuick.tooling"), 1, 0); + qml.writeLibraryImport(QLatin1String("QtQuick.tooling"), 1, 1); qml.write("\n" "// This file describes the plugin-supplied types contained in the library.\n" "// It is used for QML tooling purposes only.\n" |