https://bugs.kde.org/show_bug.cgi?id=360596
Bug ID: 360596 Summary: Crashed when compiling with error: ‘KCoreAddons’ has not been declared Product: kinfocenter Version: 5.5.95 Platform: Gentoo Packages OS: Linux Status: UNCONFIRMED Severity: normal Priority: NOR Component: general Assignee: hubn...@gmail.com Reporter: ondrej.hojd...@gmail.com When emerge this package it always crashesh with ang GCC is complaining about this: KCoreAddons is not declared "KCOREADDONS_VERSION" is not defined I looked in to source code and find out that the includes are in wrong order. I fixed this by moving #include <kcoreaddons_version.h> above #if KCOREADDONS_VERSION >= QT_VERSION_CHECK(5,20,0) #include <KCoreAddons> #endif in file: /var/tmp/portage/kde-plasma/kinfocenter-5.5.95/work/kinfocenter-5.5.95/Modules/about-distro/src/Module.cpp after that it compiles without any problem Reproducible: Always Steps to Reproduce: 1. emerge =kde-plasma/kinfocenter-5.5.95 2. 3. -- You are receiving this mail because: You are watching all bug changes.