[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bindings
Subject:    Re: [Kde-bindings] smoke qt empty builds on macosx
From:       Arno Rehn <arno () arnorehn ! de>
Date:       2010-05-03 17:41:41
Message-ID: 201005031941.41719.arno () arnorehn ! de
[Download RAW message or body]

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@arnorehn.de
_______________________________________________
Kde-bindings mailing list
Kde-bindings@kde.org
https://mail.kde.org/mailman/listinfo/kde-bindings
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic