installed header includes

Jeremy Whiting jpwhiting at kde.org
Mon Sep 9 22:03:38 UTC 2013


Hello,

Apparently my commit to knewstuff broke the build. The problem is that
knewstuff/src/knewstuffbutton.h includes <knewstuff3/entry.h> which
hasn't been installed yet when building kdelibs.  I looked around and
saw some other frameworks install headers install directly into
include (kauth.h includes "kauthaction.h", both of which are in
/usr/local/include here) I don't think knewstuff3/entry.h should go
directly into includes though. I also saw solid which installs headers
into includes/solid has it's headers in solid/src/solid that way
#include <solid/blah.h> works in sources.

Which is the preferred way to fix this? I can move
knewstuff/src/*.cpp|h into knewstuff/src/knewstuff3/ so it will work
in source tree and in installed locations I guess, is that the "right"
way to do this sort of thing?

thanks,
Jeremy


More information about the Kde-frameworks-devel mailing list