[GH-ISSUE #152] [BUG] - OnTheSpot GUI fails to start on Wayland due to missing Qt platform plugin #116

Open
opened 2026-03-04 12:29:21 +03:00 by kerem · 4 comments
Owner

Originally created by @xaviqo on GitHub (Aug 30, 2024).
Original GitHub issue: https://github.com/casualsnek/onthespot/issues/152

When attempting to launch the onthespot_gui application, it fails with an error related to the Qt platform plugin. The application cannot start because the "wayland" Qt platform plugin could not be found. This issue occurs while using OnTheSpot version 0.5 on Fedora 39.

Error:

OTS Version : 0.5
Config version: 0.5
Attempting to use system ffmpeg binary !
Using ffmpeg binary at: /usr/bin/ffmpeg
[2024-08-30 19:40:21,050 :: init :: /home/xavi/.local/lib/python3.12/site-packages/onthespot/init.py -> 11: main() :: INFO] -> Starting application in
3
2
1
Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
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.

[1] 7370 IOT instruction (core dumped) onthespot_gui

Originally created by @xaviqo on GitHub (Aug 30, 2024). Original GitHub issue: https://github.com/casualsnek/onthespot/issues/152 When attempting to launch the onthespot_gui application, it fails with an error related to the Qt platform plugin. The application cannot start because the "wayland" Qt platform plugin could not be found. This issue occurs while using OnTheSpot version 0.5 on Fedora 39. Error: OTS Version : 0.5 Config version: 0.5 Attempting to use system ffmpeg binary ! Using ffmpeg binary at: /usr/bin/ffmpeg [2024-08-30 19:40:21,050 :: __init__ :: /home/xavi/.local/lib/python3.12/site-packages/onthespot/__init__.py -> 11: main() :: INFO] -> Starting application in 3 2 1 Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway. 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. [1] 7370 IOT instruction (core dumped) onthespot_gui
Author
Owner

@xaviqo commented on GitHub (Aug 30, 2024):

I've also tried to force xcb but the issue persists:

QT_QPA_PLATFORM=xcb onthespot_gui

<!-- gh-comment-id:2322056828 --> @xaviqo commented on GitHub (Aug 30, 2024): I've also tried to force xcb but the issue persists: QT_QPA_PLATFORM=xcb onthespot_gui
Author
Owner

@justin025 commented on GitHub (Aug 31, 2024):

Of my releases here (v0.6) would you prefer an appimage or a binary. Neither are built with wayland support but I could build whichever you prefer.

Since you look like an experienced developer you could just run the build scripts yourself, they should be pretty easy to follow.

<!-- gh-comment-id:2322763191 --> @justin025 commented on GitHub (Aug 31, 2024): Of my releases here [(v0.6)](https://github.com/justin025/onthespot/releases/tag/v0.6) would you prefer an appimage or a binary. Neither are built with wayland support but I could build whichever you prefer. Since you look like an experienced developer you could just run the build scripts yourself, they should be pretty easy to follow.
Author
Owner

@RandomLegend commented on GitHub (Sep 2, 2024):

As a wayland user aswell, i'd love to have a wayland compatible build myself!

I don't care wether it's appiamge or binary :)

<!-- gh-comment-id:2325293657 --> @RandomLegend commented on GitHub (Sep 2, 2024): As a wayland user aswell, i'd love to have a wayland compatible build myself! I don't care wether it's appiamge or binary :)
Author
Owner

@justin025 commented on GitHub (Sep 3, 2024):

I added wayland libraries to the 0.6.1 builds https://github.com/justin025/onthespot/releases/tag/v0.6.1

<!-- gh-comment-id:2325407283 --> @justin025 commented on GitHub (Sep 3, 2024): I added wayland libraries to the 0.6.1 builds https://github.com/justin025/onthespot/releases/tag/v0.6.1
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/onthespot#116
No description provided.