Why can't new webassembly projects find qt variable types?
Solved
Qt for WebAssembly
-
wrote on 6 May 2023, 12:31 last edited by
-
wrote on 7 May 2023, 08:06 last edited by
For one, you need to use the correct emscripten version for Qt version, as detailed in:
https://doc.qt.io/qt-5/wasm.html#install-emscripten
or
https://doc.qt.io/qt-6/wasm.html#installing-emscripten -
wrote on 6 May 2023, 12:41 last edited by JonB 5 Jun 2023, 12:41
@mirro
The errors about types stem from (a) not being able to find requested bluetooth module and (b) somehow as a result of that it has not read the definitions forQObject
,QString
etc. So I would sort that out first. How did you include bluetooth module in your project, and is it available under WebAssembly? -
wrote on 7 May 2023, 08:06 last edited by
For one, you need to use the correct emscripten version for Qt version, as detailed in:
https://doc.qt.io/qt-5/wasm.html#install-emscripten
or
https://doc.qt.io/qt-6/wasm.html#installing-emscripten -
1/3