Details
-
Bug
-
Resolution: Unresolved
-
Not Evaluated
-
None
-
Qt Creator 13.0.2, Qt Creator 14.0.2
Description
Needs to manually launch the debug session on the command line and connect the QML port on Qt Creator for QML debugging. Otherwise the application launch without waiting for the connection with the QML debugger, the notification widget "Launching QML debugger" keeps loading and never successfully "loaded"
Snippet to reproduce the issue:
import QtQuick import QtQuick.Controls Window { width: 640 height: 480 visible: true title: qsTr("Hello World") function toggleRectangle() { let currentVisibility = rect.visible rect.visible = !currentVisibility } Rectangle { id: rect width: parent.width / 2 height: parent.height / 2 anchors.centerIn: parent color: "lightblue" } Button { anchors.bottom: parent.bottom anchors.horizontalCenter: parent.horizontalCenter text: "Click" onClicked: toggleRectangle() } }