[Development] Question about Qt's future

Mark Gaiser markg85 at gmail.com
Sun Apr 27 23:31:12 CEST 2014


On Sun, Apr 27, 2014 at 10:37 PM, Thiago Macieira
<thiago.macieira at intel.com> wrote:
> Em dom 27 abr 2014, às 12:55:58, Peter Kümmel escreveu:
>> Having imperative code on the JS side is also the root of the rejection of
>> QML for many C++ developers. If QML would have been just a improved .ui
>> nobody would have complained.
>
> We'd end up with one of the problems of CSS which is that you can't do
> calculations in the bindings. I can't do
>
>         width: 50% - 10em
>


Actually, you can..
http://css-tricks.com/a-couple-of-use-cases-for-calc/

And even Internet Explorer has support for it: http://caniuse.com/#feat=calc

> The moment you start adding some math, you need stuff like Math.random() and
> you end up again in JS.



More information about the Development mailing list