4 ms·
Would dead code elimination be an option, if you are not using all of Qt?
by polymeris 10y ago
Would dead code elimination be an option, if you are not using all of Qt?
- dragly 10y agoIn principle, yes, but I don't think Emscripten can do anything automatically the way things are now. The QML sandbox requires that almost all of QtCore and QtQuick is available because almost all code can be called by the user at runtime. Manually removing code you know is unused might be possible, though. I think I might have heard of some third-party tools that could help with this.