| Summary: | Crashed when compiling with error: ‘KCoreAddons’ has not been declared | ||
|---|---|---|---|
| Product: | [Applications] kinfocenter | Reporter: | Liewyec <ondrej.hojdysz> |
| Component: | general | Assignee: | David Hubner <hubn3rd> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | ||
| Priority: | NOR | ||
| Version First Reported In: | 5.5.95 | ||
| Target Milestone: | --- | ||
| Platform: | Gentoo Packages | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
Already fixed with commit b4994c307ce86b52e20c4afb35ff2eaf12bfd8f1 by David Edmundson. |
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.