So I ported a Python webapp to Qt Qml + WebView and when gathering all required Qt dependencies the directory uses over 100mbs, is this normal?
So I ported a Python webapp to Qt Qml + WebView and when gathering all required Qt dependencies the directory uses over 100mbs, is this normal?
I've only developed Qt apps for the mac and I use C++, not QML. My footprint is usually in the ~ 30MB range. 100MB seems high, but as I said, once you add QML into the mix, I'm not surprised that your footprint requirement is larger.
I assume you've already taken obvious steps like ensuring you're not including framework features that you don't need and not using, etc.
I write the best type of code possible, code that I want to write, not code that someone tells me to write!
adutzu89 (3rd December 2016)
I think this depends a lot on the platfor, the configuration of Qt and which modules of Qt are being used.
E.g. I think at some point on Windows there was/is a deploment dependency on ICU, which has lots of data for timezone handling.
Not need on any modern platform as those have ICU in the system. But developers who's applications didn't need timezone support could build Qt without.
Cheers.
_
adutzu89 (3rd December 2016)
Sorry for not saying which platform is the target: it's Linux/X11.
Yes, I've put only the Qt libraries required.I assume you've already taken obvious steps like ensuring you're not including framework features that you don't need and not using, etc.
Apparently libQt5WebEngineCore.so.5 uses most of mentioned space 75mb.
Yes, web engines are pretty complex these days and Blink is also known to include forks of several libraries.
Cheers,
_
Bookmarks