[Kde-bindings] Re: Notes on building on Mac OS X

Arno Rehn arno at arnorehn.de
Sun Feb 20 00:50:59 UTC 2011


On Saturday 19 February 2011 01:35:28 Adam Higuera wrote:
> If there's still interest, in order to get Smoke to work right with the
> frameworks, I put the following into the file "generatorpreprocessor.cpp".
>  It's an ugly kludge, but it might save you some irritation.
> 
>     // skip limits.h - rpp::pp gets stuck in a endless loop, probably
> because of
>     // #include_next <limits.h> in the file and no proper header guard.
>     if ((fileName == "limits.h" || fileName == "stdarg.h") && type ==
> rpp::Preprocessor::IncludeGlobal)
>         return 0;
> 
> QRegExp rx("(Qt\\w+)/([\\w\\.]+)");
> if(rx.indexIn(fileName) != -1) {
>   fileName = "/Library/Frameworks/" + rx.cap(1)
> + ".framework/Headers/" + rx.cap(2);
> }
Ah, yes, now I remember. This can't go into the repo, but I'll try to fix the 
CMake files for OS X. I just need some people to test it :)

-- 
Arno Rehn
arno at arnorehn.de



More information about the Kde-bindings mailing list