QtScope support with wayland
Hi, Wondering if someone already found a way to run QtScope with wayland without reverting to Xorg ? This is by default on Ubuntu 22.04 Jammy Jellyfish desktop.
If you attempt to run nr-softmodem with --dqt option and sudo, you will get a warning and an error like this:
Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
QStandardPaths: runtime directory '/run/user/1000' is not owned by UID 0, but a directory permissions 0700 owned by UID 1000 GID 1000
Segmentation fault
Tricking on the permissions of the /run/user/1000 directory and declaring the env variable QT_QPA_PLATFORM next to the sudo, I pass the error message but come onto another more serious:
QSocketNotifier: Can only be used with threads started with QThread.
I will continue to investigate. Maybe the easiest could be simply to revert to Xorg for now :-)
-Laurent
Edited by Robert Schmidt