Any Qt Quick application can be launched with the webgl platform plugin as follows:
./qmlapplication -platform webgl
This starts a lightweight web server on port 8080, that the client can connect to with a web browser that supports WebGL. The listening port can be configured as follows:
./qmlapplication -platform webgl:port=80
Keyboard, mouse, touch, and multi-touch events from the client are passed to the application.
threaded render loop
. On Windows and other platforms that use a different render loop by default, set the
environment variable accordingly: