[Interest] webassembly. Qt won't configure

Morten Sørvig Morten.Sorvig at qt.io
Wed Dec 12 11:32:26 CET 2018



> On 9 Dec 2018, at 02:01, Pierre Chicoine <pierrechicoine606 at gmail.com> wrote:
> 
> Followed all instructions at: 
> https://wiki.qt.io/Qt_for_WebAssembly
> 
> After installing emscripten
> 
> Downloaded qt 5.12 source and tried to compile for webassembly but I get an error that the webassembly platform doesn't exist when using the qt build instructions.
> 
> after Qt 5 git and init-repository
> 
> This instruction line from the site says:
> ./configure -xplatform wasm-emscripten -nomake examples -prefix /home/pierre/qt5/qtbase
> 
> but gives the error:
> ERROR: Invalid target platform 'wasm-emscripten'.
> 
> I looked in the configure file in qtbase and I see nothing on this target. 
> 
> Anyone know what's wrong.


Hi,

That configure line looks correct to me. Which branch is qtbase on? (‘git branch’), Do you have qtbase/mkspecs/wasm-emscripten/ ?

Morten


More information about the Interest mailing list