forked from qt-creator/qt-creator
Using import Qt 4.7 (again)
We have to support the N900 Reviewed-by: dt
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
import QtQuick 1.0
|
import Qt 4.7
|
||||||
|
|
||||||
Rectangle {
|
Rectangle {
|
||||||
width: 200
|
width: 200
|
||||||
|
|||||||
@@ -62,7 +62,7 @@ QString QmlFileWizard::fileContents(const QString &fileName) const
|
|||||||
QTextStream str(&contents);
|
QTextStream str(&contents);
|
||||||
// str << CppTools::AbstractEditorSupport::licenseTemplate();
|
// str << CppTools::AbstractEditorSupport::licenseTemplate();
|
||||||
|
|
||||||
str << QLatin1String("import QtQuick 1.0\n")
|
str << QLatin1String("import Qt 4.7\n")
|
||||||
<< QLatin1String("\n")
|
<< QLatin1String("\n")
|
||||||
<< QLatin1String("Rectangle {\n")
|
<< QLatin1String("Rectangle {\n")
|
||||||
<< QLatin1String(" width: 640\n")
|
<< QLatin1String(" width: 640\n")
|
||||||
|
|||||||
@@ -114,7 +114,7 @@ Core::GeneratedFiles QmlProjectApplicationWizard::generateFiles(const QWizard *w
|
|||||||
QTextStream out(&contents);
|
QTextStream out(&contents);
|
||||||
|
|
||||||
out
|
out
|
||||||
<< "import QtQuick 1.0" << endl
|
<< "import Qt 4.7" << endl
|
||||||
<< endl
|
<< endl
|
||||||
<< "Rectangle {" << endl
|
<< "Rectangle {" << endl
|
||||||
<< " width: 200" << endl
|
<< " width: 200" << endl
|
||||||
|
|||||||
Reference in New Issue
Block a user