Qt 6.3.0 Player Application
-
Using
Ubuntu 22.04
and theQt
supplied sample applicationPlayer
I get this errorApplication exit (RuntimeError: index out of bounds)
or
Application exit (RuntimeError: indirect call to null)
. What causes it?My computer is not capable of OpenGL 3+ and
I useexport LIBGL_ALWAYS_SOFTWARE=1
(I am wondering if this setting is somehow being overridden running Player from Qt Creator 7.0.0)I am using emsdk version 3.0.0 which is consistent with Qt 6.3.0
Application output:
10:48:24: Checking available ports... 10:48:24: Found 1001 free ports. 10:48:24: Starting /usr/bin/python3 /home/me/emsdk/upstream/emscripten/emrun.py --browser firefox --port 30000 --no_emrun_detect --serve_after_close /home/me/Qt/Examples/Qt-6.3.0/multimediawidgets/player/player.html... Gtk-Message: 10:48:27.591: Failed to load module "xapp-gtk3-module" Gtk-Message: 10:48:27.988: Failed to load module "canberra-gtk-module" Gtk-Message: 10:48:27.995: Failed to load module "canberra-gtk-module"
The above Gtk-Message seems irrelevant but also happens when invoking
firefox
browser from terminal prompt. InUbuntu 22.04
firefox
is installed fromsnap
by default and these messages relate to that.I would also like to know what is involved in using the latest version of
emscripten
but walking before running seems like the best approach. Any know what is involved it recompiling Qt6 with emsdk 3.1.8?