From a37f3001d4b082cf924bacb64fc17d7b9eab0519 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 78eb97083..1787a2366 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 = {