SUMMARY Commit b99f6f50eef395a3ceb88fb3d4b7357cbbc13c85 fails to build without KActivties, because of wrong #if checks: cmakedefine01 HAVE_KACTIVITIES will always define the variable, either to 0 or to 1. To check for HAVE_KACTIVITIES, use #if instead of #ifdef (see also usage in dolphinviewcontainer.cpp)
Created attachment 158576 [details] #ifdef HAVE_KACTIVITIES -> #if HAVE_KACTIVITIES patch Confirmed bisect to b99f6f50e. Confirmed it builds with (gentoo) USE=kactivites. Here's the error without: src/global.cpp:20:10: fatal error: KActivities/Consumer: No such file or directory 20 | #include <KActivities/Consumer> And a patch confirmed to fix it since I have it. I'm not a dev and don't know how to do PRs, but given cfeck's #IFDEF -> #IF hint and the commit, on gentoo a patch was trivial to do and test, so I might as well post it.
Fixed with c3fb0dc15