[Development] Question about Qt's future

Peter Kümmel syntheticpp at gmx.net
Tue Apr 29 07:14:12 CEST 2014


On 28.04.2014 16:00, Roland Winklmeier wrote:
> 2014-04-27 13:31 GMT+02:00 Peter Kümmel <syntheticpp at gmx.net <mailto:syntheticpp at gmx.net>>:
>
>     On 21.04.2014 13 <tel:21.04.2014%2013>:39, Roland Winklmeier wrote:
>      > - Memory consumption: Even a mini example took about 70 MB of memory,
>      > QtWidgets need a lot less. This is not a complain, I know the JS runtime
>      > needs its initial memory. It was just one factor, because our
>      > application is running as an addon to Flight Simulators and they usally
>      > consum a lot memory. This is especially a major problem with MS Flight
>      > Simulator since it is only available as 32 bit application. Therefore
>      > every any MegaByte is important.
>
>     Especially on "non-fat" embedded systems this is a problem:
>     When you wanna use Linux you need some MBs Ram for the kernel,
>     some to get a running system, and some MBs for your application.
>     So you end at minimum 5-32MBs.
>     Then adding 100MB just to run QML really hurts, and you start
>     looking for alternatives, like using only QWidgets with very
>     limited OpenGL support or not to use a Qt-GUI at all.
>
>     Maybe such systems are also interesting from a business perspective.
>
>
> I did a test with Qt 5.3 beta using an nearly empty dialog and the numbers aren't that bad:
>
> Dialog with two buttons and one menu (release build)
> QtWidgets: about 15 MB
> QML: about 29 MB.

Thanks, looks much better than 70MB.

Peter

>
> The numbers came from TaskManager, so no idea how reliable they are.
> The 70 MB came from a more complex application. I cannot tell how memory increase is associated with the complexity of a
> QML project. So one would really need to perform a more sophisticated benchmark. But its definitely not 100 MB just for
> the JS engine. Sorry if I caused confusion or mixed the numbers in my head.
>
>
>
> _______________________________________________
> Development mailing list
> Development at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/development
>




More information about the Development mailing list