forked from qt-creator/qt-creator
McuSupport: Use module version for import in wizard generated code
Allows Qt Creator to work with the qml document, e.g. open it in Qt Quick Designer. Qul does not require an import version but accepts one. Change-Id: Idd52bc855b31cf7d25a8a6b524f629e2904bda17 Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io> Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
pragma main;
|
||||
import QtQuick
|
||||
import QtQuick 2.0
|
||||
|
||||
Rectangle {
|
||||
width: 480
|
||||
@@ -9,5 +9,6 @@ Rectangle {
|
||||
anchors.centerIn: parent
|
||||
color: "salmon"
|
||||
text: "Hello World!"
|
||||
font.pixelSize: 14
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user