Line: 1: Qt Quick emulation layer crashed

Viewed 4042

I created an empty QT Quick Application. my compiler is MinGW 64. My project has main.qml file:

import QtQuick 2.14
import QtQuick.Window 2.14

Window {
    visible: true
    width: 640
    height: 480
    title: qsTr("Hello World")
} 

but when I want to see its UI in designer it gives me an error: Line: 1: Qt Quick emulation layer crashed.

I change User fallback QML emulation layer to "C:\Qt\Qt5.14.0\Tools\QtCreator\bin" but it does not work.

enter image description here

enter image description here

enter image description here

1 Answers

I had the same misbehaviour with my fresh Qt Creator installation on Ubuntu 20.04 with Qt6.

I solved my specific misbehaviour with the installation and usage of Qt5.12. In the Qt Quick Settings I chose the new installed Qt5.12 installation. enter image description here

Related