Created attachment 899048 [details] fail-message.txt /var/tmp/portage/app-i18n/fcitx-configtool-5.1.6-r1/work/fcitx5-configtool-5.1.6/layout/keyboardlayoutwidget.cpp: In function ‘bool fcitx::kcm::{anonymous}::isPlatformX11()’: /var/tmp/portage/app-i18n/fcitx-configtool-5.1.6-r1/work/fcitx5-configtool-5.1.6/layout/keyboardlayoutwidget.cpp:57:55: error: ‘QX11Application’ is not a member of ‘QNativeInterface’; did you mean ‘QWaylandApplication’?
Created attachment 899049 [details] emerge-info.txt
Created attachment 899050 [details] use-flags of app-i18n/fcitx-configtool
need a build.log, compressed if necessary
Created attachment 899052 [details, diff] patch
I confirmed that this problem occurs in a pure wayland environment. As workaround you can apply this patch: https://github.com/fcitx/fcitx5-configtool/pull/79. Upstream wants to add a wayland version of KeyboardLayout, so the patch above was not merged.
Created attachment 899053 [details] build.log
Thanks @yongxiang for your quick reply. I'll try this patch today and report here.
I'm afraid I got the same error after I modify the ebuild applying this patch.
I compromised. I successfully built app-i18n/fcitx5-configtool after re-emerging dev-qt/qtbase with USE=X
(In reply to Fpemud from comment #8) > I'm afraid I got the same error after I modify the ebuild applying this > patch. I need build.log to determine the problem. The keyboardlayoutwidget.cpp will no longer need to be compiled if this patch is applied. The patch is recommended to be placed in the /etc/portage/patches/app-i18n/fcitx-configtool-5.1.6-r1/ directory
(In reply to Fpemud from comment #9) > I compromised. I successfully built app-i18n/fcitx5-configtool after > re-emerging dev-qt/qtbase with USE=X It's also a workaroud.