Currently zeal uses Qt WebEngine for showing the documentation. While it is great, it is also a huge dependency and effectively makes the app more or less equivalent to an electron app. I think litehtml is a library that can be used instead of Qt WebEngine, which is a lightweight html renderer.
Advantages:
- Small dependency
- Lower memory usage
Disadvatages
- No javascript and no dynamic content (perhaps its an advantage).
- haven't benchmarked, but seems a bit slower e.g., it takes 2s to load the documentation for
QString on my laptop with AMD4700U/16G while it is plugged in + high perf profile
Switching wont be a huge effort. I have a wip branch that can be used to try it out. I have only tested it with Qt documentation. If there are documentations that need javascript to work correctly then probably the switch can't be made.
Currently zeal uses Qt WebEngine for showing the documentation. While it is great, it is also a huge dependency and effectively makes the app more or less equivalent to an electron app. I think litehtml is a library that can be used instead of Qt WebEngine, which is a lightweight html renderer.
Advantages:
Disadvatages
QStringon my laptop with AMD4700U/16G while it is plugged in + high perf profileSwitching wont be a huge effort. I have a wip branch that can be used to try it out. I have only tested it with Qt documentation. If there are documentations that need javascript to work correctly then probably the switch can't be made.