My guess is that the error message comes in a much earlier step in
compilation, in a static analysis when parsing QML.
When there's an expression it can't do this kind of check in compile time
and then the javascript implicit conversion works as a charm and your code
works.
Em dom, 25 de out de 20
I just found out (during the discussion at
https://forum.qt.io/topic/60021 ) that the following items all give a
height of 100:
// Initialization assignment
height: 100
height: "10" + "0"
height: "10" + 0
height: 10 + "0"
// Imperative assignment
height = "100"
Howev