https://bugs.kde.org/show_bug.cgi?id=490266
Bug ID: 490266 Summary: Amarok fails to build with KF < 5.94 due to KStatefulBrush include Classification: Applications Product: amarok Version: unspecified Platform: Other OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: Playlist Assignee: amarok-bugs-d...@kde.org Reporter: joe.y...@gmail.com Target Milestone: kf5 SUMMARY a151941ed2c9199d6d16ef91f0ecef61c4b03cca added an include of KStatefulBrush to src/playlist/ProgressiveSearchWidget.cpp. The KStatefulBrush header wasn't introduced until KF 5.94. Before that, the class was just in KColorScheme. STEPS TO REPRODUCE 1. Build Amarok after a151941ed2c9199d6d16ef91f0ecef61c4b03cca on Kubuntu 22.04 2. 3. OBSERVED RESULT /<<PKGBUILDDIR>>/src/playlist/ProgressiveSearchWidget.cpp:25:10: fatal error: KStatefulBrush: No such file or directory 25 | #include <KStatefulBrush> | ^~~~~~~~~~~~~~~~ compilation terminated. make[4]: *** [src/CMakeFiles/amaroklib.dir/build.make:1067: src/CMakeFiles/amaroklib.dir/playlist/ProgressiveSearchWidget.cpp.o] Error 1 See: https://launchpadlibrarian.net/739316606/buildlog_ubuntu-jammy-amd64.amarok_2%3A3.0.1+git202407132210-0+yasi1~21~ubuntu22.04.1_BUILDING.txt.gz EXPECTED RESULT Compile succeeds. SOFTWARE/OS VERSIONS Linux/KDE Plasma: Kubuntu 22.04 (available in About System) KDE Plasma Version: 5.24.7 KDE Frameworks Version: 5.92 Qt Version: 5.15.3 ADDITIONAL INFORMATION -- You are receiving this mail because: You are watching all bug changes.