summaryrefslogtreecommitdiff
path: root/src/plugins/qmljseditor/qmlfilewizard.cpp
diff options
context:
space:
mode:
authorKai Koehne <kai.koehne@nokia.com>2010-11-30 16:23:22 +0100
committercon <qtc-committer@nokia.com>2010-12-07 11:27:30 +0100
commit33d66233b57a0f02d7fbbf5fc6cf100f36a8be6e (patch)
treefe901d4cc471eda737ecc317a68c8d45d6100d43 /src/plugins/qmljseditor/qmlfilewizard.cpp
parente15e62c34865f4e4acf76a97d4259115ed9bfd0f (diff)
downloadqt-creator-33d66233b57a0f02d7fbbf5fc6cf100f36a8be6e.tar.gz
QmlWizards: Use 'QtQuick 1.0' namespace
Use the 'QtQuick 1.0' namespace introduced in 4.7.1. This makes them in line with the examples/demos we ship in the SDK, but breaks for 4.7.0 (e.g. N900). Task-number: QTCREATORBUG-3243
Diffstat (limited to 'src/plugins/qmljseditor/qmlfilewizard.cpp')
-rw-r--r--src/plugins/qmljseditor/qmlfilewizard.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/qmljseditor/qmlfilewizard.cpp b/src/plugins/qmljseditor/qmlfilewizard.cpp
index 31918e7ec4..5a8278aa25 100644
--- a/src/plugins/qmljseditor/qmlfilewizard.cpp
+++ b/src/plugins/qmljseditor/qmlfilewizard.cpp
@@ -63,7 +63,7 @@ QString QmlFileWizard::fileContents(const QString &fileName) const
// str << CppTools::AbstractEditorSupport::licenseTemplate();
// 100:62 is the 'golden ratio'
- str << QLatin1String("import Qt 4.7\n")
+ str << QLatin1String("import QtQuick 1.0\n")
<< QLatin1String("\n")
<< QLatin1String("Rectangle {\n")
<< QLatin1String(" width: 100\n")