Could not find the Qt platform plugin "wayland"
Describe the bug Cannot run AppImage
To Reproduce run ./Tiled-1.11.0_Linux_Qt-5_x86_64.AppImage or ./Tiled-1.11.0_Linux_Qt-6_x86_64.AppImage
Expected behavior qt.core.plugin.factoryloader: checking directory path "/tmp/.mount_Tiled-4TIzQy/usr/plugins/platforms" ... qt.core.plugin.factoryloader: looking at "/tmp/.mount_Tiled-4TIzQy/usr/plugins/platforms/libqxcb.so" qt.core.plugin.loader: Found metadata in lib /tmp/.mount_Tiled-4TIzQy/usr/plugins/platforms/libqxcb.so, metadata= { "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3", "MetaData": { "Keys": [ "xcb" ] }, "archlevel": 1, "className": "QXcbIntegrationPlugin", "debug": false, "version": 395008 }
qt.core.plugin.factoryloader: Got keys from plugin meta data QList("xcb") qt.core.plugin.factoryloader: checking directory path "/tmp/.mount_Tiled-4TIzQy/usr/bin/platforms" ... 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.
Available platform plugins are: xcb.
[1] 4587 IOT instruction (core dumped) ./Tiled-1.11.0_Linux_Qt-6_x86_64.AppImage
Specifications:
- OS: Arch Linux x86_64
- WM: Hyprland (Wayland)
- Tiled Version: Tiled-1.11.0_Linux_Qt-5_x86_64.AppImage or Tiled-1.11.0_Linux_Qt-6_x86_64.AppImage
Indeed I don't think the Wayland plugin ships with the AppImage currently, so you'd need to have XWayland available to be able to run the AppImage.
Since you're running Arch Linux, I would recommend to just use the Arch Linux Tiled package, which is up-to-date. Alternatively, you could set up Flatpak and install Tiled from there. Both should work fine on Wayland. The AppImage is a kind of fall-back that works most of the time, but this type of distribution is not without its drawbacks.