[Kde-bindings] smoke qt empty builds on macosx

Petr Vaněk petr at scribus.info
Wed May 5 04:59:35 UTC 2010


Dne pondělí 03 Květen 2010 19:41:41 Arno Rehn napsal(a):
> 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.

Yes, my solution is based on "private" variables. It's srupid. I'm in contact 
with FindQt4.cmake maintainer and we are looking for better solution.

It looks like it will be more complicated because of different include file 
locations in qt4 from macports and binary package. Please, wait with the 
patch, I'll suggest a better one in few days.

petr




More information about the Kde-bindings mailing list