mapeditor/tiled

Do you want to work on this issue?

You can request for a bounty in order to promote it!

Could not find the Qt platform plugin "wayland" #4047

masDO1337 posted onGitHub

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.

posted by bjorn 8 months ago

Fund this Issue

$0.00
Funded
Only logged in users can fund an issue

Pull requests