* Package: app-i18n/kcm-fcitx-0.5.5 * Repository: gentoo * Maintainer: arfrever.fta@gmail.com cjk@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox @@@@@ PLEASE PAY ATTENTION HERE!!! @@@@@ This information may help you to understand if this is a duplicate or if this bug exists after you pushed a fix; This ebuild was merged at the following commit: https://github.com/gentoo/gentoo/commit/e3412f5d101aca1be4f8ba8a5489f564c6418683 (Fri Oct 2 17:45:11 UTC 2020) @@@@@ END @@@@@ emerge --info: Portage 3.0.8 (python 3.7.9-final-0, default/linux/amd64/17.1, gcc-10.2.0, glibc-2.32-r2, 5.4.0-1025-aws x86_64) ================================================================= System uname: Linux-5.4.0-1025-aws-x86_64-Intel-R-_Xeon-R-_Platinum_8124M_CPU_@_3.00GHz-with-gentoo-2.7 KiB Mem: 71926568 total, 50329668 free KiB Swap: 0 total, 0 free sh bash 5.0_p18 ld GNU ld (Gentoo 2.35.1 p1) 2.35.1 app-shells/bash: 5.0_p18::gentoo dev-lang/perl: 5.30.3-r1::gentoo dev-lang/python: 2.7.18-r4::gentoo, 3.6.12::gentoo, 3.7.9::gentoo, 3.8.6::gentoo, 3.9.0_rc2::gentoo dev-util/cmake: 3.18.3::gentoo sys-apps/baselayout: 2.7::gentoo sys-apps/openrc: 0.42.1::gentoo sys-apps/sandbox: 2.20::gentoo sys-devel/autoconf: 2.13-r1::gentoo, 2.69-r5::gentoo sys-devel/automake: 1.16.2::gentoo sys-devel/binutils: 2.35.1::gentoo sys-devel/gcc: 10.2.0-r2::gentoo sys-devel/gcc-config: 2.3.2::gentoo sys-devel/libtool: 2.4.6-r6::gentoo sys-devel/make: 4.3::gentoo sys-kernel/linux-headers: 5.8::gentoo (virtual/os-headers) sys-libs/glibc: 2.32-r2::gentoo Repositories: gentoo location: /usr/portage sync-type: rsync sync-uri: rsync://rsync.gentoo.org/gentoo-portage priority: -1000 sync-rsync-extra-opts: sync-rsync-verify-jobs: 1 sync-rsync-verify-max-age: 24 sync-rsync-verify-metamanifest: yes ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="* GPL-2+" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe -march=native -frecord-gcc-switches" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-O2 -pipe -march=native -frecord-gcc-switches" DISTDIR="/var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/distdir" EMERGE_DEFAULT_OPTS="--with-bdeps=y -1 -k -b" ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR" FCFLAGS="-O2 -pipe -march=native -frecord-gcc-switches" FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms sign split-log strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -pipe -march=native -frecord-gcc-switches" GENTOO_MIRRORS="http://distfiles.gentoo.org" LANG="C.UTF8" LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0" MAKEOPTS="-j36 V=1" PKGDIR="/root/.packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git" PORTAGE_TMPDIR="/var/tmp" USE="acl amd64 berkdb bzip2 cli crypt dri elogind fortran gdbm iconv ipv6 jumbo-build libglvnd libtirpc multilib native-symlinks ncurses nls nptl openmp pam pcre readline seccomp split-usr ssl tcpd unicode xattr zlib" ABI_X86="64" ELIBC="glibc" KERNEL="linux" USERLAND="GNU" Unset: CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS >>> Unpacking source... >>> Unpacking kcm-fcitx-0.5.5.tar.xz to /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work >>> Source unpacked in /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work >>> Preparing source in /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5 ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5 ... >>> Working in BUILD_DIR: "/var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5_build" cmake -C /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5_build/gentoo_common_config.cmake -G Ninja -DCMAKE_INSTALL_PREFIX=/usr -DKDE_INSTALL_USE_QT_SYS_PATHS=yes -DCMAKE_BUILD_TYPE=Gentoo -DCMAKE_TOOLCHAIN_FILE=/var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5_build/gentoo_toolchain.cmake /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5 loading initial cache file /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5_build/gentoo_common_config.cmake -- The C compiler identification is GNU 10.2.0 -- The CXX compiler identification is GNU 10.2.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/x86_64-pc-linux-gnu-gcc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/x86_64-pc-linux-gnu-g++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Could not set up the appstream test. appstreamcli is missing. -- Looking for __GLIBC__ -- Looking for __GLIBC__ - found -- Performing Test _OFFT_IS_64BIT -- Performing Test _OFFT_IS_64BIT - Success -- Performing Test HAVE_DATE_TIME -- Performing Test HAVE_DATE_TIME - Success -- Found KF5CoreAddons: /usr/lib64/cmake/KF5CoreAddons/KF5CoreAddonsConfig.cmake (found version "5.74.0") -- Found KF5WidgetsAddons: /usr/lib64/cmake/KF5WidgetsAddons/KF5WidgetsAddonsConfig.cmake (found version "5.74.0") -- Found KF5ConfigWidgets: /usr/lib64/cmake/KF5ConfigWidgets/KF5ConfigWidgetsConfig.cmake (found version "5.74.0") -- Found KF5ItemViews: /usr/lib64/cmake/KF5ItemViews/KF5ItemViewsConfig.cmake (found version "5.74.0") -- Found Gettext: /usr/bin/msgmerge (found version "0.21") -- Found KF5I18n: /usr/lib64/cmake/KF5I18n/KF5I18nConfig.cmake (found version "5.74.0") -- Found KF5KIO: /usr/lib64/cmake/KF5KIO/KF5KIOConfig.cmake (found version "5.74.0") -- Found KF5NewStuff: /usr/lib64/cmake/KF5NewStuff/KF5NewStuffConfig.cmake (found version "5.74.0") -- Found KF5: success (found version "5.74.0") found components: CoreAddons WidgetsAddons ConfigWidgets ItemViews I18n KIO NewStuff -- Found PkgConfig: x86_64-pc-linux-gnu-pkg-config (found version "1.7.3") -- Checking for module 'fcitx' -- Found fcitx, version 4.2.9.5 -- Checking for module 'fcitx-config' -- Found fcitx-config, version 4.2.9.5 -- Checking for module 'fcitx-utils' -- Found fcitx-utils, version 4.2.9.5 -- fcitx4-config found /usr/bin/fcitx4-config -- Found Fcitx: 4.2.9.5 (Required is at least version "4.2.8") -- Checking for module 'xkbfile' -- Found xkbfile, version 1.1.0 -- Found XkbFile: /usr/lib64/libxkbfile.so -- Found X11: /usr/include -- Looking for XOpenDisplay in /usr/lib64/libX11.so;/usr/lib64/libXext.so -- Looking for XOpenDisplay in /usr/lib64/libX11.so;/usr/lib64/libXext.so - found -- Looking for gethostbyname -- Looking for gethostbyname - found -- Looking for connect -- Looking for connect - found -- Looking for remove -- Looking for remove - found -- Looking for shmat -- Looking for shmat - found -- Looking for IceConnectionNumber in ICE -- Looking for IceConnectionNumber in ICE - found Warning: Could not determine X binary directory. Assuming /usr/bin. GHNS DIR : /etc/xdg -- <<< Gentoo configuration >>> Build type Gentoo Install path /usr Compiler flags: C -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -fvisibility=hidden -O2 -pipe -march=native -frecord-gcc-switches -fno-common -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wmissing-format-attribute -Wwrite-strings -Werror=implicit-function-declaration C++ -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -fvisibility=hidden -O2 -pipe -march=native -frecord-gcc-switches -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -fdiagnostics-color=always Linker flags: Executable -Wl,--enable-new-dtags -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 Module -Wl,--no-undefined,--as-needed -Wl,--no-undefined -Wl,--enable-new-dtags -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 Shared -Wl,--no-undefined,--as-needed -Wl,--no-undefined -Wl,--enable-new-dtags -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -- Configuring done -- Generating done -- Build files have been written to: /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5_build >>> Source configured. >>> Compiling source in /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5 ... >>> Working in BUILD_DIR: "/var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5_build" ninja -v -j36 -l0 [1/40] cd /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5_build/po && /usr/bin/cmake -E make_directory /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5_build/fcitx_cmake_cache/mo/de && /usr/bin/msgfmt -o /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5_build/fcitx_cmake_cache/mo/de/kcm_fcitx.mo /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/po/de.po [2/40] cd /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5_build/po && /usr/bin/cmake -E make_directory /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5_build/fcitx_cmake_cache/mo/zh_CN && /usr/bin/msgfmt -o /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5_build/fcitx_cmake_cache/mo/zh_CN/kcm_fcitx.mo /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/po/zh_CN.po [3/40] cd /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5_build/po && /usr/bin/cmake -E make_directory /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5_build/fcitx_cmake_cache/mo/ja && /usr/bin/msgfmt -o /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5_build/fcitx_cmake_cache/mo/ja/kcm_fcitx.mo /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/po/ja.po [4/40] cd /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5_build/po && /usr/bin/cmake -E make_directory /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5_build/fcitx_cmake_cache/mo/vi && /usr/bin/msgfmt -o /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5_build/fcitx_cmake_cache/mo/vi/kcm_fcitx.mo /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/po/vi.po [5/40] cd /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5_build/po && /usr/bin/cmake -E make_directory /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5_build/fcitx_cmake_cache/mo/zh_TW && /usr/bin/msgfmt -o /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5_build/fcitx_cmake_cache/mo/zh_TW/kcm_fcitx.mo /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/po/zh_TW.po [6/40] cd /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5 && env _FCITX_MACRO_CMAKE_DIR=/usr/share/cmake/fcitx _FCITX_PO_PARSER_EXECUTABLE=/usr/lib64/fcitx/libexec/fcitx-po-parser FCITX_HELPER_CMAKE_CMD=/usr/bin/cmake FCITX_CMAKE_CACHE_BASE=/var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5_build/fcitx_cmake_cache _FCITX_TRANSLATION_TARGET_FILE=/var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/po/kcm_fcitx.pot /usr/share/cmake/fcitx/fcitx-cmake-helper.sh --parse-pos Parsing po file: /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/po/de.po Finished parsing po file: /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/po/de.po Parsing po file: /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/po/zh_CN.po Finished parsing po file: /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/po/zh_CN.po Parsing po file: /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/po/zh_TW.po Finished parsing po file: /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/po/zh_TW.po Parsing po file: /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/po/ja.po Finished parsing po file: /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/po/ja.po Parsing po file: /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/po/vi.po Finished parsing po file: /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/po/vi.po [7/40] cd /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5_build/layout && /usr/bin/cmake -E cmake_autogen /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5_build/layout/CMakeFiles/kbd-layout-viewer_autogen.dir/AutogenInfo.json Gentoo && /usr/bin/cmake -E touch /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5_build/layout/kbd-layout-viewer_autogen/timestamp [8/40] cd /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5 && /usr/bin/cmake -E make_directory /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5_build/layout && env _FCITX_MACRO_CMAKE_DIR=/usr/share/cmake/fcitx _FCITX_PO_PARSER_EXECUTABLE=/usr/lib64/fcitx/libexec/fcitx-po-parser FCITX_HELPER_CMAKE_CMD=/usr/bin/cmake FCITX_CMAKE_CACHE_BASE=/var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5_build/fcitx_cmake_cache _FCITX_TRANSLATION_TARGET_FILE=/var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/po/kcm_fcitx.pot /usr/share/cmake/fcitx/fcitx-cmake-helper.sh --apply-po-merge /usr/share/cmake/fcitx/fcitx-merge-config.sh /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/layout/kbd-layout-viewer.desktop.in /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5_build/layout/kbd-layout-viewer.desktop [9/40] cd /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5 && /usr/bin/cmake -E make_directory /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5_build/src && env _FCITX_MACRO_CMAKE_DIR=/usr/share/cmake/fcitx _FCITX_PO_PARSER_EXECUTABLE=/usr/lib64/fcitx/libexec/fcitx-po-parser FCITX_HELPER_CMAKE_CMD=/usr/bin/cmake FCITX_CMAKE_CACHE_BASE=/var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5_build/fcitx_cmake_cache _FCITX_TRANSLATION_TARGET_FILE=/var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/po/kcm_fcitx.pot /usr/share/cmake/fcitx/fcitx-cmake-helper.sh --apply-po-merge /usr/share/cmake/fcitx/fcitx-merge-config.sh /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/src/kcm_fcitx.desktop.in /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5_build/src/kcm_fcitx.desktop [10/40] cd /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5_build/src && /usr/bin/cmake -E cmake_autogen /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5_build/src/CMakeFiles/kcm_fcitx_autogen.dir/AutogenInfo.json Gentoo && /usr/bin/cmake -E touch /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5_build/src/kcm_fcitx_autogen/timestamp [11/40] cd /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5_build/src && /usr/bin/cmake -DKDE_UIC_EXECUTABLE:FILEPATH=/usr/lib64/qt5/bin/uic -DKDE_UIC_FILE:FILEPATH=/var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/src/module.ui -DKDE_UIC_H_FILE:FILEPATH=/var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5_build/src/ui_module.h -DKDE_UIC_BASENAME:STRING=module -P /usr/lib64/cmake/KF5I18n/kf5i18nuic.cmake [12/40] cd /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5_build/src && /usr/bin/cmake -DKDE_UIC_EXECUTABLE:FILEPATH=/usr/lib64/qt5/bin/uic -DKDE_UIC_FILE:FILEPATH=/var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/src/skinpage.ui -DKDE_UIC_H_FILE:FILEPATH=/var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5_build/src/ui_skinpage.h -DKDE_UIC_BASENAME:STRING=skinpage -P /usr/lib64/cmake/KF5I18n/kf5i18nuic.cmake [13/40] cd /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5_build/src && /usr/bin/cmake -DKDE_UIC_EXECUTABLE:FILEPATH=/usr/lib64/qt5/bin/uic -DKDE_UIC_FILE:FILEPATH=/var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/src/fontbutton.ui -DKDE_UIC_H_FILE:FILEPATH=/var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5_build/src/ui_fontbutton.h -DKDE_UIC_BASENAME:STRING=fontbutton -P /usr/lib64/cmake/KF5I18n/kf5i18nuic.cmake [14/40] cd /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5_build/src && /usr/bin/cmake -DKDE_UIC_EXECUTABLE:FILEPATH=/usr/lib64/qt5/bin/uic -DKDE_UIC_FILE:FILEPATH=/var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/src/configpage.ui -DKDE_UIC_H_FILE:FILEPATH=/var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5_build/src/ui_configpage.h -DKDE_UIC_BASENAME:STRING=configpage -P /usr/lib64/cmake/KF5I18n/kf5i18nuic.cmake [15/40] cd /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5_build/src && /usr/bin/cmake -DKDE_UIC_EXECUTABLE:FILEPATH=/usr/lib64/qt5/bin/uic -DKDE_UIC_FILE:FILEPATH=/var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/src/impage.ui -DKDE_UIC_H_FILE:FILEPATH=/var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5_build/src/ui_impage.h -DKDE_UIC_BASENAME:STRING=impage -P /usr/lib64/cmake/KF5I18n/kf5i18nuic.cmake [16/40] /usr/bin/x86_64-pc-linux-gnu-g++ -DKCOREADDONS_LIB -DQT_CONCURRENT_LIB -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DQT_XML_LIB -DTRANSLATION_DOMAIN=\"kcm_fcitx\" -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -Dkcm_fcitx_EXPORTS -Isrc -I/var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/src -Isrc/kcm_fcitx_autogen/include -I. -I/var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/layout -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtX11Extras -isystem /usr/include/KF5/KCoreAddons -isystem /usr/include/KF5 -isystem /usr/include/KF5/KWidgetsAddons -isystem /usr/include/KF5/KConfigWidgets -isystem /usr/include/KF5/KCodecs -isystem /usr/include/KF5/KConfigGui -isystem /usr/include/qt5/QtXml -isystem /usr/include/KF5/KConfigCore -isystem /usr/include/KF5/KAuth -isystem /usr/include/KF5/KItemViews -isystem /usr/include/KF5/KI18n -isystem /usr/include/KF5/KIOCore -isystem /usr/include/KF5/KService -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtConcurrent -isystem /usr/include/qt5/QtDBus -isystem /usr/include/KF5/KIOWidgets -isystem /usr/include/KF5/KIOGui -isystem /usr/include/KF5/KWindowSystem -isystem /usr/include/KF5/KJobWidgets -isystem /usr/include/KF5/KCompletion -isystem /usr/include/KF5/KNewStuff3 -isystem /usr/include/KF5/KNewStuff3/KNS3 -isystem /usr/include/KF5/KNewStuff3/knscore -isystem /usr/include/KF5/KNewStuff3/kns3 -isystem /usr/include/KF5/KNewStuff3/KNSCore -isystem /usr/include/KF5/Attica -isystem /usr/include/KF5/KXmlGui -isystem /usr/include/FcitxQt5/FcitxQtWidgetsAddons -isystem /usr/include/FcitxQt5/FcitxQtDBusAddons -DNDEBUG -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -fvisibility=hidden -O2 -pipe -march=native -frecord-gcc-switches -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -fdiagnostics-color=always -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -std=gnu++11 -MD -MT src/CMakeFiles/kcm_fcitx.dir/subconfigpattern.cpp.o -MF src/CMakeFiles/kcm_fcitx.dir/subconfigpattern.cpp.o.d -o src/CMakeFiles/kcm_fcitx.dir/subconfigpattern.cpp.o -c /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/src/subconfigpattern.cpp [17/40] /usr/bin/x86_64-pc-linux-gnu-g++ -DKCOREADDONS_LIB -DQT_CONCURRENT_LIB -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DQT_XML_LIB -DTRANSLATION_DOMAIN=\"kcm_fcitx\" -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -Dkcm_fcitx_EXPORTS -Isrc -I/var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/src -Isrc/kcm_fcitx_autogen/include -I. -I/var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/layout -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtX11Extras -isystem /usr/include/KF5/KCoreAddons -isystem /usr/include/KF5 -isystem /usr/include/KF5/KWidgetsAddons -isystem /usr/include/KF5/KConfigWidgets -isystem /usr/include/KF5/KCodecs -isystem /usr/include/KF5/KConfigGui -isystem /usr/include/qt5/QtXml -isystem /usr/include/KF5/KConfigCore -isystem /usr/include/KF5/KAuth -isystem /usr/include/KF5/KItemViews -isystem /usr/include/KF5/KI18n -isystem /usr/include/KF5/KIOCore -isystem /usr/include/KF5/KService -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtConcurrent -isystem /usr/include/qt5/QtDBus -isystem /usr/include/KF5/KIOWidgets -isystem /usr/include/KF5/KIOGui -isystem /usr/include/KF5/KWindowSystem -isystem /usr/include/KF5/KJobWidgets -isystem /usr/include/KF5/KCompletion -isystem /usr/include/KF5/KNewStuff3 -isystem /usr/include/KF5/KNewStuff3/KNS3 -isystem /usr/include/KF5/KNewStuff3/knscore -isystem /usr/include/KF5/KNewStuff3/kns3 -isystem /usr/include/KF5/KNewStuff3/KNSCore -isystem /usr/include/KF5/Attica -isystem /usr/include/KF5/KXmlGui -isystem /usr/include/FcitxQt5/FcitxQtWidgetsAddons -isystem /usr/include/FcitxQt5/FcitxQtDBusAddons -DNDEBUG -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -fvisibility=hidden -O2 -pipe -march=native -frecord-gcc-switches -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -fdiagnostics-color=always -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -std=gnu++11 -MD -MT src/CMakeFiles/kcm_fcitx.dir/subconfigparser.cpp.o -MF src/CMakeFiles/kcm_fcitx.dir/subconfigparser.cpp.o.d -o src/CMakeFiles/kcm_fcitx.dir/subconfigparser.cpp.o -c /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/src/subconfigparser.cpp [18/40] /usr/bin/x86_64-pc-linux-gnu-g++ -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -Ilayout -I/var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/layout -Ilayout/kbd-layout-viewer_autogen/include -I. -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/KF5/KI18n -isystem /usr/include/KF5 -isystem /usr/include/qt5/QtX11Extras -DNDEBUG -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -fvisibility=hidden -O2 -pipe -march=native -frecord-gcc-switches -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -fdiagnostics-color=always -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -std=gnu++11 -MD -MT layout/CMakeFiles/kbd-layout-viewer.dir/main.cpp.o -MF layout/CMakeFiles/kbd-layout-viewer.dir/main.cpp.o.d -o layout/CMakeFiles/kbd-layout-viewer.dir/main.cpp.o -c /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/layout/main.cpp [19/40] /usr/bin/x86_64-pc-linux-gnu-g++ -DKCOREADDONS_LIB -DQT_CONCURRENT_LIB -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DQT_XML_LIB -DTRANSLATION_DOMAIN=\"kcm_fcitx\" -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -Dkcm_fcitx_EXPORTS -Isrc -I/var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/src -Isrc/kcm_fcitx_autogen/include -I. -I/var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/layout -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtX11Extras -isystem /usr/include/KF5/KCoreAddons -isystem /usr/include/KF5 -isystem /usr/include/KF5/KWidgetsAddons -isystem /usr/include/KF5/KConfigWidgets -isystem /usr/include/KF5/KCodecs -isystem /usr/include/KF5/KConfigGui -isystem /usr/include/qt5/QtXml -isystem /usr/include/KF5/KConfigCore -isystem /usr/include/KF5/KAuth -isystem /usr/include/KF5/KItemViews -isystem /usr/include/KF5/KI18n -isystem /usr/include/KF5/KIOCore -isystem /usr/include/KF5/KService -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtConcurrent -isystem /usr/include/qt5/QtDBus -isystem /usr/include/KF5/KIOWidgets -isystem /usr/include/KF5/KIOGui -isystem /usr/include/KF5/KWindowSystem -isystem /usr/include/KF5/KJobWidgets -isystem /usr/include/KF5/KCompletion -isystem /usr/include/KF5/KNewStuff3 -isystem /usr/include/KF5/KNewStuff3/KNS3 -isystem /usr/include/KF5/KNewStuff3/knscore -isystem /usr/include/KF5/KNewStuff3/kns3 -isystem /usr/include/KF5/KNewStuff3/KNSCore -isystem /usr/include/KF5/Attica -isystem /usr/include/KF5/KXmlGui -isystem /usr/include/FcitxQt5/FcitxQtWidgetsAddons -isystem /usr/include/FcitxQt5/FcitxQtDBusAddons -DNDEBUG -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -fvisibility=hidden -O2 -pipe -march=native -frecord-gcc-switches -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -fdiagnostics-color=always -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -std=gnu++11 -MD -MT src/CMakeFiles/kcm_fcitx.dir/dummyconfig.cpp.o -MF src/CMakeFiles/kcm_fcitx.dir/dummyconfig.cpp.o.d -o src/CMakeFiles/kcm_fcitx.dir/dummyconfig.cpp.o -c /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/src/dummyconfig.cpp [20/40] /usr/bin/x86_64-pc-linux-gnu-g++ -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -Ilayout -I/var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/layout -Ilayout/kbd-layout-viewer_autogen/include -I. -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/KF5/KI18n -isystem /usr/include/KF5 -isystem /usr/include/qt5/QtX11Extras -DNDEBUG -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -fvisibility=hidden -O2 -pipe -march=native -frecord-gcc-switches -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -fdiagnostics-color=always -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -std=gnu++11 -MD -MT layout/CMakeFiles/kbd-layout-viewer.dir/kbd-layout-viewer_autogen/mocs_compilation.cpp.o -MF layout/CMakeFiles/kbd-layout-viewer.dir/kbd-layout-viewer_autogen/mocs_compilation.cpp.o.d -o layout/CMakeFiles/kbd-layout-viewer.dir/kbd-layout-viewer_autogen/mocs_compilation.cpp.o -c layout/kbd-layout-viewer_autogen/mocs_compilation.cpp [21/40] /usr/bin/x86_64-pc-linux-gnu-g++ -DKCOREADDONS_LIB -DQT_CONCURRENT_LIB -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DQT_XML_LIB -DTRANSLATION_DOMAIN=\"kcm_fcitx\" -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -Dkcm_fcitx_EXPORTS -Isrc -I/var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/src -Isrc/kcm_fcitx_autogen/include -I. -I/var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/layout -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtX11Extras -isystem /usr/include/KF5/KCoreAddons -isystem /usr/include/KF5 -isystem /usr/include/KF5/KWidgetsAddons -isystem /usr/include/KF5/KConfigWidgets -isystem /usr/include/KF5/KCodecs -isystem /usr/include/KF5/KConfigGui -isystem /usr/include/qt5/QtXml -isystem /usr/include/KF5/KConfigCore -isystem /usr/include/KF5/KAuth -isystem /usr/include/KF5/KItemViews -isystem /usr/include/KF5/KI18n -isystem /usr/include/KF5/KIOCore -isystem /usr/include/KF5/KService -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtConcurrent -isystem /usr/include/qt5/QtDBus -isystem /usr/include/KF5/KIOWidgets -isystem /usr/include/KF5/KIOGui -isystem /usr/include/KF5/KWindowSystem -isystem /usr/include/KF5/KJobWidgets -isystem /usr/include/KF5/KCompletion -isystem /usr/include/KF5/KNewStuff3 -isystem /usr/include/KF5/KNewStuff3/KNS3 -isystem /usr/include/KF5/KNewStuff3/knscore -isystem /usr/include/KF5/KNewStuff3/kns3 -isystem /usr/include/KF5/KNewStuff3/KNSCore -isystem /usr/include/KF5/Attica -isystem /usr/include/KF5/KXmlGui -isystem /usr/include/FcitxQt5/FcitxQtWidgetsAddons -isystem /usr/include/FcitxQt5/FcitxQtDBusAddons -DNDEBUG -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -fvisibility=hidden -O2 -pipe -march=native -frecord-gcc-switches -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -fdiagnostics-color=always -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -std=gnu++11 -MD -MT src/CMakeFiles/kcm_fcitx.dir/verticalscrollarea.cpp.o -MF src/CMakeFiles/kcm_fcitx.dir/verticalscrollarea.cpp.o.d -o src/CMakeFiles/kcm_fcitx.dir/verticalscrollarea.cpp.o -c /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/src/verticalscrollarea.cpp In file included from /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/src/verticalscrollarea.cpp:24: /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/src/verticalscrollarea.h:32:18: warning: ‘virtual bool Fcitx::VerticalScrollArea::eventFilter(QObject*, QEvent*)’ can be marked override [-Wsuggest-override] 32 | virtual bool eventFilter(QObject* o, QEvent* e); | ^~~~~~~~~~~ [22/40] /usr/bin/x86_64-pc-linux-gnu-g++ -DKCOREADDONS_LIB -DQT_CONCURRENT_LIB -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DQT_XML_LIB -DTRANSLATION_DOMAIN=\"kcm_fcitx\" -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -Dkcm_fcitx_EXPORTS -Isrc -I/var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/src -Isrc/kcm_fcitx_autogen/include -I. -I/var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/layout -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtX11Extras -isystem /usr/include/KF5/KCoreAddons -isystem /usr/include/KF5 -isystem /usr/include/KF5/KWidgetsAddons -isystem /usr/include/KF5/KConfigWidgets -isystem /usr/include/KF5/KCodecs -isystem /usr/include/KF5/KConfigGui -isystem /usr/include/qt5/QtXml -isystem /usr/include/KF5/KConfigCore -isystem /usr/include/KF5/KAuth -isystem /usr/include/KF5/KItemViews -isystem /usr/include/KF5/KI18n -isystem /usr/include/KF5/KIOCore -isystem /usr/include/KF5/KService -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtConcurrent -isystem /usr/include/qt5/QtDBus -isystem /usr/include/KF5/KIOWidgets -isystem /usr/include/KF5/KIOGui -isystem /usr/include/KF5/KWindowSystem -isystem /usr/include/KF5/KJobWidgets -isystem /usr/include/KF5/KCompletion -isystem /usr/include/KF5/KNewStuff3 -isystem /usr/include/KF5/KNewStuff3/KNS3 -isystem /usr/include/KF5/KNewStuff3/knscore -isystem /usr/include/KF5/KNewStuff3/kns3 -isystem /usr/include/KF5/KNewStuff3/KNSCore -isystem /usr/include/KF5/Attica -isystem /usr/include/KF5/KXmlGui -isystem /usr/include/FcitxQt5/FcitxQtWidgetsAddons -isystem /usr/include/FcitxQt5/FcitxQtDBusAddons -DNDEBUG -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -fvisibility=hidden -O2 -pipe -march=native -frecord-gcc-switches -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -fdiagnostics-color=always -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -std=gnu++11 -MD -MT src/CMakeFiles/kcm_fcitx.dir/__/layout/keyboardlayoutwidget.cpp.o -MF src/CMakeFiles/kcm_fcitx.dir/__/layout/keyboardlayoutwidget.cpp.o.d -o src/CMakeFiles/kcm_fcitx.dir/__/layout/keyboardlayoutwidget.cpp.o -c /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/layout/keyboardlayoutwidget.cpp FAILED: src/CMakeFiles/kcm_fcitx.dir/__/layout/keyboardlayoutwidget.cpp.o /usr/bin/x86_64-pc-linux-gnu-g++ -DKCOREADDONS_LIB -DQT_CONCURRENT_LIB -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DQT_XML_LIB -DTRANSLATION_DOMAIN=\"kcm_fcitx\" -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -Dkcm_fcitx_EXPORTS -Isrc -I/var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/src -Isrc/kcm_fcitx_autogen/include -I. -I/var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/layout -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtX11Extras -isystem /usr/include/KF5/KCoreAddons -isystem /usr/include/KF5 -isystem /usr/include/KF5/KWidgetsAddons -isystem /usr/include/KF5/KConfigWidgets -isystem /usr/include/KF5/KCodecs -isystem /usr/include/KF5/KConfigGui -isystem /usr/include/qt5/QtXml -isystem /usr/include/KF5/KConfigCore -isystem /usr/include/KF5/KAuth -isystem /usr/include/KF5/KItemViews -isystem /usr/include/KF5/KI18n -isystem /usr/include/KF5/KIOCore -isystem /usr/include/KF5/KService -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtConcurrent -isystem /usr/include/qt5/QtDBus -isystem /usr/include/KF5/KIOWidgets -isystem /usr/include/KF5/KIOGui -isystem /usr/include/KF5/KWindowSystem -isystem /usr/include/KF5/KJobWidgets -isystem /usr/include/KF5/KCompletion -isystem /usr/include/KF5/KNewStuff3 -isystem /usr/include/KF5/KNewStuff3/KNS3 -isystem /usr/include/KF5/KNewStuff3/knscore -isystem /usr/include/KF5/KNewStuff3/kns3 -isystem /usr/include/KF5/KNewStuff3/KNSCore -isystem /usr/include/KF5/Attica -isystem /usr/include/KF5/KXmlGui -isystem /usr/include/FcitxQt5/FcitxQtWidgetsAddons -isystem /usr/include/FcitxQt5/FcitxQtDBusAddons -DNDEBUG -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -fvisibility=hidden -O2 -pipe -march=native -frecord-gcc-switches -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -fdiagnostics-color=always -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -std=gnu++11 -MD -MT src/CMakeFiles/kcm_fcitx.dir/__/layout/keyboardlayoutwidget.cpp.o -MF src/CMakeFiles/kcm_fcitx.dir/__/layout/keyboardlayoutwidget.cpp.o.d -o src/CMakeFiles/kcm_fcitx.dir/__/layout/keyboardlayoutwidget.cpp.o -c /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/layout/keyboardlayoutwidget.cpp /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/layout/keyboardlayoutwidget.cpp: In member function ‘void KeyboardLayoutWidget::init()’: /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/layout/keyboardlayoutwidget.cpp:483:75: warning: ‘void qSort(RandomAccessIterator, RandomAccessIterator, LessThan) [with RandomAccessIterator = QList::iterator; LessThan = DrawingItemCompare]’ is deprecated: Use std::sort [-Wdeprecated-declarations] 483 | qSort(keyboardItems.begin(), keyboardItems.end(), DrawingItemCompare()); | ^ In file included from /usr/include/qt5/QtCore/qlist.h:43, from /usr/include/qt5/QtCore/qobject.h:49, from /usr/include/qt5/QtCore/qiodevice.h:45, from /usr/include/qt5/QtCore/qdatastream.h:44, from /usr/include/qt5/QtGui/qregion.h:49, from /usr/include/qt5/QtGui/qevent.h:45, from /usr/include/qt5/QtGui/QPaintEvent:1, from /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/layout/keyboardlayoutwidget.cpp:1: /usr/include/qt5/QtCore/qalgorithms.h:181:46: note: declared here 181 | QT_DEPRECATED_X("Use std::sort") inline void qSort(RandomAccessIterator start, RandomAccessIterator end, LessThan lessThan) | ^~~~~ /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/layout/keyboardlayoutwidget.cpp: In member function ‘void KeyboardLayoutWidget::roundedCorner(QPainterPath&, QPointF, QPointF, double)’: /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/layout/keyboardlayoutwidget.cpp:933:17: error: invalid use of incomplete type ‘class QPainterPath’ 933 | QPointF a = path.currentPosition(); | ^~~~ In file included from /usr/include/qt5/QtGui/qtransform.h:43, from /usr/include/qt5/QtGui/qimage.h:48, from /usr/include/qt5/QtGui/qpixmap.h:49, from /usr/include/qt5/QtGui/qpainter.h:48, from /usr/include/qt5/QtGui/QPainter:1, from /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/layout/keyboardlayoutwidget.cpp:2: /usr/include/qt5/QtGui/qmatrix.h:54:7: note: forward declaration of ‘class QPainterPath’ 54 | class QPainterPath; | ^~~~~~~~~~~~ /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/layout/keyboardlayoutwidget.cpp:985:5: error: invalid use of incomplete type ‘class QPainterPath’ 985 | path.lineTo(a1); | ^~~~ In file included from /usr/include/qt5/QtGui/qtransform.h:43, from /usr/include/qt5/QtGui/qimage.h:48, from /usr/include/qt5/QtGui/qpixmap.h:49, from /usr/include/qt5/QtGui/qpainter.h:48, from /usr/include/qt5/QtGui/QPainter:1, from /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/layout/keyboardlayoutwidget.cpp:2: /usr/include/qt5/QtGui/qmatrix.h:54:7: note: forward declaration of ‘class QPainterPath’ 54 | class QPainterPath; | ^~~~~~~~~~~~ /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/layout/keyboardlayoutwidget.cpp:986:5: error: invalid use of incomplete type ‘class QPainterPath’ 986 | path.arcTo(arcRect, phiA, delta); | ^~~~ In file included from /usr/include/qt5/QtGui/qtransform.h:43, from /usr/include/qt5/QtGui/qimage.h:48, from /usr/include/qt5/QtGui/qpixmap.h:49, from /usr/include/qt5/QtGui/qpainter.h:48, from /usr/include/qt5/QtGui/QPainter:1, from /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/layout/keyboardlayoutwidget.cpp:2: /usr/include/qt5/QtGui/qmatrix.h:54:7: note: forward declaration of ‘class QPainterPath’ 54 | class QPainterPath; | ^~~~~~~~~~~~ /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/layout/keyboardlayoutwidget.cpp:987:5: error: invalid use of incomplete type ‘class QPainterPath’ 987 | path.lineTo(c1); | ^~~~ In file included from /usr/include/qt5/QtGui/qtransform.h:43, from /usr/include/qt5/QtGui/qimage.h:48, from /usr/include/qt5/QtGui/qpixmap.h:49, from /usr/include/qt5/QtGui/qpainter.h:48, from /usr/include/qt5/QtGui/QPainter:1, from /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/layout/keyboardlayoutwidget.cpp:2: /usr/include/qt5/QtGui/qmatrix.h:54:7: note: forward declaration of ‘class QPainterPath’ 54 | class QPainterPath; | ^~~~~~~~~~~~ /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/layout/keyboardlayoutwidget.cpp:988:5: error: invalid use of incomplete type ‘class QPainterPath’ 988 | path.lineTo(c); | ^~~~ In file included from /usr/include/qt5/QtGui/qtransform.h:43, from /usr/include/qt5/QtGui/qimage.h:48, from /usr/include/qt5/QtGui/qpixmap.h:49, from /usr/include/qt5/QtGui/qpainter.h:48, from /usr/include/qt5/QtGui/QPainter:1, from /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/layout/keyboardlayoutwidget.cpp:2: /usr/include/qt5/QtGui/qmatrix.h:54:7: note: forward declaration of ‘class QPainterPath’ 54 | class QPainterPath; | ^~~~~~~~~~~~ /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/layout/keyboardlayoutwidget.cpp: In member function ‘void KeyboardLayoutWidget::roundedPolygon(QPainter*, bool, double, const QVector&)’: /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/layout/keyboardlayoutwidget.cpp:996:18: error: aggregate ‘QPainterPath path’ has incomplete type and cannot be defined 996 | QPainterPath path; | ^~~~ /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/layout/keyboardlayoutwidget.cpp: In member function ‘void KeyboardLayoutWidget::drawCurveRectangle(QPainter*, bool, QColor, int, int, int, int, double)’: /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/layout/keyboardlayoutwidget.cpp:1077:18: error: aggregate ‘QPainterPath path’ has incomplete type and cannot be defined 1077 | QPainterPath path; | ^~~~ /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/layout/keyboardlayoutwidget.cpp: In member function ‘void KeyboardLayoutWidget::drawKeyLabel(QPainter*, uint, int, int, int, int, int, bool)’: /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/layout/keyboardlayoutwidget.cpp:1171:38: warning: ‘QString::null’ is deprecated: use QString() [-Wdeprecated-declarations] 1171 | syms[BOTTOMRIGHT] = QString::null; | ^~~~ In file included from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtCore/qiodevice.h:45, from /usr/include/qt5/QtCore/qdatastream.h:44, from /usr/include/qt5/QtGui/qregion.h:49, from /usr/include/qt5/QtGui/qevent.h:45, from /usr/include/qt5/QtGui/QPaintEvent:1, from /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/layout/keyboardlayoutwidget.cpp:1: /usr/include/qt5/QtCore/qstring.h:949:23: note: declared here 949 | static const Null null; | ^~~~ /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/layout/keyboardlayoutwidget.cpp:1171:38: warning: ‘QString::null’ is deprecated: use QString() [-Wdeprecated-declarations] 1171 | syms[BOTTOMRIGHT] = QString::null; | ^~~~ In file included from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtCore/qiodevice.h:45, from /usr/include/qt5/QtCore/qdatastream.h:44, from /usr/include/qt5/QtGui/qregion.h:49, from /usr/include/qt5/QtGui/qevent.h:45, from /usr/include/qt5/QtGui/QPaintEvent:1, from /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/layout/keyboardlayoutwidget.cpp:1: /usr/include/qt5/QtCore/qstring.h:949:23: note: declared here 949 | static const Null null; | ^~~~ /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/layout/keyboardlayoutwidget.cpp:1178:35: warning: ‘QString::null’ is deprecated: use QString() [-Wdeprecated-declarations] 1178 | syms[TOPRIGHT] = QString::null; | ^~~~ In file included from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtCore/qiodevice.h:45, from /usr/include/qt5/QtCore/qdatastream.h:44, from /usr/include/qt5/QtGui/qregion.h:49, from /usr/include/qt5/QtGui/qevent.h:45, from /usr/include/qt5/QtGui/QPaintEvent:1, from /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/layout/keyboardlayoutwidget.cpp:1: /usr/include/qt5/QtCore/qstring.h:949:23: note: declared here 949 | static const Null null; | ^~~~ /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/layout/keyboardlayoutwidget.cpp:1178:35: warning: ‘QString::null’ is deprecated: use QString() [-Wdeprecated-declarations] 1178 | syms[TOPRIGHT] = QString::null; | ^~~~ In file included from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtCore/qiodevice.h:45, from /usr/include/qt5/QtCore/qdatastream.h:44, from /usr/include/qt5/QtGui/qregion.h:49, from /usr/include/qt5/QtGui/qevent.h:45, from /usr/include/qt5/QtGui/QPaintEvent:1, from /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/layout/keyboardlayoutwidget.cpp:1: /usr/include/qt5/QtCore/qstring.h:949:23: note: declared here 949 | static const Null null; | ^~~~ /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/layout/keyboardlayoutwidget.cpp:1187:34: warning: ‘QString::null’ is deprecated: use QString() [-Wdeprecated-declarations] 1187 | syms[TOPLEFT] = QString::null; | ^~~~ In file included from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtCore/qiodevice.h:45, from /usr/include/qt5/QtCore/qdatastream.h:44, from /usr/include/qt5/QtGui/qregion.h:49, from /usr/include/qt5/QtGui/qevent.h:45, from /usr/include/qt5/QtGui/QPaintEvent:1, from /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/layout/keyboardlayoutwidget.cpp:1: /usr/include/qt5/QtCore/qstring.h:949:23: note: declared here 949 | static const Null null; | ^~~~ /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/layout/keyboardlayoutwidget.cpp:1187:34: warning: ‘QString::null’ is deprecated: use QString() [-Wdeprecated-declarations] 1187 | syms[TOPLEFT] = QString::null; | ^~~~ In file included from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtCore/qiodevice.h:45, from /usr/include/qt5/QtCore/qdatastream.h:44, from /usr/include/qt5/QtGui/qregion.h:49, from /usr/include/qt5/QtGui/qevent.h:45, from /usr/include/qt5/QtGui/QPaintEvent:1, from /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/layout/keyboardlayoutwidget.cpp:1: /usr/include/qt5/QtCore/qstring.h:949:23: note: declared here 949 | static const Null null; | ^~~~ /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/layout/keyboardlayoutwidget.cpp:1193:35: warning: ‘QString::null’ is deprecated: use QString() [-Wdeprecated-declarations] 1193 | syms[TOPRIGHT] = QString::null; | ^~~~ In file included from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtCore/qiodevice.h:45, from /usr/include/qt5/QtCore/qdatastream.h:44, from /usr/include/qt5/QtGui/qregion.h:49, from /usr/include/qt5/QtGui/qevent.h:45, from /usr/include/qt5/QtGui/QPaintEvent:1, from /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/layout/keyboardlayoutwidget.cpp:1: /usr/include/qt5/QtCore/qstring.h:949:23: note: declared here 949 | static const Null null; | ^~~~ /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/layout/keyboardlayoutwidget.cpp:1193:35: warning: ‘QString::null’ is deprecated: use QString() [-Wdeprecated-declarations] 1193 | syms[TOPRIGHT] = QString::null; | ^~~~ In file included from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtCore/qiodevice.h:45, from /usr/include/qt5/QtCore/qdatastream.h:44, from /usr/include/qt5/QtGui/qregion.h:49, from /usr/include/qt5/QtGui/qevent.h:45, from /usr/include/qt5/QtGui/QPaintEvent:1, from /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/layout/keyboardlayoutwidget.cpp:1: /usr/include/qt5/QtCore/qstring.h:949:23: note: declared here 949 | static const Null null; | ^~~~ [23/40] /usr/bin/x86_64-pc-linux-gnu-g++ -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -Ilayout -I/var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/layout -Ilayout/kbd-layout-viewer_autogen/include -I. -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/KF5/KI18n -isystem /usr/include/KF5 -isystem /usr/include/qt5/QtX11Extras -DNDEBUG -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -fvisibility=hidden -O2 -pipe -march=native -frecord-gcc-switches -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -fdiagnostics-color=always -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -std=gnu++11 -MD -MT layout/CMakeFiles/kbd-layout-viewer.dir/keyboardlayoutwidget.cpp.o -MF layout/CMakeFiles/kbd-layout-viewer.dir/keyboardlayoutwidget.cpp.o.d -o layout/CMakeFiles/kbd-layout-viewer.dir/keyboardlayoutwidget.cpp.o -c /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/layout/keyboardlayoutwidget.cpp FAILED: layout/CMakeFiles/kbd-layout-viewer.dir/keyboardlayoutwidget.cpp.o /usr/bin/x86_64-pc-linux-gnu-g++ -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -Ilayout -I/var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/layout -Ilayout/kbd-layout-viewer_autogen/include -I. -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/KF5/KI18n -isystem /usr/include/KF5 -isystem /usr/include/qt5/QtX11Extras -DNDEBUG -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -fvisibility=hidden -O2 -pipe -march=native -frecord-gcc-switches -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -fdiagnostics-color=always -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -std=gnu++11 -MD -MT layout/CMakeFiles/kbd-layout-viewer.dir/keyboardlayoutwidget.cpp.o -MF layout/CMakeFiles/kbd-layout-viewer.dir/keyboardlayoutwidget.cpp.o.d -o layout/CMakeFiles/kbd-layout-viewer.dir/keyboardlayoutwidget.cpp.o -c /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/layout/keyboardlayoutwidget.cpp /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/layout/keyboardlayoutwidget.cpp: In member function ‘void KeyboardLayoutWidget::init()’: /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/layout/keyboardlayoutwidget.cpp:483:75: warning: ‘void qSort(RandomAccessIterator, RandomAccessIterator, LessThan) [with RandomAccessIterator = QList::iterator; LessThan = DrawingItemCompare]’ is deprecated: Use std::sort [-Wdeprecated-declarations] 483 | qSort(keyboardItems.begin(), keyboardItems.end(), DrawingItemCompare()); | ^ In file included from /usr/include/qt5/QtCore/qlist.h:43, from /usr/include/qt5/QtCore/qobject.h:49, from /usr/include/qt5/QtCore/qiodevice.h:45, from /usr/include/qt5/QtCore/qdatastream.h:44, from /usr/include/qt5/QtGui/qregion.h:49, from /usr/include/qt5/QtGui/qevent.h:45, from /usr/include/qt5/QtGui/QPaintEvent:1, from /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/layout/keyboardlayoutwidget.cpp:1: /usr/include/qt5/QtCore/qalgorithms.h:181:46: note: declared here 181 | QT_DEPRECATED_X("Use std::sort") inline void qSort(RandomAccessIterator start, RandomAccessIterator end, LessThan lessThan) | ^~~~~ /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/layout/keyboardlayoutwidget.cpp: In member function ‘void KeyboardLayoutWidget::roundedCorner(QPainterPath&, QPointF, QPointF, double)’: /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/layout/keyboardlayoutwidget.cpp:933:17: error: invalid use of incomplete type ‘class QPainterPath’ 933 | QPointF a = path.currentPosition(); | ^~~~ In file included from /usr/include/qt5/QtGui/qtransform.h:43, from /usr/include/qt5/QtGui/qimage.h:48, from /usr/include/qt5/QtGui/qpixmap.h:49, from /usr/include/qt5/QtGui/qpainter.h:48, from /usr/include/qt5/QtGui/QPainter:1, from /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/layout/keyboardlayoutwidget.cpp:2: /usr/include/qt5/QtGui/qmatrix.h:54:7: note: forward declaration of ‘class QPainterPath’ 54 | class QPainterPath; | ^~~~~~~~~~~~ /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/layout/keyboardlayoutwidget.cpp:985:5: error: invalid use of incomplete type ‘class QPainterPath’ 985 | path.lineTo(a1); | ^~~~ In file included from /usr/include/qt5/QtGui/qtransform.h:43, from /usr/include/qt5/QtGui/qimage.h:48, from /usr/include/qt5/QtGui/qpixmap.h:49, from /usr/include/qt5/QtGui/qpainter.h:48, from /usr/include/qt5/QtGui/QPainter:1, from /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/layout/keyboardlayoutwidget.cpp:2: /usr/include/qt5/QtGui/qmatrix.h:54:7: note: forward declaration of ‘class QPainterPath’ 54 | class QPainterPath; | ^~~~~~~~~~~~ /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/layout/keyboardlayoutwidget.cpp:986:5: error: invalid use of incomplete type ‘class QPainterPath’ 986 | path.arcTo(arcRect, phiA, delta); | ^~~~ In file included from /usr/include/qt5/QtGui/qtransform.h:43, from /usr/include/qt5/QtGui/qimage.h:48, from /usr/include/qt5/QtGui/qpixmap.h:49, from /usr/include/qt5/QtGui/qpainter.h:48, from /usr/include/qt5/QtGui/QPainter:1, from /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/layout/keyboardlayoutwidget.cpp:2: /usr/include/qt5/QtGui/qmatrix.h:54:7: note: forward declaration of ‘class QPainterPath’ 54 | class QPainterPath; | ^~~~~~~~~~~~ /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/layout/keyboardlayoutwidget.cpp:987:5: error: invalid use of incomplete type ‘class QPainterPath’ 987 | path.lineTo(c1); | ^~~~ In file included from /usr/include/qt5/QtGui/qtransform.h:43, from /usr/include/qt5/QtGui/qimage.h:48, from /usr/include/qt5/QtGui/qpixmap.h:49, from /usr/include/qt5/QtGui/qpainter.h:48, from /usr/include/qt5/QtGui/QPainter:1, from /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/layout/keyboardlayoutwidget.cpp:2: /usr/include/qt5/QtGui/qmatrix.h:54:7: note: forward declaration of ‘class QPainterPath’ 54 | class QPainterPath; | ^~~~~~~~~~~~ /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/layout/keyboardlayoutwidget.cpp:988:5: error: invalid use of incomplete type ‘class QPainterPath’ 988 | path.lineTo(c); | ^~~~ In file included from /usr/include/qt5/QtGui/qtransform.h:43, from /usr/include/qt5/QtGui/qimage.h:48, from /usr/include/qt5/QtGui/qpixmap.h:49, from /usr/include/qt5/QtGui/qpainter.h:48, from /usr/include/qt5/QtGui/QPainter:1, from /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/layout/keyboardlayoutwidget.cpp:2: /usr/include/qt5/QtGui/qmatrix.h:54:7: note: forward declaration of ‘class QPainterPath’ 54 | class QPainterPath; | ^~~~~~~~~~~~ /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/layout/keyboardlayoutwidget.cpp: In member function ‘void KeyboardLayoutWidget::roundedPolygon(QPainter*, bool, double, const QVector&)’: /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/layout/keyboardlayoutwidget.cpp:996:18: error: aggregate ‘QPainterPath path’ has incomplete type and cannot be defined 996 | QPainterPath path; | ^~~~ /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/layout/keyboardlayoutwidget.cpp: In member function ‘void KeyboardLayoutWidget::drawCurveRectangle(QPainter*, bool, QColor, int, int, int, int, double)’: /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/layout/keyboardlayoutwidget.cpp:1077:18: error: aggregate ‘QPainterPath path’ has incomplete type and cannot be defined 1077 | QPainterPath path; | ^~~~ /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/layout/keyboardlayoutwidget.cpp: In member function ‘void KeyboardLayoutWidget::drawKeyLabel(QPainter*, uint, int, int, int, int, int, bool)’: /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/layout/keyboardlayoutwidget.cpp:1171:38: warning: ‘QString::null’ is deprecated: use QString() [-Wdeprecated-declarations] 1171 | syms[BOTTOMRIGHT] = QString::null; | ^~~~ In file included from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtCore/qiodevice.h:45, from /usr/include/qt5/QtCore/qdatastream.h:44, from /usr/include/qt5/QtGui/qregion.h:49, from /usr/include/qt5/QtGui/qevent.h:45, from /usr/include/qt5/QtGui/QPaintEvent:1, from /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/layout/keyboardlayoutwidget.cpp:1: /usr/include/qt5/QtCore/qstring.h:949:23: note: declared here 949 | static const Null null; | ^~~~ /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/layout/keyboardlayoutwidget.cpp:1171:38: warning: ‘QString::null’ is deprecated: use QString() [-Wdeprecated-declarations] 1171 | syms[BOTTOMRIGHT] = QString::null; | ^~~~ In file included from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtCore/qiodevice.h:45, from /usr/include/qt5/QtCore/qdatastream.h:44, from /usr/include/qt5/QtGui/qregion.h:49, from /usr/include/qt5/QtGui/qevent.h:45, from /usr/include/qt5/QtGui/QPaintEvent:1, from /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/layout/keyboardlayoutwidget.cpp:1: /usr/include/qt5/QtCore/qstring.h:949:23: note: declared here 949 | static const Null null; | ^~~~ /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/layout/keyboardlayoutwidget.cpp:1178:35: warning: ‘QString::null’ is deprecated: use QString() [-Wdeprecated-declarations] 1178 | syms[TOPRIGHT] = QString::null; | ^~~~ In file included from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtCore/qiodevice.h:45, from /usr/include/qt5/QtCore/qdatastream.h:44, from /usr/include/qt5/QtGui/qregion.h:49, from /usr/include/qt5/QtGui/qevent.h:45, from /usr/include/qt5/QtGui/QPaintEvent:1, from /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/layout/keyboardlayoutwidget.cpp:1: /usr/include/qt5/QtCore/qstring.h:949:23: note: declared here 949 | static const Null null; | ^~~~ /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/layout/keyboardlayoutwidget.cpp:1178:35: warning: ‘QString::null’ is deprecated: use QString() [-Wdeprecated-declarations] 1178 | syms[TOPRIGHT] = QString::null; | ^~~~ In file included from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtCore/qiodevice.h:45, from /usr/include/qt5/QtCore/qdatastream.h:44, from /usr/include/qt5/QtGui/qregion.h:49, from /usr/include/qt5/QtGui/qevent.h:45, from /usr/include/qt5/QtGui/QPaintEvent:1, from /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/layout/keyboardlayoutwidget.cpp:1: /usr/include/qt5/QtCore/qstring.h:949:23: note: declared here 949 | static const Null null; | ^~~~ /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/layout/keyboardlayoutwidget.cpp:1187:34: warning: ‘QString::null’ is deprecated: use QString() [-Wdeprecated-declarations] 1187 | syms[TOPLEFT] = QString::null; | ^~~~ In file included from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtCore/qiodevice.h:45, from /usr/include/qt5/QtCore/qdatastream.h:44, from /usr/include/qt5/QtGui/qregion.h:49, from /usr/include/qt5/QtGui/qevent.h:45, from /usr/include/qt5/QtGui/QPaintEvent:1, from /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/layout/keyboardlayoutwidget.cpp:1: /usr/include/qt5/QtCore/qstring.h:949:23: note: declared here 949 | static const Null null; | ^~~~ /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/layout/keyboardlayoutwidget.cpp:1187:34: warning: ‘QString::null’ is deprecated: use QString() [-Wdeprecated-declarations] 1187 | syms[TOPLEFT] = QString::null; | ^~~~ In file included from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtCore/qiodevice.h:45, from /usr/include/qt5/QtCore/qdatastream.h:44, from /usr/include/qt5/QtGui/qregion.h:49, from /usr/include/qt5/QtGui/qevent.h:45, from /usr/include/qt5/QtGui/QPaintEvent:1, from /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/layout/keyboardlayoutwidget.cpp:1: /usr/include/qt5/QtCore/qstring.h:949:23: note: declared here 949 | static const Null null; | ^~~~ /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/layout/keyboardlayoutwidget.cpp:1193:35: warning: ‘QString::null’ is deprecated: use QString() [-Wdeprecated-declarations] 1193 | syms[TOPRIGHT] = QString::null; | ^~~~ In file included from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtCore/qiodevice.h:45, from /usr/include/qt5/QtCore/qdatastream.h:44, from /usr/include/qt5/QtGui/qregion.h:49, from /usr/include/qt5/QtGui/qevent.h:45, from /usr/include/qt5/QtGui/QPaintEvent:1, from /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/layout/keyboardlayoutwidget.cpp:1: /usr/include/qt5/QtCore/qstring.h:949:23: note: declared here 949 | static const Null null; | ^~~~ /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/layout/keyboardlayoutwidget.cpp:1193:35: warning: ‘QString::null’ is deprecated: use QString() [-Wdeprecated-declarations] 1193 | syms[TOPRIGHT] = QString::null; | ^~~~ In file included from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtCore/qiodevice.h:45, from /usr/include/qt5/QtCore/qdatastream.h:44, from /usr/include/qt5/QtGui/qregion.h:49, from /usr/include/qt5/QtGui/qevent.h:45, from /usr/include/qt5/QtGui/QPaintEvent:1, from /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/layout/keyboardlayoutwidget.cpp:1: /usr/include/qt5/QtCore/qstring.h:949:23: note: declared here 949 | static const Null null; | ^~~~ [24/40] /usr/bin/x86_64-pc-linux-gnu-g++ -DKCOREADDONS_LIB -DQT_CONCURRENT_LIB -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DQT_XML_LIB -DTRANSLATION_DOMAIN=\"kcm_fcitx\" -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -Dkcm_fcitx_EXPORTS -Isrc -I/var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/src -Isrc/kcm_fcitx_autogen/include -I. -I/var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/layout -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtX11Extras -isystem /usr/include/KF5/KCoreAddons -isystem /usr/include/KF5 -isystem /usr/include/KF5/KWidgetsAddons -isystem /usr/include/KF5/KConfigWidgets -isystem /usr/include/KF5/KCodecs -isystem /usr/include/KF5/KConfigGui -isystem /usr/include/qt5/QtXml -isystem /usr/include/KF5/KConfigCore -isystem /usr/include/KF5/KAuth -isystem /usr/include/KF5/KItemViews -isystem /usr/include/KF5/KI18n -isystem /usr/include/KF5/KIOCore -isystem /usr/include/KF5/KService -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtConcurrent -isystem /usr/include/qt5/QtDBus -isystem /usr/include/KF5/KIOWidgets -isystem /usr/include/KF5/KIOGui -isystem /usr/include/KF5/KWindowSystem -isystem /usr/include/KF5/KJobWidgets -isystem /usr/include/KF5/KCompletion -isystem /usr/include/KF5/KNewStuff3 -isystem /usr/include/KF5/KNewStuff3/KNS3 -isystem /usr/include/KF5/KNewStuff3/knscore -isystem /usr/include/KF5/KNewStuff3/kns3 -isystem /usr/include/KF5/KNewStuff3/KNSCore -isystem /usr/include/KF5/Attica -isystem /usr/include/KF5/KXmlGui -isystem /usr/include/FcitxQt5/FcitxQtWidgetsAddons -isystem /usr/include/FcitxQt5/FcitxQtDBusAddons -DNDEBUG -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -fvisibility=hidden -O2 -pipe -march=native -frecord-gcc-switches -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -fdiagnostics-color=always -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -std=gnu++11 -MD -MT src/CMakeFiles/kcm_fcitx.dir/fontbutton.cpp.o -MF src/CMakeFiles/kcm_fcitx.dir/fontbutton.cpp.o.d -o src/CMakeFiles/kcm_fcitx.dir/fontbutton.cpp.o -c /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/src/fontbutton.cpp /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/src/fontbutton.cpp: In static member function ‘static QFont FontButton::parseFont(const QString&)’: /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/src/fontbutton.cpp:52:65: warning: ‘QStringList QString::split(const QString&, QString::SplitBehavior, Qt::CaseSensitivity) const’ is deprecated: Use Qt::SplitBehavior variant instead [-Wdeprecated-declarations] 52 | QStringList list = string.split(" ", QString::SkipEmptyParts); | ^ In file included from /usr/include/qt5/QtCore/qhashfunctions.h:44, from /usr/include/qt5/QtCore/qlist.h:47, from /usr/include/qt5/QtCore/qhash.h:46, from /usr/include/qt5/QtCore/qdebug.h:45, from /usr/include/qt5/QtCore/QDebug:1, from /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/src/fontbutton.cpp:20: /usr/include/qt5/QtCore/qstring.h:604:17: note: declared here 604 | QStringList split(const QString &sep, SplitBehavior behavior, | ^~~~~ [25/40] /usr/bin/x86_64-pc-linux-gnu-g++ -DKCOREADDONS_LIB -DQT_CONCURRENT_LIB -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DQT_XML_LIB -DTRANSLATION_DOMAIN=\"kcm_fcitx\" -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -Dkcm_fcitx_EXPORTS -Isrc -I/var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/src -Isrc/kcm_fcitx_autogen/include -I. -I/var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/layout -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtX11Extras -isystem /usr/include/KF5/KCoreAddons -isystem /usr/include/KF5 -isystem /usr/include/KF5/KWidgetsAddons -isystem /usr/include/KF5/KConfigWidgets -isystem /usr/include/KF5/KCodecs -isystem /usr/include/KF5/KConfigGui -isystem /usr/include/qt5/QtXml -isystem /usr/include/KF5/KConfigCore -isystem /usr/include/KF5/KAuth -isystem /usr/include/KF5/KItemViews -isystem /usr/include/KF5/KI18n -isystem /usr/include/KF5/KIOCore -isystem /usr/include/KF5/KService -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtConcurrent -isystem /usr/include/qt5/QtDBus -isystem /usr/include/KF5/KIOWidgets -isystem /usr/include/KF5/KIOGui -isystem /usr/include/KF5/KWindowSystem -isystem /usr/include/KF5/KJobWidgets -isystem /usr/include/KF5/KCompletion -isystem /usr/include/KF5/KNewStuff3 -isystem /usr/include/KF5/KNewStuff3/KNS3 -isystem /usr/include/KF5/KNewStuff3/knscore -isystem /usr/include/KF5/KNewStuff3/kns3 -isystem /usr/include/KF5/KNewStuff3/KNSCore -isystem /usr/include/KF5/Attica -isystem /usr/include/KF5/KXmlGui -isystem /usr/include/FcitxQt5/FcitxQtWidgetsAddons -isystem /usr/include/FcitxQt5/FcitxQtDBusAddons -DNDEBUG -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -fvisibility=hidden -O2 -pipe -march=native -frecord-gcc-switches -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -fdiagnostics-color=always -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -std=gnu++11 -MD -MT src/CMakeFiles/kcm_fcitx.dir/main.cpp.o -MF src/CMakeFiles/kcm_fcitx.dir/main.cpp.o.d -o src/CMakeFiles/kcm_fcitx.dir/main.cpp.o -c /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/src/main.cpp In file included from /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/src/main.cpp:24: /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/src/module.h:75:10: warning: ‘virtual void Fcitx::Module::load()’ can be marked override [-Wsuggest-override] 75 | void load(); | ^~~~ /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/src/module.h:80:10: warning: ‘virtual void Fcitx::Module::save()’ can be marked override [-Wsuggest-override] 80 | void save(); | ^~~~ /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/src/module.h:85:10: warning: ‘virtual void Fcitx::Module::defaults()’ can be marked override [-Wsuggest-override] 85 | void defaults(); | ^~~~~~~~ [26/40] /usr/bin/x86_64-pc-linux-gnu-g++ -DKCOREADDONS_LIB -DQT_CONCURRENT_LIB -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DQT_XML_LIB -DTRANSLATION_DOMAIN=\"kcm_fcitx\" -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -Dkcm_fcitx_EXPORTS -Isrc -I/var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/src -Isrc/kcm_fcitx_autogen/include -I. -I/var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/layout -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtX11Extras -isystem /usr/include/KF5/KCoreAddons -isystem /usr/include/KF5 -isystem /usr/include/KF5/KWidgetsAddons -isystem /usr/include/KF5/KConfigWidgets -isystem /usr/include/KF5/KCodecs -isystem /usr/include/KF5/KConfigGui -isystem /usr/include/qt5/QtXml -isystem /usr/include/KF5/KConfigCore -isystem /usr/include/KF5/KAuth -isystem /usr/include/KF5/KItemViews -isystem /usr/include/KF5/KI18n -isystem /usr/include/KF5/KIOCore -isystem /usr/include/KF5/KService -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtConcurrent -isystem /usr/include/qt5/QtDBus -isystem /usr/include/KF5/KIOWidgets -isystem /usr/include/KF5/KIOGui -isystem /usr/include/KF5/KWindowSystem -isystem /usr/include/KF5/KJobWidgets -isystem /usr/include/KF5/KCompletion -isystem /usr/include/KF5/KNewStuff3 -isystem /usr/include/KF5/KNewStuff3/KNS3 -isystem /usr/include/KF5/KNewStuff3/knscore -isystem /usr/include/KF5/KNewStuff3/kns3 -isystem /usr/include/KF5/KNewStuff3/KNSCore -isystem /usr/include/KF5/Attica -isystem /usr/include/KF5/KXmlGui -isystem /usr/include/FcitxQt5/FcitxQtWidgetsAddons -isystem /usr/include/FcitxQt5/FcitxQtDBusAddons -DNDEBUG -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -fvisibility=hidden -O2 -pipe -march=native -frecord-gcc-switches -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -fdiagnostics-color=always -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -std=gnu++11 -MD -MT src/CMakeFiles/kcm_fcitx.dir/global.cpp.o -MF src/CMakeFiles/kcm_fcitx.dir/global.cpp.o.d -o src/CMakeFiles/kcm_fcitx.dir/global.cpp.o -c /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/src/global.cpp [27/40] /usr/bin/x86_64-pc-linux-gnu-g++ -DKCOREADDONS_LIB -DQT_CONCURRENT_LIB -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DQT_XML_LIB -DTRANSLATION_DOMAIN=\"kcm_fcitx\" -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -Dkcm_fcitx_EXPORTS -Isrc -I/var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/src -Isrc/kcm_fcitx_autogen/include -I. -I/var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/layout -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtX11Extras -isystem /usr/include/KF5/KCoreAddons -isystem /usr/include/KF5 -isystem /usr/include/KF5/KWidgetsAddons -isystem /usr/include/KF5/KConfigWidgets -isystem /usr/include/KF5/KCodecs -isystem /usr/include/KF5/KConfigGui -isystem /usr/include/qt5/QtXml -isystem /usr/include/KF5/KConfigCore -isystem /usr/include/KF5/KAuth -isystem /usr/include/KF5/KItemViews -isystem /usr/include/KF5/KI18n -isystem /usr/include/KF5/KIOCore -isystem /usr/include/KF5/KService -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtConcurrent -isystem /usr/include/qt5/QtDBus -isystem /usr/include/KF5/KIOWidgets -isystem /usr/include/KF5/KIOGui -isystem /usr/include/KF5/KWindowSystem -isystem /usr/include/KF5/KJobWidgets -isystem /usr/include/KF5/KCompletion -isystem /usr/include/KF5/KNewStuff3 -isystem /usr/include/KF5/KNewStuff3/KNS3 -isystem /usr/include/KF5/KNewStuff3/knscore -isystem /usr/include/KF5/KNewStuff3/kns3 -isystem /usr/include/KF5/KNewStuff3/KNSCore -isystem /usr/include/KF5/Attica -isystem /usr/include/KF5/KXmlGui -isystem /usr/include/FcitxQt5/FcitxQtWidgetsAddons -isystem /usr/include/FcitxQt5/FcitxQtDBusAddons -DNDEBUG -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -fvisibility=hidden -O2 -pipe -march=native -frecord-gcc-switches -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -fdiagnostics-color=always -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -std=gnu++11 -MD -MT src/CMakeFiles/kcm_fcitx.dir/configpage.cpp.o -MF src/CMakeFiles/kcm_fcitx.dir/configpage.cpp.o.d -o src/CMakeFiles/kcm_fcitx.dir/configpage.cpp.o -c /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/src/configpage.cpp [28/40] /usr/bin/x86_64-pc-linux-gnu-g++ -DKCOREADDONS_LIB -DQT_CONCURRENT_LIB -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DQT_XML_LIB -DTRANSLATION_DOMAIN=\"kcm_fcitx\" -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -Dkcm_fcitx_EXPORTS -Isrc -I/var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/src -Isrc/kcm_fcitx_autogen/include -I. -I/var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/layout -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtX11Extras -isystem /usr/include/KF5/KCoreAddons -isystem /usr/include/KF5 -isystem /usr/include/KF5/KWidgetsAddons -isystem /usr/include/KF5/KConfigWidgets -isystem /usr/include/KF5/KCodecs -isystem /usr/include/KF5/KConfigGui -isystem /usr/include/qt5/QtXml -isystem /usr/include/KF5/KConfigCore -isystem /usr/include/KF5/KAuth -isystem /usr/include/KF5/KItemViews -isystem /usr/include/KF5/KI18n -isystem /usr/include/KF5/KIOCore -isystem /usr/include/KF5/KService -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtConcurrent -isystem /usr/include/qt5/QtDBus -isystem /usr/include/KF5/KIOWidgets -isystem /usr/include/KF5/KIOGui -isystem /usr/include/KF5/KWindowSystem -isystem /usr/include/KF5/KJobWidgets -isystem /usr/include/KF5/KCompletion -isystem /usr/include/KF5/KNewStuff3 -isystem /usr/include/KF5/KNewStuff3/KNS3 -isystem /usr/include/KF5/KNewStuff3/knscore -isystem /usr/include/KF5/KNewStuff3/kns3 -isystem /usr/include/KF5/KNewStuff3/KNSCore -isystem /usr/include/KF5/Attica -isystem /usr/include/KF5/KXmlGui -isystem /usr/include/FcitxQt5/FcitxQtWidgetsAddons -isystem /usr/include/FcitxQt5/FcitxQtDBusAddons -DNDEBUG -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -fvisibility=hidden -O2 -pipe -march=native -frecord-gcc-switches -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -fdiagnostics-color=always -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -std=gnu++11 -MD -MT src/CMakeFiles/kcm_fcitx.dir/subconfigwidget.cpp.o -MF src/CMakeFiles/kcm_fcitx.dir/subconfigwidget.cpp.o.d -o src/CMakeFiles/kcm_fcitx.dir/subconfigwidget.cpp.o -c /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/src/subconfigwidget.cpp In file included from /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/src/subconfigwidget.cpp:43: /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/src/subconfigwidget_p.h:44:25: warning: ‘virtual QModelIndex Fcitx::ConfigFileItemModel::index(int, int, const QModelIndex&) const’ can be marked override [-Wsuggest-override] 44 | virtual QModelIndex index(int row, int column, const QModelIndex& parent = QModelIndex()) const; | ^~~~~ /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/src/subconfigwidget_p.h:45:17: warning: ‘virtual int Fcitx::ConfigFileItemModel::rowCount(const QModelIndex&) const’ can be marked override [-Wsuggest-override] 45 | virtual int rowCount(const QModelIndex& parent = QModelIndex()) const; | ^~~~~~~~ /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/src/subconfigwidget_p.h:46:22: warning: ‘virtual QVariant Fcitx::ConfigFileItemModel::data(const QModelIndex&, int) const’ can be marked override [-Wsuggest-override] 46 | virtual QVariant data(const QModelIndex& index, int role = Qt::DisplayRole) const; | ^~~~ /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/src/subconfigwidget.cpp: In member function ‘void Fcitx::SubConfigWidget::openNativeFile()’: /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/src/subconfigwidget.cpp:272:135: warning: ‘static bool KRun::runUrl(const QUrl&, const QString&, QWidget*, KRun::RunFlags, const QString&, const QByteArray&)’ is deprecated: Since 5.71. Use KIO::OpenUrlJob, see API docs for a code sample [-Wdeprecated-declarations] 272 | KRun::runUrl(QUrl(newpath), m_subConfig->mimetype().isEmpty() ? "text/plain" : m_subConfig->mimetype(), NULL, KRun::RunFlags()); | ^ In file included from /usr/include/KF5/KIOWidgets/KRun:1, from /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/src/subconfigwidget.cpp:29: /usr/include/KF5/KIOWidgets/krun.h:415:17: note: declared here 415 | static bool runUrl(const QUrl &url, const QString &mimetype, QWidget *window, RunFlags flags, | ^~~~~~ /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/src/subconfigwidget.cpp: In member function ‘void Fcitx::SubConfigWidget::openProgram()’: /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/src/subconfigwidget.cpp:280:50: warning: ‘static bool KRun::runCommand(const QString&, QWidget*, const QString&)’ is deprecated: Since 5.71. Use KIO::CommandLauncherJob, see API docs for a code sample [-Wdeprecated-declarations] 280 | KRun::runCommand(m_subConfig->program(), NULL); | ^ In file included from /usr/include/KF5/KIOWidgets/KRun:1, from /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/src/subconfigwidget.cpp:29: /usr/include/KF5/KIOWidgets/krun.h:444:17: note: declared here 444 | static bool runCommand(const QString &cmd, QWidget *window, const QString &workingDirectory = QString()); | ^~~~~~~~~~ [29/40] /usr/bin/x86_64-pc-linux-gnu-g++ -DKCOREADDONS_LIB -DQT_CONCURRENT_LIB -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DQT_XML_LIB -DTRANSLATION_DOMAIN=\"kcm_fcitx\" -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -Dkcm_fcitx_EXPORTS -Isrc -I/var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/src -Isrc/kcm_fcitx_autogen/include -I. -I/var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/layout -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtX11Extras -isystem /usr/include/KF5/KCoreAddons -isystem /usr/include/KF5 -isystem /usr/include/KF5/KWidgetsAddons -isystem /usr/include/KF5/KConfigWidgets -isystem /usr/include/KF5/KCodecs -isystem /usr/include/KF5/KConfigGui -isystem /usr/include/qt5/QtXml -isystem /usr/include/KF5/KConfigCore -isystem /usr/include/KF5/KAuth -isystem /usr/include/KF5/KItemViews -isystem /usr/include/KF5/KI18n -isystem /usr/include/KF5/KIOCore -isystem /usr/include/KF5/KService -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtConcurrent -isystem /usr/include/qt5/QtDBus -isystem /usr/include/KF5/KIOWidgets -isystem /usr/include/KF5/KIOGui -isystem /usr/include/KF5/KWindowSystem -isystem /usr/include/KF5/KJobWidgets -isystem /usr/include/KF5/KCompletion -isystem /usr/include/KF5/KNewStuff3 -isystem /usr/include/KF5/KNewStuff3/KNS3 -isystem /usr/include/KF5/KNewStuff3/knscore -isystem /usr/include/KF5/KNewStuff3/kns3 -isystem /usr/include/KF5/KNewStuff3/KNSCore -isystem /usr/include/KF5/Attica -isystem /usr/include/KF5/KXmlGui -isystem /usr/include/FcitxQt5/FcitxQtWidgetsAddons -isystem /usr/include/FcitxQt5/FcitxQtDBusAddons -DNDEBUG -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -fvisibility=hidden -O2 -pipe -march=native -frecord-gcc-switches -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -fdiagnostics-color=always -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -std=gnu++11 -MD -MT src/CMakeFiles/kcm_fcitx.dir/subconfig.cpp.o -MF src/CMakeFiles/kcm_fcitx.dir/subconfig.cpp.o.d -o src/CMakeFiles/kcm_fcitx.dir/subconfig.cpp.o -c /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/src/subconfig.cpp /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/src/subconfig.cpp: In member function ‘void Fcitx::SubConfig::parseProgramSubConfig(const Fcitx::SubConfigPattern*)’: /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/src/subconfig.cpp:140:28: warning: ‘QString::null’ is deprecated: use QString() [-Wdeprecated-declarations] 140 | program = QString::null; | ^~~~ In file included from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtCore/qiodevice.h:45, from /usr/include/qt5/QtCore/qfiledevice.h:43, from /usr/include/qt5/QtCore/qfile.h:44, from /usr/include/qt5/QtCore/qfileinfo.h:43, from /usr/include/qt5/QtCore/QFileInfo:1, from /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/src/subconfig.cpp:20: /usr/include/qt5/QtCore/qstring.h:949:23: note: declared here 949 | static const Null null; | ^~~~ /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/src/subconfig.cpp:140:28: warning: ‘QString::null’ is deprecated: use QString() [-Wdeprecated-declarations] 140 | program = QString::null; | ^~~~ In file included from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtCore/qiodevice.h:45, from /usr/include/qt5/QtCore/qfiledevice.h:43, from /usr/include/qt5/QtCore/qfile.h:44, from /usr/include/qt5/QtCore/qfileinfo.h:43, from /usr/include/qt5/QtCore/QFileInfo:1, from /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/src/subconfig.cpp:20: /usr/include/qt5/QtCore/qstring.h:949:23: note: declared here 949 | static const Null null; | ^~~~ [30/40] /usr/bin/x86_64-pc-linux-gnu-g++ -DKCOREADDONS_LIB -DQT_CONCURRENT_LIB -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DQT_XML_LIB -DTRANSLATION_DOMAIN=\"kcm_fcitx\" -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -Dkcm_fcitx_EXPORTS -Isrc -I/var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/src -Isrc/kcm_fcitx_autogen/include -I. -I/var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/layout -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtX11Extras -isystem /usr/include/KF5/KCoreAddons -isystem /usr/include/KF5 -isystem /usr/include/KF5/KWidgetsAddons -isystem /usr/include/KF5/KConfigWidgets -isystem /usr/include/KF5/KCodecs -isystem /usr/include/KF5/KConfigGui -isystem /usr/include/qt5/QtXml -isystem /usr/include/KF5/KConfigCore -isystem /usr/include/KF5/KAuth -isystem /usr/include/KF5/KItemViews -isystem /usr/include/KF5/KI18n -isystem /usr/include/KF5/KIOCore -isystem /usr/include/KF5/KService -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtConcurrent -isystem /usr/include/qt5/QtDBus -isystem /usr/include/KF5/KIOWidgets -isystem /usr/include/KF5/KIOGui -isystem /usr/include/KF5/KWindowSystem -isystem /usr/include/KF5/KJobWidgets -isystem /usr/include/KF5/KCompletion -isystem /usr/include/KF5/KNewStuff3 -isystem /usr/include/KF5/KNewStuff3/KNS3 -isystem /usr/include/KF5/KNewStuff3/knscore -isystem /usr/include/KF5/KNewStuff3/kns3 -isystem /usr/include/KF5/KNewStuff3/KNSCore -isystem /usr/include/KF5/Attica -isystem /usr/include/KF5/KXmlGui -isystem /usr/include/FcitxQt5/FcitxQtWidgetsAddons -isystem /usr/include/FcitxQt5/FcitxQtDBusAddons -DNDEBUG -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -fvisibility=hidden -O2 -pipe -march=native -frecord-gcc-switches -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -fdiagnostics-color=always -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -std=gnu++11 -MD -MT src/CMakeFiles/kcm_fcitx.dir/imconfigdialog.cpp.o -MF src/CMakeFiles/kcm_fcitx.dir/imconfigdialog.cpp.o.d -o src/CMakeFiles/kcm_fcitx.dir/imconfigdialog.cpp.o -c /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/src/imconfigdialog.cpp [31/40] /usr/bin/x86_64-pc-linux-gnu-g++ -DKCOREADDONS_LIB -DQT_CONCURRENT_LIB -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DQT_XML_LIB -DTRANSLATION_DOMAIN=\"kcm_fcitx\" -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -Dkcm_fcitx_EXPORTS -Isrc -I/var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/src -Isrc/kcm_fcitx_autogen/include -I. -I/var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/layout -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtX11Extras -isystem /usr/include/KF5/KCoreAddons -isystem /usr/include/KF5 -isystem /usr/include/KF5/KWidgetsAddons -isystem /usr/include/KF5/KConfigWidgets -isystem /usr/include/KF5/KCodecs -isystem /usr/include/KF5/KConfigGui -isystem /usr/include/qt5/QtXml -isystem /usr/include/KF5/KConfigCore -isystem /usr/include/KF5/KAuth -isystem /usr/include/KF5/KItemViews -isystem /usr/include/KF5/KI18n -isystem /usr/include/KF5/KIOCore -isystem /usr/include/KF5/KService -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtConcurrent -isystem /usr/include/qt5/QtDBus -isystem /usr/include/KF5/KIOWidgets -isystem /usr/include/KF5/KIOGui -isystem /usr/include/KF5/KWindowSystem -isystem /usr/include/KF5/KJobWidgets -isystem /usr/include/KF5/KCompletion -isystem /usr/include/KF5/KNewStuff3 -isystem /usr/include/KF5/KNewStuff3/KNS3 -isystem /usr/include/KF5/KNewStuff3/knscore -isystem /usr/include/KF5/KNewStuff3/kns3 -isystem /usr/include/KF5/KNewStuff3/KNSCore -isystem /usr/include/KF5/Attica -isystem /usr/include/KF5/KXmlGui -isystem /usr/include/FcitxQt5/FcitxQtWidgetsAddons -isystem /usr/include/FcitxQt5/FcitxQtDBusAddons -DNDEBUG -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -fvisibility=hidden -O2 -pipe -march=native -frecord-gcc-switches -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -fdiagnostics-color=always -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -std=gnu++11 -MD -MT src/CMakeFiles/kcm_fcitx.dir/erroroverlay.cpp.o -MF src/CMakeFiles/kcm_fcitx.dir/erroroverlay.cpp.o.d -o src/CMakeFiles/kcm_fcitx.dir/erroroverlay.cpp.o -c /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/src/erroroverlay.cpp In file included from /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/src/erroroverlay.cpp:20: /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/src/erroroverlay.h:35:10: warning: ‘virtual bool ErrorOverlay::eventFilter(QObject*, QEvent*)’ can be marked override [-Wsuggest-override] 35 | bool eventFilter(QObject *object, QEvent *event); | ^~~~~~~~~~~ [32/40] /usr/bin/x86_64-pc-linux-gnu-g++ -DKCOREADDONS_LIB -DQT_CONCURRENT_LIB -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DQT_XML_LIB -DTRANSLATION_DOMAIN=\"kcm_fcitx\" -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -Dkcm_fcitx_EXPORTS -Isrc -I/var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/src -Isrc/kcm_fcitx_autogen/include -I. -I/var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/layout -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtX11Extras -isystem /usr/include/KF5/KCoreAddons -isystem /usr/include/KF5 -isystem /usr/include/KF5/KWidgetsAddons -isystem /usr/include/KF5/KConfigWidgets -isystem /usr/include/KF5/KCodecs -isystem /usr/include/KF5/KConfigGui -isystem /usr/include/qt5/QtXml -isystem /usr/include/KF5/KConfigCore -isystem /usr/include/KF5/KAuth -isystem /usr/include/KF5/KItemViews -isystem /usr/include/KF5/KI18n -isystem /usr/include/KF5/KIOCore -isystem /usr/include/KF5/KService -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtConcurrent -isystem /usr/include/qt5/QtDBus -isystem /usr/include/KF5/KIOWidgets -isystem /usr/include/KF5/KIOGui -isystem /usr/include/KF5/KWindowSystem -isystem /usr/include/KF5/KJobWidgets -isystem /usr/include/KF5/KCompletion -isystem /usr/include/KF5/KNewStuff3 -isystem /usr/include/KF5/KNewStuff3/KNS3 -isystem /usr/include/KF5/KNewStuff3/knscore -isystem /usr/include/KF5/KNewStuff3/kns3 -isystem /usr/include/KF5/KNewStuff3/KNSCore -isystem /usr/include/KF5/Attica -isystem /usr/include/KF5/KXmlGui -isystem /usr/include/FcitxQt5/FcitxQtWidgetsAddons -isystem /usr/include/FcitxQt5/FcitxQtDBusAddons -DNDEBUG -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -fvisibility=hidden -O2 -pipe -march=native -frecord-gcc-switches -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -fdiagnostics-color=always -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -std=gnu++11 -MD -MT src/CMakeFiles/kcm_fcitx.dir/skinpage.cpp.o -MF src/CMakeFiles/kcm_fcitx.dir/skinpage.cpp.o.d -o src/CMakeFiles/kcm_fcitx.dir/skinpage.cpp.o -c /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/src/skinpage.cpp FAILED: src/CMakeFiles/kcm_fcitx.dir/skinpage.cpp.o /usr/bin/x86_64-pc-linux-gnu-g++ -DKCOREADDONS_LIB -DQT_CONCURRENT_LIB -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DQT_XML_LIB -DTRANSLATION_DOMAIN=\"kcm_fcitx\" -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -Dkcm_fcitx_EXPORTS -Isrc -I/var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/src -Isrc/kcm_fcitx_autogen/include -I. -I/var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/layout -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtX11Extras -isystem /usr/include/KF5/KCoreAddons -isystem /usr/include/KF5 -isystem /usr/include/KF5/KWidgetsAddons -isystem /usr/include/KF5/KConfigWidgets -isystem /usr/include/KF5/KCodecs -isystem /usr/include/KF5/KConfigGui -isystem /usr/include/qt5/QtXml -isystem /usr/include/KF5/KConfigCore -isystem /usr/include/KF5/KAuth -isystem /usr/include/KF5/KItemViews -isystem /usr/include/KF5/KI18n -isystem /usr/include/KF5/KIOCore -isystem /usr/include/KF5/KService -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtConcurrent -isystem /usr/include/qt5/QtDBus -isystem /usr/include/KF5/KIOWidgets -isystem /usr/include/KF5/KIOGui -isystem /usr/include/KF5/KWindowSystem -isystem /usr/include/KF5/KJobWidgets -isystem /usr/include/KF5/KCompletion -isystem /usr/include/KF5/KNewStuff3 -isystem /usr/include/KF5/KNewStuff3/KNS3 -isystem /usr/include/KF5/KNewStuff3/knscore -isystem /usr/include/KF5/KNewStuff3/kns3 -isystem /usr/include/KF5/KNewStuff3/KNSCore -isystem /usr/include/KF5/Attica -isystem /usr/include/KF5/KXmlGui -isystem /usr/include/FcitxQt5/FcitxQtWidgetsAddons -isystem /usr/include/FcitxQt5/FcitxQtDBusAddons -DNDEBUG -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -fvisibility=hidden -O2 -pipe -march=native -frecord-gcc-switches -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -fdiagnostics-color=always -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -std=gnu++11 -MD -MT src/CMakeFiles/kcm_fcitx.dir/skinpage.cpp.o -MF src/CMakeFiles/kcm_fcitx.dir/skinpage.cpp.o.d -o src/CMakeFiles/kcm_fcitx.dir/skinpage.cpp.o -c /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/src/skinpage.cpp In file included from /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/src/skinpage.cpp:35: /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/src/module.h:75:10: warning: ‘virtual void Fcitx::Module::load()’ can be marked override [-Wsuggest-override] 75 | void load(); | ^~~~ /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/src/module.h:80:10: warning: ‘virtual void Fcitx::Module::save()’ can be marked override [-Wsuggest-override] 80 | void save(); | ^~~~ /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/src/module.h:85:10: warning: ‘virtual void Fcitx::Module::defaults()’ can be marked override [-Wsuggest-override] 85 | void defaults(); | ^~~~~~~~ In file included from /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/src/skinpage.cpp:39: /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/src/skinpage_p.h:141:25: warning: ‘virtual QModelIndex Fcitx::SkinPage::Private::SkinModel::index(int, int, const QModelIndex&) const’ can be marked override [-Wsuggest-override] 141 | virtual QModelIndex index(int row, int column = 0, const QModelIndex& parent = QModelIndex()) const; | ^~~~~ /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/src/skinpage_p.h:142:22: warning: ‘virtual QVariant Fcitx::SkinPage::Private::SkinModel::data(const QModelIndex&, int) const’ can be marked override [-Wsuggest-override] 142 | virtual QVariant data(const QModelIndex& index, int role = Qt::DisplayRole) const; | ^~~~ /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/src/skinpage_p.h:143:17: warning: ‘virtual int Fcitx::SkinPage::Private::SkinModel::rowCount(const QModelIndex&) const’ can be marked override [-Wsuggest-override] 143 | virtual int rowCount(const QModelIndex& parent = QModelIndex()) const; | ^~~~~~~~ /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/src/skinpage_p.h:144:18: warning: ‘virtual bool Fcitx::SkinPage::Private::SkinModel::setData(const QModelIndex&, const QVariant&, int)’ can be marked override [-Wsuggest-override] 144 | virtual bool setData(const QModelIndex& index, const QVariant& value, int role = Qt::EditRole); | ^~~~~~~ /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/src/skinpage_p.h:178:18: warning: ‘virtual void Fcitx::SkinPage::Private::SkinDelegate::paint(QPainter*, const QStyleOptionViewItem&, const QModelIndex&) const’ can be marked override [-Wsuggest-override] 178 | virtual void paint(QPainter* painter, const QStyleOptionViewItem& option, const QModelIndex& index) const; | ^~~~~ /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/src/skinpage_p.h:179:19: warning: ‘virtual QSize Fcitx::SkinPage::Private::SkinDelegate::sizeHint(const QStyleOptionViewItem&, const QModelIndex&) const’ can be marked override [-Wsuggest-override] 179 | virtual QSize sizeHint(const QStyleOptionViewItem& option, const QModelIndex& index) const; | ^~~~~~~~ /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/src/skinpage.cpp: In member function ‘virtual QVariant Fcitx::SkinPage::Private::SkinModel::data(const QModelIndex&, int) const’: /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/src/skinpage.cpp:134:10: error: narrowing conversion of ‘Fcitx::SkinPage::Private::PathRole’ from ‘unsigned int’ to ‘int’ [-Wnarrowing] 134 | case PathRole: | ^~~~~~~~ /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/src/skinpage.cpp: In member function ‘void Fcitx::SkinPage::Private::SkinModel::setSkinList(const QStringList&)’: /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/src/skinpage.cpp:170:21: warning: ‘void qSort(Container&) [with Container = QStringList]’ is deprecated: Use std::sort [-Wdeprecated-declarations] 170 | qSort(sortedList); | ^ In file included from /usr/include/qt5/QtCore/qlist.h:43, from /usr/include/qt5/QtCore/qvariant.h:45, from /usr/include/qt5/QtCore/qabstractitemmodel.h:43, from /usr/include/qt5/QtCore/qabstractproxymodel.h:43, from /usr/include/qt5/QtCore/qsortfilterproxymodel.h:43, from /usr/include/qt5/QtCore/QSortFilterProxyModel:1, from /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/src/skinpage.cpp:22: /usr/include/qt5/QtCore/qalgorithms.h:188:46: note: declared here 188 | QT_DEPRECATED_X("Use std::sort") inline void qSort(Container &c) | ^~~~~ /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/src/skinpage.cpp: In member function ‘QPixmap Fcitx::SkinPage::Private::SkinModel::drawSkinPreview(const QString&)’: /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/src/skinpage.cpp:257:54: warning: ‘int QFontMetrics::width(const QString&, int) const’ is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] 257 | resizeWidth += metrics.width(numberStr[i]); | ^ In file included from /usr/include/qt5/QtGui/qpainter.h:59, from /usr/include/qt5/QtGui/QPainter:1, from /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/src/skinpage.cpp:23: /usr/include/qt5/QtGui/qfontmetrics.h:106:9: note: declared here 106 | int width(const QString &, int len = -1) const; | ^~~~~ /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/src/skinpage.cpp:258:52: warning: ‘int QFontMetrics::width(const QString&, int) const’ is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] 258 | resizeWidth += metrics.width(candStr[i]); | ^ In file included from /usr/include/qt5/QtGui/qpainter.h:59, from /usr/include/qt5/QtGui/QPainter:1, from /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/src/skinpage.cpp:23: /usr/include/qt5/QtGui/qfontmetrics.h:106:9: note: declared here 106 | int width(const QString &, int len = -1) const; | ^~~~~ /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/src/skinpage.cpp:289:78: warning: ‘int QFontMetrics::width(const QString&, int) const’ is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] 289 | textPainter.drawText(marginLeft, inputPos, metrics.width(inputExample), fontHeight, Qt::AlignVCenter, inputExample); | ^ In file included from /usr/include/qt5/QtGui/qpainter.h:59, from /usr/include/qt5/QtGui/QPainter:1, from /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/src/skinpage.cpp:23: /usr/include/qt5/QtGui/qfontmetrics.h:106:9: note: declared here 106 | int width(const QString &, int len = -1) const; | ^~~~~ /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/src/skinpage.cpp:294:79: warning: ‘int QFontMetrics::width(const QString&, int) const’ is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] 294 | textPainter.drawText(offset, outputPos, metrics.width(numberStr[i]), fontHeight, Qt::AlignVCenter, numberStr[i]); | ^ In file included from /usr/include/qt5/QtGui/qpainter.h:59, from /usr/include/qt5/QtGui/QPainter:1, from /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/src/skinpage.cpp:23: /usr/include/qt5/QtGui/qfontmetrics.h:106:9: note: declared here 106 | int width(const QString &, int len = -1) const; | ^~~~~ /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/src/skinpage.cpp:295:57: warning: ‘int QFontMetrics::width(const QString&, int) const’ is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] 295 | offset = offset + metrics.width(numberStr[i]) + metrics.width(candStr[i]) + metrics.width(spaceStr); | ^ In file included from /usr/include/qt5/QtGui/qpainter.h:59, from /usr/include/qt5/QtGui/QPainter:1, from /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/src/skinpage.cpp:23: /usr/include/qt5/QtGui/qfontmetrics.h:106:9: note: declared here 106 | int width(const QString &, int len = -1) const; | ^~~~~ /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/src/skinpage.cpp:295:85: warning: ‘int QFontMetrics::width(const QString&, int) const’ is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] 295 | offset = offset + metrics.width(numberStr[i]) + metrics.width(candStr[i]) + metrics.width(spaceStr); | ^ In file included from /usr/include/qt5/QtGui/qpainter.h:59, from /usr/include/qt5/QtGui/QPainter:1, from /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/src/skinpage.cpp:23: /usr/include/qt5/QtGui/qfontmetrics.h:106:9: note: declared here 106 | int width(const QString &, int len = -1) const; | ^~~~~ /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/src/skinpage.cpp:295:111: warning: ‘int QFontMetrics::width(const QString&, int) const’ is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] 295 | offset = offset + metrics.width(numberStr[i]) + metrics.width(candStr[i]) + metrics.width(spaceStr); | ^ In file included from /usr/include/qt5/QtGui/qpainter.h:59, from /usr/include/qt5/QtGui/QPainter:1, from /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/src/skinpage.cpp:23: /usr/include/qt5/QtGui/qfontmetrics.h:106:9: note: declared here 106 | int width(const QString &, int len = -1) const; | ^~~~~ /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/src/skinpage.cpp:298:57: warning: ‘int QFontMetrics::width(const QString&, int) const’ is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] 298 | offset = marginLeft + metrics.width(numberStr[0]); | ^ In file included from /usr/include/qt5/QtGui/qpainter.h:59, from /usr/include/qt5/QtGui/QPainter:1, from /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/src/skinpage.cpp:23: /usr/include/qt5/QtGui/qfontmetrics.h:106:9: note: declared here 106 | int width(const QString &, int len = -1) const; | ^~~~~ /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/src/skinpage.cpp:301:73: warning: ‘int QFontMetrics::width(const QString&, int) const’ is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] 301 | textPainter.drawText(offset, outputPos, metrics.width(candStr[0]), fontHeight, Qt::AlignVCenter, candStr[0]); | ^ In file included from /usr/include/qt5/QtGui/qpainter.h:59, from /usr/include/qt5/QtGui/QPainter:1, from /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/src/skinpage.cpp:23: /usr/include/qt5/QtGui/qfontmetrics.h:106:9: note: declared here 106 | int width(const QString &, int len = -1) const; | ^~~~~ /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/src/skinpage.cpp:302:51: warning: ‘int QFontMetrics::width(const QString&, int) const’ is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] 302 | offset = offset + metrics.width(candStr[0]) + metrics.width(spaceStr) + metrics.width(numberStr[1]); | ^ In file included from /usr/include/qt5/QtGui/qpainter.h:59, from /usr/include/qt5/QtGui/QPainter:1, from /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/src/skinpage.cpp:23: /usr/include/qt5/QtGui/qfontmetrics.h:106:9: note: declared here 106 | int width(const QString &, int len = -1) const; | ^~~~~ /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/src/skinpage.cpp:302:77: warning: ‘int QFontMetrics::width(const QString&, int) const’ is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] 302 | offset = offset + metrics.width(candStr[0]) + metrics.width(spaceStr) + metrics.width(numberStr[1]); | ^ In file included from /usr/include/qt5/QtGui/qpainter.h:59, from /usr/include/qt5/QtGui/QPainter:1, from /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/src/skinpage.cpp:23: /usr/include/qt5/QtGui/qfontmetrics.h:106:9: note: declared here 106 | int width(const QString &, int len = -1) const; | ^~~~~ /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/src/skinpage.cpp:302:107: warning: ‘int QFontMetrics::width(const QString&, int) const’ is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] 302 | offset = offset + metrics.width(candStr[0]) + metrics.width(spaceStr) + metrics.width(numberStr[1]); | ^ In file included from /usr/include/qt5/QtGui/qpainter.h:59, from /usr/include/qt5/QtGui/QPainter:1, from /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/src/skinpage.cpp:23: /usr/include/qt5/QtGui/qfontmetrics.h:106:9: note: declared here 106 | int width(const QString &, int len = -1) const; | ^~~~~ /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/src/skinpage.cpp:305:73: warning: ‘int QFontMetrics::width(const QString&, int) const’ is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] 305 | textPainter.drawText(offset, outputPos, metrics.width(candStr[1]), fontHeight, Qt::AlignVCenter, candStr[1]); | ^ In file included from /usr/include/qt5/QtGui/qpainter.h:59, from /usr/include/qt5/QtGui/QPainter:1, from /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/src/skinpage.cpp:23: /usr/include/qt5/QtGui/qfontmetrics.h:106:9: note: declared here 106 | int width(const QString &, int len = -1) const; | ^~~~~ /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/src/skinpage.cpp:391:32: warning: ‘int QFontMetrics::width(const QString&, int) const’ is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] 391 | int w = fm.width(errmsg); | ^ In file included from /usr/include/qt5/QtGui/qpainter.h:59, from /usr/include/qt5/QtGui/QPainter:1, from /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/src/skinpage.cpp:23: /usr/include/qt5/QtGui/qfontmetrics.h:106:9: note: declared here 106 | int width(const QString &, int len = -1) const; | ^~~~~ /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/src/skinpage.cpp: In member function ‘void Fcitx::SkinPage::Private::load()’: /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/src/skinpage.cpp:707:59: warning: ‘QList QSet::toList() const [with T = QString]’ is deprecated: Use values() instead. [-Wdeprecated-declarations] 707 | skinModel->setSkinList(m_subConfig->fileList().toList()); | ^ In file included from /usr/include/qt5/QtCore/qdebug.h:52, from /usr/include/qt5/QtCore/qloggingcategory.h:44, from /usr/include/qt5/QtCore/QLoggingCategory:1, from /usr/include/KF5/KNewStuff3/kns3/entry.h:15, from /usr/include/KF5/KNewStuff3/kns3/downloaddialog.h:18, from /usr/include/KF5/KNewStuff3/KNS3/DownloadDialog:1, from /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/src/skinpage.cpp:29: /usr/include/qt5/QtCore/qset.h:265:14: note: declared here 265 | QList toList() const { return values(); } | ^~~~~~ [33/40] /usr/bin/x86_64-pc-linux-gnu-g++ -DKCOREADDONS_LIB -DQT_CONCURRENT_LIB -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DQT_XML_LIB -DTRANSLATION_DOMAIN=\"kcm_fcitx\" -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -Dkcm_fcitx_EXPORTS -Isrc -I/var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/src -Isrc/kcm_fcitx_autogen/include -I. -I/var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/layout -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtX11Extras -isystem /usr/include/KF5/KCoreAddons -isystem /usr/include/KF5 -isystem /usr/include/KF5/KWidgetsAddons -isystem /usr/include/KF5/KConfigWidgets -isystem /usr/include/KF5/KCodecs -isystem /usr/include/KF5/KConfigGui -isystem /usr/include/qt5/QtXml -isystem /usr/include/KF5/KConfigCore -isystem /usr/include/KF5/KAuth -isystem /usr/include/KF5/KItemViews -isystem /usr/include/KF5/KI18n -isystem /usr/include/KF5/KIOCore -isystem /usr/include/KF5/KService -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtConcurrent -isystem /usr/include/qt5/QtDBus -isystem /usr/include/KF5/KIOWidgets -isystem /usr/include/KF5/KIOGui -isystem /usr/include/KF5/KWindowSystem -isystem /usr/include/KF5/KJobWidgets -isystem /usr/include/KF5/KCompletion -isystem /usr/include/KF5/KNewStuff3 -isystem /usr/include/KF5/KNewStuff3/KNS3 -isystem /usr/include/KF5/KNewStuff3/knscore -isystem /usr/include/KF5/KNewStuff3/kns3 -isystem /usr/include/KF5/KNewStuff3/KNSCore -isystem /usr/include/KF5/Attica -isystem /usr/include/KF5/KXmlGui -isystem /usr/include/FcitxQt5/FcitxQtWidgetsAddons -isystem /usr/include/FcitxQt5/FcitxQtDBusAddons -DNDEBUG -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -fvisibility=hidden -O2 -pipe -march=native -frecord-gcc-switches -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -fdiagnostics-color=always -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -std=gnu++11 -MD -MT src/CMakeFiles/kcm_fcitx.dir/uipage.cpp.o -MF src/CMakeFiles/kcm_fcitx.dir/uipage.cpp.o.d -o src/CMakeFiles/kcm_fcitx.dir/uipage.cpp.o -c /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/src/uipage.cpp In file included from /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/src/uipage.cpp:2: /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/src/module.h:75:10: warning: ‘virtual void Fcitx::Module::load()’ can be marked override [-Wsuggest-override] 75 | void load(); | ^~~~ /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/src/module.h:80:10: warning: ‘virtual void Fcitx::Module::save()’ can be marked override [-Wsuggest-override] 80 | void save(); | ^~~~ /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/src/module.h:85:10: warning: ‘virtual void Fcitx::Module::defaults()’ can be marked override [-Wsuggest-override] 85 | void defaults(); | ^~~~~~~~ [34/40] /usr/bin/x86_64-pc-linux-gnu-g++ -DKCOREADDONS_LIB -DQT_CONCURRENT_LIB -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DQT_XML_LIB -DTRANSLATION_DOMAIN=\"kcm_fcitx\" -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -Dkcm_fcitx_EXPORTS -Isrc -I/var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/src -Isrc/kcm_fcitx_autogen/include -I. -I/var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/layout -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtX11Extras -isystem /usr/include/KF5/KCoreAddons -isystem /usr/include/KF5 -isystem /usr/include/KF5/KWidgetsAddons -isystem /usr/include/KF5/KConfigWidgets -isystem /usr/include/KF5/KCodecs -isystem /usr/include/KF5/KConfigGui -isystem /usr/include/qt5/QtXml -isystem /usr/include/KF5/KConfigCore -isystem /usr/include/KF5/KAuth -isystem /usr/include/KF5/KItemViews -isystem /usr/include/KF5/KI18n -isystem /usr/include/KF5/KIOCore -isystem /usr/include/KF5/KService -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtConcurrent -isystem /usr/include/qt5/QtDBus -isystem /usr/include/KF5/KIOWidgets -isystem /usr/include/KF5/KIOGui -isystem /usr/include/KF5/KWindowSystem -isystem /usr/include/KF5/KJobWidgets -isystem /usr/include/KF5/KCompletion -isystem /usr/include/KF5/KNewStuff3 -isystem /usr/include/KF5/KNewStuff3/KNS3 -isystem /usr/include/KF5/KNewStuff3/knscore -isystem /usr/include/KF5/KNewStuff3/kns3 -isystem /usr/include/KF5/KNewStuff3/KNSCore -isystem /usr/include/KF5/Attica -isystem /usr/include/KF5/KXmlGui -isystem /usr/include/FcitxQt5/FcitxQtWidgetsAddons -isystem /usr/include/FcitxQt5/FcitxQtDBusAddons -DNDEBUG -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -fvisibility=hidden -O2 -pipe -march=native -frecord-gcc-switches -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -fdiagnostics-color=always -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -std=gnu++11 -MD -MT src/CMakeFiles/kcm_fcitx.dir/addonselector.cpp.o -MF src/CMakeFiles/kcm_fcitx.dir/addonselector.cpp.o.d -o src/CMakeFiles/kcm_fcitx.dir/addonselector.cpp.o -c /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/src/addonselector.cpp In file included from /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/src/addonselector.cpp:42: /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/src/addonselector_p.h:90:25: warning: ‘virtual QModelIndex Fcitx::AddonSelector::Private::AddonModel::index(int, int, const QModelIndex&) const’ can be marked override [-Wsuggest-override] 90 | virtual QModelIndex index(int row, int column = 0, const QModelIndex& parent = QModelIndex()) const; | ^~~~~ /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/src/addonselector_p.h:91:22: warning: ‘virtual QVariant Fcitx::AddonSelector::Private::AddonModel::data(const QModelIndex&, int) const’ can be marked override [-Wsuggest-override] 91 | virtual QVariant data(const QModelIndex& index, int role = Qt::DisplayRole) const; | ^~~~ /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/src/addonselector_p.h:92:18: warning: ‘virtual bool Fcitx::AddonSelector::Private::AddonModel::setData(const QModelIndex&, const QVariant&, int)’ can be marked override [-Wsuggest-override] 92 | virtual bool setData(const QModelIndex& index, const QVariant& value, int role = Qt::EditRole); | ^~~~~~~ /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/src/addonselector_p.h:93:17: warning: ‘virtual int Fcitx::AddonSelector::Private::AddonModel::rowCount(const QModelIndex&) const’ can be marked override [-Wsuggest-override] 93 | virtual int rowCount(const QModelIndex& parent = QModelIndex()) const; | ^~~~~~~~ /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/src/addonselector_p.h:111:18: warning: ‘virtual bool Fcitx::AddonSelector::Private::ProxyModel::filterAcceptsRow(int, const QModelIndex&) const’ can be marked override [-Wsuggest-override] 111 | virtual bool filterAcceptsRow(int source_row, const QModelIndex& source_parent) const; | ^~~~~~~~~~~~~~~~ /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/src/addonselector_p.h:112:18: warning: ‘virtual bool Fcitx::AddonSelector::Private::ProxyModel::subSortLessThan(const QModelIndex&, const QModelIndex&) const’ can be marked override [-Wsuggest-override] 112 | virtual bool subSortLessThan(const QModelIndex& left, const QModelIndex& right) const; | ^~~~~~~~~~~~~~~ /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/src/addonselector_p.h:127:18: warning: ‘virtual void Fcitx::AddonSelector::Private::AddonDelegate::paint(QPainter*, const QStyleOptionViewItem&, const QModelIndex&) const’ can be marked override [-Wsuggest-override] 127 | virtual void paint(QPainter* painter, const QStyleOptionViewItem& option, const QModelIndex& index) const; | ^~~~~ /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/src/addonselector_p.h:128:19: warning: ‘virtual QSize Fcitx::AddonSelector::Private::AddonDelegate::sizeHint(const QStyleOptionViewItem&, const QModelIndex&) const’ can be marked override [-Wsuggest-override] 128 | virtual QSize sizeHint(const QStyleOptionViewItem& option, const QModelIndex& index) const; | ^~~~~~~~ /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/src/addonselector_p.h:135:31: warning: ‘virtual QList Fcitx::AddonSelector::Private::AddonDelegate::createItemWidgets(const QModelIndex&) const’ can be marked override [-Wsuggest-override] 135 | virtual QList< QWidget* > createItemWidgets(const QModelIndex &index) const; | ^~~~~~~~~~~~~~~~~ /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/src/addonselector_p.h:136:18: warning: ‘virtual void Fcitx::AddonSelector::Private::AddonDelegate::updateItemWidgets(QList, const QStyleOptionViewItem&, const QPersistentModelIndex&) const’ can be marked override [-Wsuggest-override] 136 | virtual void updateItemWidgets(const QList< QWidget* > widgets, const QStyleOptionViewItem& option, const QPersistentModelIndex& index) const; | ^~~~~~~~~~~~~~~~~ In file included from /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/src/addonselector.cpp:44: /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/src/module.h:75:10: warning: ‘virtual void Fcitx::Module::load()’ can be marked override [-Wsuggest-override] 75 | void load(); | ^~~~ /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/src/module.h:80:10: warning: ‘virtual void Fcitx::Module::save()’ can be marked override [-Wsuggest-override] 80 | void save(); | ^~~~ /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/src/module.h:85:10: warning: ‘virtual void Fcitx::Module::defaults()’ can be marked override [-Wsuggest-override] 85 | void defaults(); | ^~~~~~~~ /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/src/addonselector.cpp: In member function ‘virtual QSize Fcitx::AddonSelector::Private::AddonDelegate::sizeHint(const QStyleOptionViewItem&, const QModelIndex&) const’: /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/src/addonselector.cpp:275:86: warning: ‘int QFontMetrics::width(const QString&, int) const’ is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] 275 | return QSize(fmTitle.width(index.model()->data(index, Qt::DisplayRole).toString()) + | ^ In file included from /usr/include/qt5/QtWidgets/qwidget.h:50, from /usr/include/qt5/QtWidgets/qabstractbutton.h:46, from /usr/include/qt5/QtWidgets/qcheckbox.h:44, from /usr/include/qt5/QtWidgets/QCheckBox:1, from /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/src/addonselector.cpp:22: /usr/include/qt5/QtGui/qfontmetrics.h:106:9: note: declared here 106 | int width(const QString &, int len = -1) const; | ^~~~~ [35/40] /usr/bin/x86_64-pc-linux-gnu-g++ -DKCOREADDONS_LIB -DQT_CONCURRENT_LIB -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DQT_XML_LIB -DTRANSLATION_DOMAIN=\"kcm_fcitx\" -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -Dkcm_fcitx_EXPORTS -Isrc -I/var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/src -Isrc/kcm_fcitx_autogen/include -I. -I/var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/layout -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtX11Extras -isystem /usr/include/KF5/KCoreAddons -isystem /usr/include/KF5 -isystem /usr/include/KF5/KWidgetsAddons -isystem /usr/include/KF5/KConfigWidgets -isystem /usr/include/KF5/KCodecs -isystem /usr/include/KF5/KConfigGui -isystem /usr/include/qt5/QtXml -isystem /usr/include/KF5/KConfigCore -isystem /usr/include/KF5/KAuth -isystem /usr/include/KF5/KItemViews -isystem /usr/include/KF5/KI18n -isystem /usr/include/KF5/KIOCore -isystem /usr/include/KF5/KService -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtConcurrent -isystem /usr/include/qt5/QtDBus -isystem /usr/include/KF5/KIOWidgets -isystem /usr/include/KF5/KIOGui -isystem /usr/include/KF5/KWindowSystem -isystem /usr/include/KF5/KJobWidgets -isystem /usr/include/KF5/KCompletion -isystem /usr/include/KF5/KNewStuff3 -isystem /usr/include/KF5/KNewStuff3/KNS3 -isystem /usr/include/KF5/KNewStuff3/knscore -isystem /usr/include/KF5/KNewStuff3/kns3 -isystem /usr/include/KF5/KNewStuff3/KNSCore -isystem /usr/include/KF5/Attica -isystem /usr/include/KF5/KXmlGui -isystem /usr/include/FcitxQt5/FcitxQtWidgetsAddons -isystem /usr/include/FcitxQt5/FcitxQtDBusAddons -DNDEBUG -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -fvisibility=hidden -O2 -pipe -march=native -frecord-gcc-switches -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -fdiagnostics-color=always -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -std=gnu++11 -MD -MT src/CMakeFiles/kcm_fcitx.dir/module.cpp.o -MF src/CMakeFiles/kcm_fcitx.dir/module.cpp.o.d -o src/CMakeFiles/kcm_fcitx.dir/module.cpp.o -c /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/src/module.cpp In file included from /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/src/module.cpp:46: /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/src/module.h:75:10: warning: ‘virtual void Fcitx::Module::load()’ can be marked override [-Wsuggest-override] 75 | void load(); | ^~~~ /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/src/module.h:80:10: warning: ‘virtual void Fcitx::Module::save()’ can be marked override [-Wsuggest-override] 80 | void save(); | ^~~~ /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/src/module.h:85:10: warning: ‘virtual void Fcitx::Module::defaults()’ can be marked override [-Wsuggest-override] 85 | void defaults(); | ^~~~~~~~ In file included from /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/src/module.cpp:56: /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/src/erroroverlay.h:35:10: warning: ‘virtual bool ErrorOverlay::eventFilter(QObject*, QEvent*)’ can be marked override [-Wsuggest-override] 35 | bool eventFilter(QObject *object, QEvent *event); | ^~~~~~~~~~~ /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/src/module.cpp: In member function ‘virtual void Fcitx::Module::load()’: /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/src/module.cpp:210:26: warning: ‘QString::null’ is deprecated: use QString() [-Wdeprecated-declarations] 210 | m_arg = QString::null; | ^~~~ In file included from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtCore/qiodevice.h:45, from /usr/include/qt5/QtCore/qfiledevice.h:43, from /usr/include/qt5/QtCore/qfile.h:44, from /usr/include/qt5/QtCore/QFile:1, from /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/src/module.cpp:22: /usr/include/qt5/QtCore/qstring.h:949:23: note: declared here 949 | static const Null null; | ^~~~ /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/src/module.cpp:210:26: warning: ‘QString::null’ is deprecated: use QString() [-Wdeprecated-declarations] 210 | m_arg = QString::null; | ^~~~ In file included from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtCore/qiodevice.h:45, from /usr/include/qt5/QtCore/qfiledevice.h:43, from /usr/include/qt5/QtCore/qfile.h:44, from /usr/include/qt5/QtCore/QFile:1, from /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/src/module.cpp:22: /usr/include/qt5/QtCore/qstring.h:949:23: note: declared here 949 | static const Null null; | ^~~~ /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/src/module.cpp: In member function ‘virtual void Fcitx::Module::defaults()’: /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/src/module.cpp:242:13: warning: ‘void KCModule::changed()’ is deprecated: Since 5.64. Use KCModule::markAsChanged() [-Wdeprecated-declarations] 242 | changed(); | ^ In file included from /usr/include/KF5/KConfigWidgets/KCModule:1, from /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/src/module.h:24, from /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/src/module.cpp:46: /usr/include/KF5/KConfigWidgets/kcmodule.h:411:10: note: declared here 411 | void changed(); | ^~~~~~~ [36/40] /usr/bin/x86_64-pc-linux-gnu-g++ -DKCOREADDONS_LIB -DQT_CONCURRENT_LIB -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DQT_XML_LIB -DTRANSLATION_DOMAIN=\"kcm_fcitx\" -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -Dkcm_fcitx_EXPORTS -Isrc -I/var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/src -Isrc/kcm_fcitx_autogen/include -I. -I/var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/layout -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtX11Extras -isystem /usr/include/KF5/KCoreAddons -isystem /usr/include/KF5 -isystem /usr/include/KF5/KWidgetsAddons -isystem /usr/include/KF5/KConfigWidgets -isystem /usr/include/KF5/KCodecs -isystem /usr/include/KF5/KConfigGui -isystem /usr/include/qt5/QtXml -isystem /usr/include/KF5/KConfigCore -isystem /usr/include/KF5/KAuth -isystem /usr/include/KF5/KItemViews -isystem /usr/include/KF5/KI18n -isystem /usr/include/KF5/KIOCore -isystem /usr/include/KF5/KService -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtConcurrent -isystem /usr/include/qt5/QtDBus -isystem /usr/include/KF5/KIOWidgets -isystem /usr/include/KF5/KIOGui -isystem /usr/include/KF5/KWindowSystem -isystem /usr/include/KF5/KJobWidgets -isystem /usr/include/KF5/KCompletion -isystem /usr/include/KF5/KNewStuff3 -isystem /usr/include/KF5/KNewStuff3/KNS3 -isystem /usr/include/KF5/KNewStuff3/knscore -isystem /usr/include/KF5/KNewStuff3/kns3 -isystem /usr/include/KF5/KNewStuff3/KNSCore -isystem /usr/include/KF5/Attica -isystem /usr/include/KF5/KXmlGui -isystem /usr/include/FcitxQt5/FcitxQtWidgetsAddons -isystem /usr/include/FcitxQt5/FcitxQtDBusAddons -DNDEBUG -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -fvisibility=hidden -O2 -pipe -march=native -frecord-gcc-switches -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -fdiagnostics-color=always -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -std=gnu++11 -MD -MT src/CMakeFiles/kcm_fcitx.dir/configwidget.cpp.o -MF src/CMakeFiles/kcm_fcitx.dir/configwidget.cpp.o.d -o src/CMakeFiles/kcm_fcitx.dir/configwidget.cpp.o -c /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/src/configwidget.cpp In file included from /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/src/configwidget.cpp:56: /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/src/verticalscrollarea.h:32:18: warning: ‘virtual bool Fcitx::VerticalScrollArea::eventFilter(QObject*, QEvent*)’ can be marked override [-Wsuggest-override] 32 | virtual bool eventFilter(QObject* o, QEvent* e); | ^~~~~~~~~~~ [37/40] /usr/bin/x86_64-pc-linux-gnu-g++ -DKCOREADDONS_LIB -DQT_CONCURRENT_LIB -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DQT_XML_LIB -DTRANSLATION_DOMAIN=\"kcm_fcitx\" -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -Dkcm_fcitx_EXPORTS -Isrc -I/var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/src -Isrc/kcm_fcitx_autogen/include -I. -I/var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/layout -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtX11Extras -isystem /usr/include/KF5/KCoreAddons -isystem /usr/include/KF5 -isystem /usr/include/KF5/KWidgetsAddons -isystem /usr/include/KF5/KConfigWidgets -isystem /usr/include/KF5/KCodecs -isystem /usr/include/KF5/KConfigGui -isystem /usr/include/qt5/QtXml -isystem /usr/include/KF5/KConfigCore -isystem /usr/include/KF5/KAuth -isystem /usr/include/KF5/KItemViews -isystem /usr/include/KF5/KI18n -isystem /usr/include/KF5/KIOCore -isystem /usr/include/KF5/KService -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtConcurrent -isystem /usr/include/qt5/QtDBus -isystem /usr/include/KF5/KIOWidgets -isystem /usr/include/KF5/KIOGui -isystem /usr/include/KF5/KWindowSystem -isystem /usr/include/KF5/KJobWidgets -isystem /usr/include/KF5/KCompletion -isystem /usr/include/KF5/KNewStuff3 -isystem /usr/include/KF5/KNewStuff3/KNS3 -isystem /usr/include/KF5/KNewStuff3/knscore -isystem /usr/include/KF5/KNewStuff3/kns3 -isystem /usr/include/KF5/KNewStuff3/KNSCore -isystem /usr/include/KF5/Attica -isystem /usr/include/KF5/KXmlGui -isystem /usr/include/FcitxQt5/FcitxQtWidgetsAddons -isystem /usr/include/FcitxQt5/FcitxQtDBusAddons -DNDEBUG -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -fvisibility=hidden -O2 -pipe -march=native -frecord-gcc-switches -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -fdiagnostics-color=always -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -std=gnu++11 -MD -MT src/CMakeFiles/kcm_fcitx.dir/kcm_fcitx_autogen/mocs_compilation.cpp.o -MF src/CMakeFiles/kcm_fcitx.dir/kcm_fcitx_autogen/mocs_compilation.cpp.o.d -o src/CMakeFiles/kcm_fcitx.dir/kcm_fcitx_autogen/mocs_compilation.cpp.o -c src/kcm_fcitx_autogen/mocs_compilation.cpp In file included from src/kcm_fcitx_autogen/EWIEGA46WW/moc_addonselector_p.cpp:10, from src/kcm_fcitx_autogen/mocs_compilation.cpp:4: src/kcm_fcitx_autogen/EWIEGA46WW/../../../../kcm-fcitx-0.5.5/src/addonselector_p.h:90:25: warning: ‘virtual QModelIndex Fcitx::AddonSelector::Private::AddonModel::index(int, int, const QModelIndex&) const’ can be marked override [-Wsuggest-override] 90 | virtual QModelIndex index(int row, int column = 0, const QModelIndex& parent = QModelIndex()) const; | ^~~~~ src/kcm_fcitx_autogen/EWIEGA46WW/../../../../kcm-fcitx-0.5.5/src/addonselector_p.h:91:22: warning: ‘virtual QVariant Fcitx::AddonSelector::Private::AddonModel::data(const QModelIndex&, int) const’ can be marked override [-Wsuggest-override] 91 | virtual QVariant data(const QModelIndex& index, int role = Qt::DisplayRole) const; | ^~~~ src/kcm_fcitx_autogen/EWIEGA46WW/../../../../kcm-fcitx-0.5.5/src/addonselector_p.h:92:18: warning: ‘virtual bool Fcitx::AddonSelector::Private::AddonModel::setData(const QModelIndex&, const QVariant&, int)’ can be marked override [-Wsuggest-override] 92 | virtual bool setData(const QModelIndex& index, const QVariant& value, int role = Qt::EditRole); | ^~~~~~~ src/kcm_fcitx_autogen/EWIEGA46WW/../../../../kcm-fcitx-0.5.5/src/addonselector_p.h:93:17: warning: ‘virtual int Fcitx::AddonSelector::Private::AddonModel::rowCount(const QModelIndex&) const’ can be marked override [-Wsuggest-override] 93 | virtual int rowCount(const QModelIndex& parent = QModelIndex()) const; | ^~~~~~~~ src/kcm_fcitx_autogen/EWIEGA46WW/../../../../kcm-fcitx-0.5.5/src/addonselector_p.h:111:18: warning: ‘virtual bool Fcitx::AddonSelector::Private::ProxyModel::filterAcceptsRow(int, const QModelIndex&) const’ can be marked override [-Wsuggest-override] 111 | virtual bool filterAcceptsRow(int source_row, const QModelIndex& source_parent) const; | ^~~~~~~~~~~~~~~~ src/kcm_fcitx_autogen/EWIEGA46WW/../../../../kcm-fcitx-0.5.5/src/addonselector_p.h:112:18: warning: ‘virtual bool Fcitx::AddonSelector::Private::ProxyModel::subSortLessThan(const QModelIndex&, const QModelIndex&) const’ can be marked override [-Wsuggest-override] 112 | virtual bool subSortLessThan(const QModelIndex& left, const QModelIndex& right) const; | ^~~~~~~~~~~~~~~ src/kcm_fcitx_autogen/EWIEGA46WW/../../../../kcm-fcitx-0.5.5/src/addonselector_p.h:127:18: warning: ‘virtual void Fcitx::AddonSelector::Private::AddonDelegate::paint(QPainter*, const QStyleOptionViewItem&, const QModelIndex&) const’ can be marked override [-Wsuggest-override] 127 | virtual void paint(QPainter* painter, const QStyleOptionViewItem& option, const QModelIndex& index) const; | ^~~~~ src/kcm_fcitx_autogen/EWIEGA46WW/../../../../kcm-fcitx-0.5.5/src/addonselector_p.h:128:19: warning: ‘virtual QSize Fcitx::AddonSelector::Private::AddonDelegate::sizeHint(const QStyleOptionViewItem&, const QModelIndex&) const’ can be marked override [-Wsuggest-override] 128 | virtual QSize sizeHint(const QStyleOptionViewItem& option, const QModelIndex& index) const; | ^~~~~~~~ src/kcm_fcitx_autogen/EWIEGA46WW/../../../../kcm-fcitx-0.5.5/src/addonselector_p.h:135:31: warning: ‘virtual QList Fcitx::AddonSelector::Private::AddonDelegate::createItemWidgets(const QModelIndex&) const’ can be marked override [-Wsuggest-override] 135 | virtual QList< QWidget* > createItemWidgets(const QModelIndex &index) const; | ^~~~~~~~~~~~~~~~~ src/kcm_fcitx_autogen/EWIEGA46WW/../../../../kcm-fcitx-0.5.5/src/addonselector_p.h:136:18: warning: ‘virtual void Fcitx::AddonSelector::Private::AddonDelegate::updateItemWidgets(QList, const QStyleOptionViewItem&, const QPersistentModelIndex&) const’ can be marked override [-Wsuggest-override] 136 | virtual void updateItemWidgets(const QList< QWidget* > widgets, const QStyleOptionViewItem& option, const QPersistentModelIndex& index) const; | ^~~~~~~~~~~~~~~~~ In file included from src/kcm_fcitx_autogen/EWIEGA46WW/moc_erroroverlay.cpp:10, from src/kcm_fcitx_autogen/mocs_compilation.cpp:7: src/kcm_fcitx_autogen/EWIEGA46WW/../../../../kcm-fcitx-0.5.5/src/erroroverlay.h:35:10: warning: ‘virtual bool ErrorOverlay::eventFilter(QObject*, QEvent*)’ can be marked override [-Wsuggest-override] 35 | bool eventFilter(QObject *object, QEvent *event); | ^~~~~~~~~~~ In file included from src/kcm_fcitx_autogen/EWIEGA46WW/moc_impage_p.cpp:10, from src/kcm_fcitx_autogen/mocs_compilation.cpp:12: src/kcm_fcitx_autogen/EWIEGA46WW/../../../../kcm-fcitx-0.5.5/src/impage_p.h:182:25: warning: ‘virtual QModelIndex Fcitx::IMPage::Private::IMModel::index(int, int, const QModelIndex&) const’ can be marked override [-Wsuggest-override] 182 | virtual QModelIndex index(int row, int column = 0, const QModelIndex& parent = QModelIndex()) const; | ^~~~~ src/kcm_fcitx_autogen/EWIEGA46WW/../../../../kcm-fcitx-0.5.5/src/impage_p.h:183:22: warning: ‘virtual QVariant Fcitx::IMPage::Private::IMModel::data(const QModelIndex&, int) const’ can be marked override [-Wsuggest-override] 183 | virtual QVariant data(const QModelIndex& index, int role = Qt::DisplayRole) const; | ^~~~ src/kcm_fcitx_autogen/EWIEGA46WW/../../../../kcm-fcitx-0.5.5/src/impage_p.h:184:17: warning: ‘virtual int Fcitx::IMPage::Private::IMModel::rowCount(const QModelIndex&) const’ can be marked override [-Wsuggest-override] 184 | virtual int rowCount(const QModelIndex& parent = QModelIndex()) const; | ^~~~~~~~ In file included from src/kcm_fcitx_autogen/EWIEGA46WW/moc_module.cpp:10, from src/kcm_fcitx_autogen/mocs_compilation.cpp:13: src/kcm_fcitx_autogen/EWIEGA46WW/../../../../kcm-fcitx-0.5.5/src/module.h:75:10: warning: ‘virtual void Fcitx::Module::load()’ can be marked override [-Wsuggest-override] 75 | void load(); | ^~~~ src/kcm_fcitx_autogen/EWIEGA46WW/../../../../kcm-fcitx-0.5.5/src/module.h:80:10: warning: ‘virtual void Fcitx::Module::save()’ can be marked override [-Wsuggest-override] 80 | void save(); | ^~~~ src/kcm_fcitx_autogen/EWIEGA46WW/../../../../kcm-fcitx-0.5.5/src/module.h:85:10: warning: ‘virtual void Fcitx::Module::defaults()’ can be marked override [-Wsuggest-override] 85 | void defaults(); | ^~~~~~~~ In file included from src/kcm_fcitx_autogen/EWIEGA46WW/moc_skinpage_p.cpp:10, from src/kcm_fcitx_autogen/mocs_compilation.cpp:15: src/kcm_fcitx_autogen/EWIEGA46WW/../../../../kcm-fcitx-0.5.5/src/skinpage_p.h:141:25: warning: ‘virtual QModelIndex Fcitx::SkinPage::Private::SkinModel::index(int, int, const QModelIndex&) const’ can be marked override [-Wsuggest-override] 141 | virtual QModelIndex index(int row, int column = 0, const QModelIndex& parent = QModelIndex()) const; | ^~~~~ src/kcm_fcitx_autogen/EWIEGA46WW/../../../../kcm-fcitx-0.5.5/src/skinpage_p.h:142:22: warning: ‘virtual QVariant Fcitx::SkinPage::Private::SkinModel::data(const QModelIndex&, int) const’ can be marked override [-Wsuggest-override] 142 | virtual QVariant data(const QModelIndex& index, int role = Qt::DisplayRole) const; | ^~~~ src/kcm_fcitx_autogen/EWIEGA46WW/../../../../kcm-fcitx-0.5.5/src/skinpage_p.h:143:17: warning: ‘virtual int Fcitx::SkinPage::Private::SkinModel::rowCount(const QModelIndex&) const’ can be marked override [-Wsuggest-override] 143 | virtual int rowCount(const QModelIndex& parent = QModelIndex()) const; | ^~~~~~~~ src/kcm_fcitx_autogen/EWIEGA46WW/../../../../kcm-fcitx-0.5.5/src/skinpage_p.h:144:18: warning: ‘virtual bool Fcitx::SkinPage::Private::SkinModel::setData(const QModelIndex&, const QVariant&, int)’ can be marked override [-Wsuggest-override] 144 | virtual bool setData(const QModelIndex& index, const QVariant& value, int role = Qt::EditRole); | ^~~~~~~ src/kcm_fcitx_autogen/EWIEGA46WW/../../../../kcm-fcitx-0.5.5/src/skinpage_p.h:178:18: warning: ‘virtual void Fcitx::SkinPage::Private::SkinDelegate::paint(QPainter*, const QStyleOptionViewItem&, const QModelIndex&) const’ can be marked override [-Wsuggest-override] 178 | virtual void paint(QPainter* painter, const QStyleOptionViewItem& option, const QModelIndex& index) const; | ^~~~~ src/kcm_fcitx_autogen/EWIEGA46WW/../../../../kcm-fcitx-0.5.5/src/skinpage_p.h:179:19: warning: ‘virtual QSize Fcitx::SkinPage::Private::SkinDelegate::sizeHint(const QStyleOptionViewItem&, const QModelIndex&) const’ can be marked override [-Wsuggest-override] 179 | virtual QSize sizeHint(const QStyleOptionViewItem& option, const QModelIndex& index) const; | ^~~~~~~~ In file included from src/kcm_fcitx_autogen/EWIEGA46WW/moc_subconfigwidget_p.cpp:10, from src/kcm_fcitx_autogen/mocs_compilation.cpp:19: src/kcm_fcitx_autogen/EWIEGA46WW/../../../../kcm-fcitx-0.5.5/src/subconfigwidget_p.h:44:25: warning: ‘virtual QModelIndex Fcitx::ConfigFileItemModel::index(int, int, const QModelIndex&) const’ can be marked override [-Wsuggest-override] 44 | virtual QModelIndex index(int row, int column, const QModelIndex& parent = QModelIndex()) const; | ^~~~~ src/kcm_fcitx_autogen/EWIEGA46WW/../../../../kcm-fcitx-0.5.5/src/subconfigwidget_p.h:45:17: warning: ‘virtual int Fcitx::ConfigFileItemModel::rowCount(const QModelIndex&) const’ can be marked override [-Wsuggest-override] 45 | virtual int rowCount(const QModelIndex& parent = QModelIndex()) const; | ^~~~~~~~ src/kcm_fcitx_autogen/EWIEGA46WW/../../../../kcm-fcitx-0.5.5/src/subconfigwidget_p.h:46:22: warning: ‘virtual QVariant Fcitx::ConfigFileItemModel::data(const QModelIndex&, int) const’ can be marked override [-Wsuggest-override] 46 | virtual QVariant data(const QModelIndex& index, int role = Qt::DisplayRole) const; | ^~~~ In file included from src/kcm_fcitx_autogen/EWIEGA46WW/moc_verticalscrollarea.cpp:10, from src/kcm_fcitx_autogen/mocs_compilation.cpp:21: src/kcm_fcitx_autogen/EWIEGA46WW/../../../../kcm-fcitx-0.5.5/src/verticalscrollarea.h:32:18: warning: ‘virtual bool Fcitx::VerticalScrollArea::eventFilter(QObject*, QEvent*)’ can be marked override [-Wsuggest-override] 32 | virtual bool eventFilter(QObject* o, QEvent* e); | ^~~~~~~~~~~ [38/40] /usr/bin/x86_64-pc-linux-gnu-g++ -DKCOREADDONS_LIB -DQT_CONCURRENT_LIB -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DQT_XML_LIB -DTRANSLATION_DOMAIN=\"kcm_fcitx\" -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -Dkcm_fcitx_EXPORTS -Isrc -I/var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/src -Isrc/kcm_fcitx_autogen/include -I. -I/var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/layout -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtX11Extras -isystem /usr/include/KF5/KCoreAddons -isystem /usr/include/KF5 -isystem /usr/include/KF5/KWidgetsAddons -isystem /usr/include/KF5/KConfigWidgets -isystem /usr/include/KF5/KCodecs -isystem /usr/include/KF5/KConfigGui -isystem /usr/include/qt5/QtXml -isystem /usr/include/KF5/KConfigCore -isystem /usr/include/KF5/KAuth -isystem /usr/include/KF5/KItemViews -isystem /usr/include/KF5/KI18n -isystem /usr/include/KF5/KIOCore -isystem /usr/include/KF5/KService -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtConcurrent -isystem /usr/include/qt5/QtDBus -isystem /usr/include/KF5/KIOWidgets -isystem /usr/include/KF5/KIOGui -isystem /usr/include/KF5/KWindowSystem -isystem /usr/include/KF5/KJobWidgets -isystem /usr/include/KF5/KCompletion -isystem /usr/include/KF5/KNewStuff3 -isystem /usr/include/KF5/KNewStuff3/KNS3 -isystem /usr/include/KF5/KNewStuff3/knscore -isystem /usr/include/KF5/KNewStuff3/kns3 -isystem /usr/include/KF5/KNewStuff3/KNSCore -isystem /usr/include/KF5/Attica -isystem /usr/include/KF5/KXmlGui -isystem /usr/include/FcitxQt5/FcitxQtWidgetsAddons -isystem /usr/include/FcitxQt5/FcitxQtDBusAddons -DNDEBUG -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -fvisibility=hidden -O2 -pipe -march=native -frecord-gcc-switches -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -fdiagnostics-color=always -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -std=gnu++11 -MD -MT src/CMakeFiles/kcm_fcitx.dir/impage.cpp.o -MF src/CMakeFiles/kcm_fcitx.dir/impage.cpp.o.d -o src/CMakeFiles/kcm_fcitx.dir/impage.cpp.o -c /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/src/impage.cpp In file included from /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/src/impage.cpp:34: /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/src/impage_p.h:182:25: warning: ‘virtual QModelIndex Fcitx::IMPage::Private::IMModel::index(int, int, const QModelIndex&) const’ can be marked override [-Wsuggest-override] 182 | virtual QModelIndex index(int row, int column = 0, const QModelIndex& parent = QModelIndex()) const; | ^~~~~ /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/src/impage_p.h:183:22: warning: ‘virtual QVariant Fcitx::IMPage::Private::IMModel::data(const QModelIndex&, int) const’ can be marked override [-Wsuggest-override] 183 | virtual QVariant data(const QModelIndex& index, int role = Qt::DisplayRole) const; | ^~~~ /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/src/impage_p.h:184:17: warning: ‘virtual int Fcitx::IMPage::Private::IMModel::rowCount(const QModelIndex&) const’ can be marked override [-Wsuggest-override] 184 | virtual int rowCount(const QModelIndex& parent = QModelIndex()) const; | ^~~~~~~~ In file included from /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/src/impage.cpp:36: /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/src/module.h:75:10: warning: ‘virtual void Fcitx::Module::load()’ can be marked override [-Wsuggest-override] 75 | void load(); | ^~~~ /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/src/module.h:80:10: warning: ‘virtual void Fcitx::Module::save()’ can be marked override [-Wsuggest-override] 80 | void save(); | ^~~~ /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/src/module.h:85:10: warning: ‘virtual void Fcitx::Module::defaults()’ can be marked override [-Wsuggest-override] 85 | void defaults(); | ^~~~~~~~ In file included from /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/src/impage.cpp:40: /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/src/erroroverlay.h:35:10: warning: ‘virtual bool ErrorOverlay::eventFilter(QObject*, QEvent*)’ can be marked override [-Wsuggest-override] 35 | bool eventFilter(QObject *object, QEvent *event); | ^~~~~~~~~~~ /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/src/impage.cpp: In member function ‘void Fcitx::IMPage::Private::addIM(const QModelIndex&)’: /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/src/impage.cpp:636:57: warning: ‘void qStableSort(RandomAccessIterator, RandomAccessIterator) [with RandomAccessIterator = QList::iterator]’ is deprecated: Use std::stable_sort [-Wdeprecated-declarations] 636 | qStableSort(m_list.begin(), m_list.end()); | ^ In file included from /usr/include/qt5/QtCore/qlist.h:43, from /usr/include/qt5/QtCore/qvariant.h:45, from /usr/include/qt5/QtCore/qabstractitemmodel.h:43, from /usr/include/qt5/QtGui/qstandarditemmodel.h:44, from /usr/include/qt5/QtGui/QStandardItemModel:1, from /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/src/impage.cpp:21: /usr/include/qt5/QtCore/qalgorithms.h:199:53: note: declared here 199 | QT_DEPRECATED_X("Use std::stable_sort") inline void qStableSort(RandomAccessIterator start, RandomAccessIterator end) | ^~~~~~~~~~~ /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/src/impage.cpp: In member function ‘void Fcitx::IMPage::Private::removeIM(const QModelIndex&)’: /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/src/impage.cpp:652:57: warning: ‘void qStableSort(RandomAccessIterator, RandomAccessIterator) [with RandomAccessIterator = QList::iterator]’ is deprecated: Use std::stable_sort [-Wdeprecated-declarations] 652 | qStableSort(m_list.begin(), m_list.end()); | ^ In file included from /usr/include/qt5/QtCore/qlist.h:43, from /usr/include/qt5/QtCore/qvariant.h:45, from /usr/include/qt5/QtCore/qabstractitemmodel.h:43, from /usr/include/qt5/QtGui/qstandarditemmodel.h:44, from /usr/include/qt5/QtGui/QStandardItemModel:1, from /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/src/impage.cpp:21: /usr/include/qt5/QtCore/qalgorithms.h:199:53: note: declared here 199 | QT_DEPRECATED_X("Use std::stable_sort") inline void qStableSort(RandomAccessIterator start, RandomAccessIterator end) | ^~~~~~~~~~~ /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/src/impage.cpp: In member function ‘void Fcitx::IMPage::Private::moveDownIM()’: /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/src/impage.cpp:677:44: warning: ‘void QList::swap(int, int) [with T = FcitxQtInputMethodItem]’ is deprecated: Use QList::swapItemsAt() [-Wdeprecated-declarations] 677 | m_list.swap(curIMIdx, nextIMIdx); | ^ In file included from /usr/include/qt5/QtCore/qvariant.h:45, from /usr/include/qt5/QtCore/qabstractitemmodel.h:43, from /usr/include/qt5/QtGui/qstandarditemmodel.h:44, from /usr/include/qt5/QtGui/QStandardItemModel:1, from /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/src/impage.cpp:21: /usr/include/qt5/QtCore/qlist.h:225:10: note: declared here 225 | void swap(int i, int j) { swapItemsAt(i, j); } | ^~~~ /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/src/impage.cpp:678:53: warning: ‘void qStableSort(RandomAccessIterator, RandomAccessIterator) [with RandomAccessIterator = QList::iterator]’ is deprecated: Use std::stable_sort [-Wdeprecated-declarations] 678 | qStableSort(m_list.begin(), m_list.end()); | ^ In file included from /usr/include/qt5/QtCore/qlist.h:43, from /usr/include/qt5/QtCore/qvariant.h:45, from /usr/include/qt5/QtCore/qabstractitemmodel.h:43, from /usr/include/qt5/QtGui/qstandarditemmodel.h:44, from /usr/include/qt5/QtGui/QStandardItemModel:1, from /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/src/impage.cpp:21: /usr/include/qt5/QtCore/qalgorithms.h:199:53: note: declared here 199 | QT_DEPRECATED_X("Use std::stable_sort") inline void qStableSort(RandomAccessIterator start, RandomAccessIterator end) | ^~~~~~~~~~~ /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/src/impage.cpp: In member function ‘void Fcitx::IMPage::Private::moveUpIM()’: /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/src/impage.cpp:723:44: warning: ‘void QList::swap(int, int) [with T = FcitxQtInputMethodItem]’ is deprecated: Use QList::swapItemsAt() [-Wdeprecated-declarations] 723 | m_list.swap(curIMIdx, nextIMIdx); | ^ In file included from /usr/include/qt5/QtCore/qvariant.h:45, from /usr/include/qt5/QtCore/qabstractitemmodel.h:43, from /usr/include/qt5/QtGui/qstandarditemmodel.h:44, from /usr/include/qt5/QtGui/QStandardItemModel:1, from /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/src/impage.cpp:21: /usr/include/qt5/QtCore/qlist.h:225:10: note: declared here 225 | void swap(int i, int j) { swapItemsAt(i, j); } | ^~~~ /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/src/impage.cpp:724:53: warning: ‘void qStableSort(RandomAccessIterator, RandomAccessIterator) [with RandomAccessIterator = QList::iterator]’ is deprecated: Use std::stable_sort [-Wdeprecated-declarations] 724 | qStableSort(m_list.begin(), m_list.end()); | ^ In file included from /usr/include/qt5/QtCore/qlist.h:43, from /usr/include/qt5/QtCore/qvariant.h:45, from /usr/include/qt5/QtCore/qabstractitemmodel.h:43, from /usr/include/qt5/QtGui/qstandarditemmodel.h:44, from /usr/include/qt5/QtGui/QStandardItemModel:1, from /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/src/impage.cpp:21: /usr/include/qt5/QtCore/qalgorithms.h:199:53: note: declared here 199 | QT_DEPRECATED_X("Use std::stable_sort") inline void qStableSort(RandomAccessIterator start, RandomAccessIterator end) | ^~~~~~~~~~~ /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/src/impage.cpp: In member function ‘void Fcitx::IMPage::Private::fetchIMList()’: /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/src/impage.cpp:741:49: warning: ‘void qStableSort(RandomAccessIterator, RandomAccessIterator) [with RandomAccessIterator = QList::iterator]’ is deprecated: Use std::stable_sort [-Wdeprecated-declarations] 741 | qStableSort(m_list.begin(), m_list.end()); | ^ In file included from /usr/include/qt5/QtCore/qlist.h:43, from /usr/include/qt5/QtCore/qvariant.h:45, from /usr/include/qt5/QtCore/qabstractitemmodel.h:43, from /usr/include/qt5/QtGui/qstandarditemmodel.h:44, from /usr/include/qt5/QtGui/QStandardItemModel:1, from /var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5/src/impage.cpp:21: /usr/include/qt5/QtCore/qalgorithms.h:199:53: note: declared here 199 | QT_DEPRECATED_X("Use std::stable_sort") inline void qStableSort(RandomAccessIterator start, RandomAccessIterator end) | ^~~~~~~~~~~ ninja: build stopped: subcommand failed. * ERROR: app-i18n/kcm-fcitx-0.5.5::gentoo failed (compile phase): * ninja -v -j36 -l0 failed * * Call stack: * ebuild.sh, line 125: Called src_compile * environment, line 2167: Called cmake-utils_src_compile * environment, line 754: Called cmake-utils_src_make * environment, line 938: Called _cmake_ninja_src_make * environment, line 501: Called eninja * environment, line 1244: Called die * The specific snippet of code: * "$@" || die "${nonfatal_args[@]}" "${*} failed" * * If you need support, post the output of `emerge --info '=app-i18n/kcm-fcitx-0.5.5::gentoo'`, * the complete build log and the output of `emerge -pqv '=app-i18n/kcm-fcitx-0.5.5::gentoo'`. * The complete build log is located at '/var/log/emerge-log/build/app-i18n/kcm-fcitx-0.5.5:20201002-183620.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/temp/environment'. * Working directory: '/var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5_build' * S: '/var/tmp/portage/app-i18n/kcm-fcitx-0.5.5/work/kcm-fcitx-0.5.5'