osgverse icon indicating copy to clipboard operation
osgverse copied to clipboard

osg qt for web

Open alihitman99 opened this issue 1 year ago • 1 comments

in my project i use the library osg and developed with qt 6.5. and now i want to use this project for webAssembly. OS is centos8. i can build the osg for web with setup.sh option 3 but i don't know how to use it for qt. can anyone help me? https://github.com/alihitman99/osg-qml

alihitman99 avatar Oct 27 '24 07:10 alihitman99

I haven't tested Qt with WASM. Personally I think the result will be very huge and not suitable for web transferring. The WASM building script will generate OSG headers and libraries for use in build/sdk_wasm folder. You may use these files as dependencies to compile your own source code, with the Emscripten toolchain of CMake, which will generate .wasm/.html files instead of executables.

xarray avatar Oct 28 '24 11:10 xarray