Qt and wayland

I am running programs on PyCharm and every time I am having a warning:
Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
I tried running export QT_QPA_PLATFORM=wayland but no change.
Does anyone have any suggestion?

The Qt you are using probably does not have Wayland support; is it something bundled in PyCharm? You would have to report it to PyCharm then.

1 Like