Commit e959967f authored by Kai Koehne's avatar Kai Koehne
Browse files

Qml support: Bump version of qml files from Qt 4.6 to Qt 4.7

Reviewed-by: Thomas Hartmann
parent 559ac206
......@@ -63,7 +63,7 @@ QString QmlFileWizard::fileContents(const QString &fileName) const
QTextStream str(&contents);
// str << CppTools::AbstractEditorSupport::licenseTemplate();
str << QLatin1String("import Qt 4.6\n")
str << QLatin1String("import Qt 4.7\n")
<< QLatin1String("\n")
<< QLatin1String("Rectangle {\n")
<< QLatin1String(" width: 640\n")
......
......@@ -106,7 +106,7 @@ Core::GeneratedFiles QmlProjectApplicationWizard::generateFiles(const QWizard *w
QTextStream out(&contents);
out
<< "import Qt 4.6" << endl
<< "import Qt 4.7" << endl
<< endl
<< "Rectangle {" << endl
<< " width: 200" << endl
......
......@@ -256,10 +256,10 @@ int main(int argc, char *argv[])
{
QByteArray code;
code += "import Qt 4.6;\n";
code += "import Qt.widgets 4.6;\n";
code += "import Qt 4.7;\n";
code += "import Qt.widgets 4.7;\n";
code += "import Qt.multimedia 1.0;\n";
code += "import Qt.labs.particles 4.6;\n";
code += "import Qt.labs.particles 4.7;\n";
code += "import org.webkit 1.0;\n";
code += "Item {}";
QDeclarativeComponent c(engine);
......@@ -284,10 +284,10 @@ int main(int argc, char *argv[])
tyName = tyName.mid(tyName.lastIndexOf('/') + 1);
QByteArray code;
code += "import Qt 4.6;\n";
code += "import Qt.widgets 4.6;\n";
code += "import Qt 4.7;\n";
code += "import Qt.widgets 4.7;\n";
code += "import Qt.multimedia 1.0;\n";
code += "import Qt.labs.particles 4.6;\n";
code += "import Qt.labs.particles 4.7;\n";
code += "import org.webkit 1.0;\n";
code += tyName;
code += " {}\n";
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment