OBS Studio doesn't open with Wayland

Hello everyone,
I had a problem with OBS Studio recently after I installed it.
When I tried to open OBS, it showed this message:
*

$ obs
Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
qt.qpa.plugin: Could not find the Qt platform plugin “wayland” in “”
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Aborted (core dumped)

*I could solve it installing “libqt5-qtwayland” via zypper. So, if someone is in trouble with this, you can try what I did.