[Development] Question about Qt's future

André Pönitz apoenitz at t-online.de
Mon Apr 28 00:55:12 CEST 2014


On Sun, Apr 27, 2014 at 01:37:33PM -0700, Thiago Macieira 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
> 
> The moment you start adding some math, you need stuff like Math.random() and 
> you end up again in JS.

Not true. Some (basic) math fits the "declarative" needs, and would
be toolable. Math.random() does obviously not fit the bill.

Andre'



More information about the Development mailing list