Wizards.QmlProject: Creating a Qt Quick 2.0 file

The reference to Maemo does not make sense anymore.

Change-Id: Ic7f8245912d200397e7dcc20e69ee42eed2939dc
Reviewed-by: hjk <qthjk@ovi.com>
This commit is contained in:
Thomas Hartmann
2012-11-23 12:46:43 +01:00
committed by hjk
parent 5bd251e805
commit 8d825b5b09

View File

@@ -79,7 +79,7 @@ Core::BaseFileWizardParameters QmlProjectApplicationWizard::parameters()
"QML file that contains the main view.\n\n" "QML file that contains the main view.\n\n"
"You can review Qt Quick UI projects in the QML Viewer and you need not build them. " "You can review Qt Quick UI projects in the QML Viewer and you need not build them. "
"You do not need to have the development environment installed " "You do not need to have the development environment installed "
"on your computer to create and run this type of projects.\n\nRequires <b>Qt 4.7.4</b> or newer.")); "on your computer to create and run this type of projects.\n\nRequires <b>Qt 5.0</b> or newer."));
parameters.setCategory(QLatin1String(ProjectExplorer::Constants::QT_APPLICATION_WIZARD_CATEGORY)); parameters.setCategory(QLatin1String(ProjectExplorer::Constants::QT_APPLICATION_WIZARD_CATEGORY));
parameters.setDisplayCategory(QT_TRANSLATE_NOOP("ProjectExplorer", "Qt Application")); parameters.setDisplayCategory(QT_TRANSLATE_NOOP("ProjectExplorer", "Qt Application"));
return parameters; return parameters;
@@ -119,8 +119,7 @@ Core::GeneratedFiles QmlProjectApplicationWizard::generateFiles(const QWizard *w
QTextStream out(&contents); QTextStream out(&contents);
out out
<< "// import QtQuick 1.0 // to target Maemo 5" << endl << "import QtQuick 2.0" << endl
<< "import QtQuick 1.1" << endl
<< endl << endl
<< "Rectangle {" << endl << "Rectangle {" << endl
<< " width: 360" << endl << " width: 360" << endl