Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Dummy ICU library approach for embedded devices
So guys, I work with an embedded device with limited flash memory and I'm trying to build qtwebengine on it QT5. I don't know if I build ICU correctly but the resulting size was very bad. Did someone try using a dummy library for ICU dependecy? From what I read this dependency is only for unicode(though I'm not that sure) and I'd be fine with it since my project target is an intranet.
Hi and welcome to devnet,
You can customize ICU to fit your needs. Take a look here.
Out of curiosity, do I understand correctly that your are compiling Qt on a device internal flash memory ? What size and type is it ?
I'm cross compiling it on a debian pc. One of the target machines has 256mb and the other 128mb.
Both with only linuxfb, so I had to use the 2d renderer to build the browser.
QT modules shared libraries and qtwebengine surpassed 100mb in size, so it was prohibitive to use it on the 128mb machine. Didn't know it was possible to build the ICU this way.
Thanks, the link will be very helpful.
Konstantin Tokarev last edited by
@bengije You may want to use new QtWebKit instead of QtWebEngine, it takes less storage space
Thanks Konstantin! Really good news for me. I will try this solution asap...