forked from qt-creator/qt-creator
Let the Qt Quick Wizard output import QtQuick 1.1 (instead of 1.0)
...and add a comment to change it to QtQuick 1.0 if S60 5th Ed or Maemo are supposed to be targeted. Task-Number: QTCREATORBUG-6528 Change-Id: I1936f2a5c9725f34b5a8ad4469465f5e2b645957 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@nokia.com>
This commit is contained in:
@@ -119,7 +119,8 @@ Core::GeneratedFiles QmlProjectApplicationWizard::generateFiles(const QWizard *w
|
||||
QTextStream out(&contents);
|
||||
|
||||
out
|
||||
<< "import QtQuick 1.0" << endl
|
||||
<< "// import QtQuick 1.0 // to target S60 5th Edition or Maemo 5" << endl
|
||||
<< "import QtQuick 1.1" << endl
|
||||
<< endl
|
||||
<< "Rectangle {" << endl
|
||||
<< " width: 360" << endl
|
||||
|
||||
Reference in New Issue
Block a user