-
Task
-
Resolution: Fixed
-
Not Evaluated
-
None
-
Qt Creator 13.0.0-beta1
-
None
-
62f68a2f9 (master)
In order to use Qt for WebAssembly in Qt Creator, a functioning Emscripten SDK has to be registered under Preferences -> Devices -> WebAssembly
Setting up an Emscripten SDK required three steps:
- Check out/clone emsdk from https://github.com/emscripten-core/emsdk
- Installing a binary build emsdk install latest
- Activating a binary build emsdk activate latest
There are a couple of reasons why the Emscripten SDK registration in Qt Creator could fail:
- Provided path exists but is not an emsdk checkout
- Provided path is an emsdk checkout but no binary build is installed
- A binary build is installed but it is not activated
- A binary build is activated but Qt Creator cannot execute emsdk tools
e.g. because a Python interpreter is not found - Qt Creator can execute emsdk tools but fails to parse the output
e.g. because spaces in paths could change the tool's output
With any of these failures, the UI in the settings dialog would currently only an empty text field without stating at which stage the registration has failed. It would be helpful for users if an info label could state which of the above points of failure were hit.
- mentioned in
-
Page Loading...
For Gerrit Dashboard: QTCREATORBUG-30057 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
577764,8 | WebAssembly: Provide diagnostics for an unsuccessful emsdk detection | master | qt-creator/qt-creator | Status: MERGED | +2 | +1 |