Nominate our 2022 Qt Champions!

Qt framework for 64MB RAM platform

  • Hi All,
    I'm using a Linux Board with 64MB RAM.
    An empty Qt application, just a simple window, takes 17 MB, so about 27% just for loading the QtCore and QtGui.
    Obviously It will increase the size by the time adding stuff, so I'm afraid to overcome massively half the memory size, leaving few space for other applications and generally making the whole system slow and few reactive.
    Anyone can tell me if I can use Qt for this kind of systems and if there is some way to reduce memory consumption?

    Thanks everybody!

  • Lifetime Qt Champion


    For such constrained platform what you can try is to build a custom version of Qt that will only contain what your need. Look ath the "managing large numbers of features": document. It's for Qt 4 but IIRC it's still applicable for Qt 5. However such exotic configurations for Qt 5 are not actively tested so you might hit corner cases.

    Hope it helps

  • I will give a look, I don't want to use Qt5 for the moment.
    Thank you, I'll let you know.

Log in to reply