[Kde-bindings] smoke qt empty builds on macosx
Arno Rehn
arno at arnorehn.de
Mon May 3 17:41:41 UTC 2010
On Monday 03 May 2010 14:53:31 Michael Lawrence wrote:
> Hi,
>
> Thanks for passing along this interesting fix. I've also encountered issues
> with the Mac, in particular the framework build. I think the ideal solution
> would be to make the generator framework-aware, i.e., it should support a
> -F command-line option. I've modified my copy of the generator to
> correctly search the default framework directory (I think it's
> /System/Frameworks) for the Qt header files, following the same logic as
> Apple's gcc. If this is of interest to the smoke project, I could enhance
> this to allow arbitrary framework directories, such as the one provided by
> cmake in the
> QT_LIBRARY_DIR variable, and provide the patch.
I'd rather not introduce OS dependent options in smokegen. the only thing that
it needs is the headers. Correctly finding them is the job of the build
system.
So I prefer Petr's patch. Only issue is that QT_HEADERS_DIR is not public...
though unlikely to change, I'd prefer a solution that only depends on public
API. I think we could just pop the last item from QT_INCLUDE_DIR on OS X and
then end up with the header dir.
--
Arno Rehn
arno at arnorehn.de
More information about the Kde-bindings
mailing list