import QtQuick 2.5 not possible (unsupported version)
-
Have you used the Online Installer or the Offline one??
I'm on Mac and I upgraded 2/3 days ago; everything works ok
// main.qml import QtQuick 2.5 import QtQuick.Window 2.2 Window { visible: true MainForm { anchors.fill: parent mouseArea.onClicked: { Qt.quit(); } } }
// MainForm.qml import QtQuick 2.4 Rectangle { property alias mouseArea: mouseArea width: 360 height: 360 MouseArea { id: mouseArea anchors.fill: parent } Text { anchors.centerIn: parent text: "Hello World" } }
is the standard QtQuick template with updated QtQuick version to 2.5
-
thats how my default template looks like at my installation:
main.qml
import QtQuick 2.4 import QtQuick.Window 2.2 Window { visible: true MainForm { anchors.fill: parent mouseArea.onClicked: { Qt.quit(); } } }
MainForm.ui.qml
import QtQuick 2.4 Rectangle { property alias mouseArea: mouseArea width: 360 height: 360 MouseArea { id: mouseArea anchors.fill: parent } Text { anchors.centerIn: parent text: "Hello World" } }