I created an empty QT Quick Application and a ui.qml file in the project folder but I'm unable to open the ui file in design mode. A dialog box describing error message says:
ine:1: Qt Quick emulator layer crash
Taking a look at line 1 of the code, i can't find any error
import QtQuick 2.12
import QtQuick.Controls 2.12
Item {
width: 400
height: 400
Page {
id: page
width: 200
height: 200
Button {
id: button
}
CheckBox {
id: checkBox
text: qsTr("Check Box")
}
Label {
id: label
text: qsTr("Label")
}
}
}
I tried changing the path for the QML EMULATOR but it didn't solve the issue.
path configurations
What can be the problem and how can it be fixed?