It is possible to use Qt Creator to build and run your Qt app once you have compiled Qt itself from the command line.
Building with Qt Creator
The Build environment
In Qt Creator, navigate to Tools | Options... | Kits
Then go to the Compilers tab. You need to add emcc as a C compiler, and em++ as a C++ compiler, so click on the Add button and select Custom from the drop-down list.
First select C and add the following details:Â
- Name: emcc (1.38.16)
- Compiler path:Â /home/user/emsdk/emscripten/1.38.16/emcc
- Make path: /usr/bin/make
- ABI: x86 linux unknown elf 64bit
- Qt mkspecs: wasm-emscripten
Select C++ and add the following details:
- Name: emc++(1.38.16)
- Compiler path:Â /home/user/emsdk...