summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorChristian Kamm <christian.d.kamm@nokia.com>2011-06-21 10:43:14 +0200
committerChristian Kamm <christian.d.kamm@nokia.com>2011-06-21 13:16:21 +0200
commite53aab11e46d3b4b60c93b422cd5b351b6fffe1f (patch)
treea66fdd80296d21d26e9ad5fb386d2ab038a387b7 /tools
parent2f89a01bdd9f85b58c80a7df4c7885cb6efa8e3b (diff)
qmlplugindump: Fix emitted tooling version.
Fixes 10f16bc55b9e5535bc3353260f97a32e18d70cf1. Reviewed-by: Kai Koehne (cherry picked from commit 9f0fda822aec47da201ae79e6bc807294196a8a2)
Diffstat (limited to 'tools')
-rw-r--r--tools/qmlplugindump/main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/qmlplugindump/main.cpp b/tools/qmlplugindump/main.cpp
index dda5d3da87..0892f4a1ee 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"