-
-
Notifications
You must be signed in to change notification settings - Fork 14.6k
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
nextcloud-client: fix qt error at startup #54484
Conversation
The QT_PLUGIN_PATH couldn't find the needed xcb plugin. See also NixOS#51044
I'm currently building |
just tested it with the patched and loclaly built QT and it seems to fix the problem as well. Should we wait for this patch to land in master then? |
See also #54525 |
@Ma27 do you want to backport this to 18.09? |
As |
@Ma27 The bug is about running QT applications from its nix-store path that were built against another qt version than the one part of the current system closure. This is easily reproducible by building the unstable version from a 18.09 system, but the bug should also exists on 18.09. |
I'm afraid I initially misunderstood the root cause of the issue, sorry. I just reread the thread now 😅 In that case it makes absolutely sense to backport, I can do this tomorrow :) |
backported as 68c0e95. Thanks for reminding me to backport! %) |
Fixes the following error: ``` qt.qpa.plugin: Could not find the Qt platform plugin "xcb" in "" This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem. ``` See also NixOS#54484 and others.
Fixes the following error: ``` qt.qpa.plugin: Could not find the Qt platform plugin "xcb" in "" This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem. ``` See also #54484 and others.
Motivation for this change
The QT_PLUGIN_PATH couldn't find the needed xcb plugin.
See also #51044
Things done
sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)nix path-info -S
before and after)