Details
-
Suggestion
-
Resolution: Done
-
P2: Important
-
None
-
95228f0e6 (dev), 3eb726a49 (6.5)
Description
Code
import QtQuick Window { width: 640 height: 480 visible: true Image { visible: source !== Qt.url("") } }
Compiler warning
Warning: main.qml:9:32: Could not compile binding for visible: Cannot generate efficient code for equality comparison on non-primitive types QJSValue of QJSValue and QJSValue of (component in Z:/Projects/build-test-Desktop_Qt_6_5_0_MSVC2019_64bit-Debug/main.qml)::source with type QUrl [compiler] visible: source !== Qt.url("") ^^^