[OS X] "unknown type name 'KARCHIVE_DEPRECATED'" building kdoctools
René J. V. Bertin
rjvbertin at gmail.com
Wed Nov 4 22:10:26 UTC 2015
Alex Merry wrote:
> Well, if we'd done it for kdelibs4 as well, you wouldn't have this issue
> - if you had to add -I/opt/local/include/kdelibs in order to find any
> kdelibs headers, none would be found by mistake.
Fair enough, but you didn't :)
FWIW (and because there are some on here who would like to let KF5 be as native
as possible on OS X): with Apple's framework bundles that also contain the
headers, you're more or less supposed to use statements like #include
<OpenGL/GL.h> (or #import <AppKit/AppKit.h> in ObjC).
Standardising on #include <KFoo/bar.h> where KFoo is expected to live in a
standard include directory would make it more straightforward to build KF5
frameworks as OS X frameworks (i.e. bundles).
R
More information about the Kde-frameworks-devel
mailing list