Qt Creator on Ubuntu 22.04

On Ubuntu 22.04 fresh install from OOWOW

$ sudo apt install qtcreator
Installs without issue

$ qtcreator
Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
qtcreator: symbol lookup error: /usr/lib/aarch64-linux-gnu/qt5/plugins/wayland-graphics-integration-client/libqt-plugin-wayland-egl.so: undefined symbol: eglGetPlatformDisplay

but

$sudo qtcreator
Runs fine

Maybe a permission issue?
Any thoughts?

Perhaps it just needed root privileges to do access the variable, shouldn’t be of too much concern :slightly_smiling_face:

In file /etc/environment put line:
QT-QPA-PLATFORM=xcb
and after reboot (log out works also) Qt Creator works for khadas user.

Didn’t work. No change.

Try with underscore:
QT_QPA_PLATFORM=xcb
Sorry, but when I type text and added bold something is mess up :frowning:

1 Like

That worked, thanks!