[Development] Question about Qt's future

Roland Winklmeier roland.m.winklmeier at gmail.com
Mon Apr 28 16:00:13 CEST 2014


2014-04-27 13:31 GMT+02:00 Peter Kümmel <syntheticpp at gmx.net>:

> On 21.04.2014 13: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.

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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/development/attachments/20140428/25dea268/attachment.html>


More information about the Development mailing list