News for hackers. Stuff that matters.
Re:Web Based Qt Design Viewer by arximboldi on Thursday October 24, 2019 @12:55PM (#21346460)
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?

Re:Web Based Qt Design Viewer by jcelerier on Thursday October 24, 2019 @04:50PM (#21349019)
> 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
Re:Web Based Qt Design Viewer by llornkcor on Friday October 25, 2019 @05:45AM (#21353316)
It is open source. You will need the emscripten compiler. 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.
Re:Web Based Qt Design Viewer by jariel on Thursday October 24, 2019 @01:21PM (#21346835)
Most 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.

Re:Web Based Qt Design Viewer by Data_Junkie on Thursday October 24, 2019 @11:39PM (#21351652)
Qmake the most underrated thing EVER.