Could not find the Qt platform plugin "wayland"
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 12.9k
- Forks
- 2k
- Avg merge
- 4h 27m
- Merged PRs (30d)
- 8
Description
**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
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the failure with the Tiled-1.11.0 Linux Qt-5 and Qt-6 AppImages on Arch Linux under Hyprland, then inspect the bundled usr/plugins/platforms directory and its available libqxcb.so plugin. Done means the AppImage launches successfully in this Wayland environment instead of reporting that no Qt platform plugin could be initialized.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp, linux
- Domain
- desktop, operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100