Details
-
Bug
-
Resolution: Fixed
-
P3: Somewhat important
-
6.5.5
-
None
-
ca27c051ab52b764df8c8aab9c33211cbf94eba1
Description
it will give an error like the one below when enabling qmllint cmake target
Warning: Main.qml:11:29: Could not compile binding for ii: Cannot generate efficient code for DefineObjectLiteral [compiler]
and if using the below syntax will gives another error
Warning: Main.qml:11:29: Cannot assign literal of type double to MyNamespace::MyFloat [incompatible-type]
property myFloat f: 123.456
^^^^^^^
please see the attached demo.
6.6.3 works but 6.5.5 won't, is this a known limitation?