You are not logged in.

#1 2017-06-10 11:49:08

heisenberg
Member
Registered: 2017-05-27
Posts: 87

[SOLVED] could not find or load the Qt platform plugin "wayland"

Hi, I installed dropbox from aur on kde plasma (running on wayland). When I try to launch it I get this message:

!! (Qt:Fatal) This application failed to start because it could not find or load the Qt platform plugin "wayland".

Available platform plugins are: xcb.

Reinstalling the application may fix this problem.

In aur's comment I found this:

Notavi commented on 2016-08-09 10:34

Doesn't appear to work properly with Wayland desktops, although this can easily be worked around when starting dropbox manually by setting QT_QPA_PLATFORM="xcb".

Can the package be updated to avoid having to manually do this? Especially as people will probably not want this environment variable set for other applications (it forces Qt to use X11 instead of Wayland, so it's more of a compatibility fix than anything else).

I don't know how to set QT_QPA_PLATFORM="xcb", what it does exactly and/or if there's any other way to launch dropbox.

Thanks in advance for any answer.

EDIT
Thanks @loqs, solved using env https://wiki.archlinux.org/index.php/En … #Utilities

Last edited by heisenberg (2017-06-10 14:00:41)

Offline

#2 2017-06-10 11:56:32

loqs
Member
Registered: 2014-03-06
Posts: 19,114

Re: [SOLVED] could not find or load the Qt platform plugin "wayland"

Welcome to the arch linux forums heisenberg.  See Environment_variables.

Offline

Board footer

Powered by FluxBB