Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
Attempting to run mkchromecast -t in Ubuntu Kinetic (Mkchromecast 0.3.9). Terminal gets stuck at this warning (see title above). Any ideas as to what may be wrong?
Again, the warning is: "Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway."
Same issue here with a fresh Ubuntu 22.04 install.
Mkchromecast doesn't start after that?
Have you tried setting the QT_QPA_PLATFORM=wayland?
You can add this to your .bashrc to make it permanent
export QT_QPA_PLATFORM=wayland
Ubuntu 22.04 ships with wayland by default, right? You should set / have that env var set to tell QT apps that you're using wayland anyway.
On Ubuntu 22.04 according to this https://stackoverflow.com/a/74888186/21861974 I fix that by running the app in terminal with this QT_QPA_PLATFORM="xcb" obs