Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
6.4.1
-
6a816a9e0 (dev), 7f3c8b7dd (6.5)
Description
This generates following error
property var v: null Component.onCompleted: { if (v !== null) {} }
Error: main.qml:19:13: Could not compile binding for onCompleted: Cannot generate efficient code for equality comparison on non-primitive types QJSValue of QJSValue and QJSValue of (component in /foo/main.qml)::v with type QVariant if (v !== null) {} ^
Attachments
Issue Links
- resulted in
-
QTBUG-109377 Add equality comparison ability for QObject * vs null and undefined
- Closed