MidiHub Editor doesn't launch on Linux with Wayland without environment variables

If I try to launch the AppImage on Linux running Wayland, I get the following error:

Failed to load client buffer integration: wayland-egl 
 
Failed to load shell integration  
Could not create a shell surface object. 
xkbcommon: ERROR: /usr/share/X11/locale/en_US.UTF-8/Compose:1661:1: unrecognized keysym "dead_hamza" on left-hand si
de 
xkbcommon: ERROR: /usr/share/X11/locale/en_US.UTF-8/Compose:1662:1: unrecognized keysym "dead_hamza" on left-hand si
de 
xkbcommon: ERROR: /usr/share/X11/locale/en_US.UTF-8/Compose:1663:1: unrecognized keysym "dead_hamza" on left-hand si
de 
xkbcommon: ERROR: /usr/share/X11/locale/en_US.UTF-8/Compose:1664:1: unrecognized keysym "dead_hamza" on left-hand si
de 
xkbcommon: ERROR: /usr/share/X11/locale/en_US.UTF-8/Compose:1665:1: unrecognized keysym "dead_hamza" on left-hand si
de 
Could not create a shell surface object. 
Could not create a shell surface object.

It will just hang until I kill it.

You can launch it by doing:

QT_QPA_PLATFORM=xcb ./MidihubEditor_1.16.2.appimage &

I believe this forces QT to use X11 instead of Wayland, so it falls back to xwayland. It took me a while to figure out - it would be cool if it could detect and handle Wayland automatically, even if it just forces the X11 fallback.