Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
6.4.0 Beta2
-
236439de7 (dev), b8c6c3ea0 (dev), 6b049e58f (6.5), 9f5ee8655 (6.5)
Description
Using Property bindings this way
import QtQuick Window { width: 640 height: 480 visible: true title: 'Resolve my color type' Item { id: foo states: [ State { PropertyChanges { target: foo myColor: Qt.rgba(0.5, 0.5, 0.5, 0.16) } } ] property color myColor: 'black' } }
makes the linter say:
Error: main.qml:16:21: Could not compile binding for myColor: Cannot resolve property type for binding on myColor import QtQuick ^