9 ms·
This looks pretty cool! I am actually shopping for a GUI framework for a new project and WebAssembly support is a potential critical feature. Does someone kno
by arximboldi 7y ago
This looks pretty cool! I am actually shopping for a GUI framework for a new project and WebAssembly support is a potential critical feature.
Does someone know if WebAssembly support is available on the open-source Qt?
Also: is it one of those features that is a pain in the ass to set up from CMake instead of QMake?
- jariel 7y agoMost of QT is LPGL. Remember that WA lives in a black box with nary any access to networking, other APIs etc. and communication in/out of the block via shared memory is very, very low level. QT is still heavily reliant on QMake in reality, but that should be a small part of the decision equation.
- Data_Junkie 7y agoQmake the most underrated thing EVER.
- jcelerier 7y ago> Does someone know if WebAssembly support is available on the open-source Qt? it is. I know that on windows the toolchain is available directly from the online installer, but I think that it isn't on linux. It's a quick build however : git clone qt5 https://code.qt.io/qt/qt5.git cd qt5 git submodule update --init qtbase qtdeclarative mkdir ../build cd ../build ../qt5/configure -xplatform wasm-emscripten -nomake examples -nomake tests -opensource -confirm-license -prefix /opt/qt5-wasm make -jwhatever && make install
- llornkcor 7y agoIt is open source. You will need the emscripten compiler. https://wiki.qt.io/Qt_for_WebAssembly https://wiki.qt.io/Qt_for_WebAssembly It is possible to use cmake, it is a bit of a pain to set this up though.