Details
-
Bug
-
Resolution: Invalid
-
P1: Critical
-
6.4.1
Description
Using constructs like
import QtQuick Window { width: 640 height: 480 visible: true title: "Girl, you know it's " + root.active QtObject { id: root readonly property bool active: error.isActive readonly property QtObject error: QtObject { property bool isActive: true } } }
results in
Warning: main.qml:11:46: Property "isActive" not found on type "QObject" readonly property bool active: error.isActive ^^^^^^^^ Error: main.qml:11:46: Could not compile binding for active: Cannot load property isActive from QObject of (component in /home/prcs1076/tmp/build-undefined-Desktop_Qt_6_4_1_GCC_64bit-Debug/main.qml)::error with type QObject. readonly property bool active: error.isActive ^^^^^^^^
. While it works, it's unclear what type to use in the property definition to make the error disappear.