当前位置: 代码迷 >> 综合 >> Qt运行出现 Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run....解决
  详细解决方案

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

热度:28   发布时间:2023-11-05 12:49:38.0

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

  相关解决方案