-
-
Notifications
You must be signed in to change notification settings - Fork 14.7k
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
Kate fails to start unless QT_QPA_PLATFORM_PLUGIN_PATH is set #41026
Comments
Alternatively, |
Works here without:
And kate then launches as normal. |
Huh. Did you run |
Same
|
The issue is that the qt/kde applications don't work well (or at all) unless installed using |
What is it that makes them work as system packages? Must be some environment variable somewhere, right? |
No, it's not quite that simple unfortunately: #24256 (comment) Your two options are:
|
Ok, that settles it then. Thanks for the clear information. |
For any passers-by who happen to read this: It's not necessary to install KDE and it's not necessary to install anything system-wide. Simply installing with It finds the appropriate things via your profile, it's only the environment method via |
While that is technically true, having Qt applications in both the system environment as well as user environments has its own problems in case they happen to be updated at different times. If you have application A in the system environment that depends on Qt 5.9.2 and application B that depends on Qt 5.9.3 just because they were installed at different times, depending on the load order one of them will stop working. |
Right, that would be an issue. My comment is meant only from the perspective of "what do I need to do to make my program start?". To reframe it to be clear: If you have a Qt program that won't start from platform plugin load failure when you
|
The my Qt vs system Qt issue sounds like a tough nut to crack. |
Issue description
Kate fails with:
Steps to reproduce
This works (kate starts, opens its main window, runs fine):
qtbase
should probably set that variable, andkate
wrap it?Technical details
"x86_64-linux"
Linux 4.9.86, NixOS, 17.09.3254.967e40787c5 (Hummingbird)
yes
no
nix-env (Nix) 2.0.2
"nixpkgs-18.09pre140004.425ff431aba, nixos-17.09.3254.967e40787c5"
"nixpkgs-18.09pre140004.425ff431aba"
/home/clacke/.nix-defexpr/channels/nixpkgs
The text was updated successfully, but these errors were encountered: