Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
masDO1337 opened this issue Aug 31, 2024 · 1 comment
Open

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

masDO1337 opened this issue Aug 31, 2024 · 1 comment
Labels
bug Broken behavior.

Comments

@masDO1337
Copy link

masDO1337 commented Aug 31, 2024

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
@masDO1337 masDO1337 added the bug Broken behavior. label Aug 31, 2024
@bjorn
Copy link
Member

bjorn commented Sep 2, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Broken behavior.
Projects
None yet
Development

No branches or pull requests

2 participants