From 7a46e6cb3ca02a478bdafc53c0ac89da6efc050c Mon Sep 17 00:00:00 2001 From: sefidel Date: Tue, 17 Oct 2023 17:31:32 +0900 Subject: [PATCH] im/fcitx5: fix missing plugins on Qt6 (#4468) This commit fixes fcitx5 not working on Qt6 due to missing plugins, by adding them to QT_PLUGIN_PATH. --- modules/i18n/input-method/fcitx5.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/i18n/input-method/fcitx5.nix b/modules/i18n/input-method/fcitx5.nix index 78eb9708..1787a236 100644 --- a/modules/i18n/input-method/fcitx5.nix +++ b/modules/i18n/input-method/fcitx5.nix @@ -28,6 +28,8 @@ in { GTK_IM_MODULE = "fcitx"; QT_IM_MODULE = "fcitx"; XMODIFIERS = "@im=fcitx"; + QT_PLUGIN_PATH = + "${fcitx5Package}/${pkgs.qt6.qtbase.qtPluginPrefix}:\${QT_PLUGIN_PATH}"; }; systemd.user.services.fcitx5-daemon = {