forked from qt-creator/qt-creator
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
This commit is contained in:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user