Page MenuHomePhabricator

Port Huggle to WebAssembly
Open, LowPublic

Description

That way we could run Huggle in a browser!

http://blog.qt.io/blog/2018/05/22/qt-for-webassembly/

Qt5 already supports targetting WebAssembly but it's not very stable yet. Some things may not be very well supported and I am afraid web browser component is also not going to be available so this is probably a very long term task - also think about it - running a web browser inside of web browser! Interesting times indeed

More info: https://wiki.qt.io/Qt_for_WebAssembly

Blocking: Qt for WASM doesn't support threading and almost every single Qt module except for QtBase at this moment. Huggle depends on all of these so it's not possible to compile it into WASM right now, but maybe in future it will work.

Qt also supports only building via qmake, which is sadly not possible for us, since there are many 3rd dependencies (such as yaml-cpp) that require cmake to build