Qt运行出现 Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run....解决

Ubuntu21.10版本

Qt Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.

change:
/etc/gdm3/custom.conf #WaylandEnable=false 删除这个# reboot

你可能感兴趣的:(笔记,qt5)