Re:LibreOffice running natively in the browser via WebAssembly
by wahern on Wednesday February 16, 2022 @02:31AM
(#30357275)
It's mostly written in C++, and the bulk of the effort which made this possible should probably be credited to Qt: https://wiki.qt.io/Qt_for_WebAssembly
[ Parent
| on HN ]
Re:LibreOffice running natively in the browser via WebAssembly
by thorstenb on Wednesday February 16, 2022 @05:17AM
(#30358228)
Qt clearly deserves the credit for having a WASM runtime that gets us a working GUI toolkit. But this was still a gigaton of work to pull off inside LibreOffice (starting many years ago, actually natively using Qt as one of the GUI toolkits in the code, over to porting the build system, how the mainloop runs etc etc).
Also note that using Qt here is mostly a shortcut to get a demo out, longer-term we'd want to use native browser gui.
Re:LibreOffice running natively in the browser via WebAssembly
by llornkcor on Wednesday February 16, 2022 @02:51PM
(#30364830)
> Qt clearly deserves the credit for having a WASM runtime that gets us a working GUI toolkit.
You're welcome. :) What version of Qt did you use for this demo? Also, for local system file access dialog on Qt wasm, you can use https://doc.qt.io/qt-6/qfiledialog.html#getOpenFileContent