[PyQt] OS X PyQt configure fails to detect Qt modules with SIP dev snapshot

Phil Thompson phil at riverbankcomputing.com
Tue Jun 29 14:29:37 BST 2010


On Sun, 20 Jun 2010 12:57:26 -0500, William Kyngesburye
<woklist at kyngchaos.com> wrote:
> When checking for Qt modules, they all fail.  With verbose on:
> 
> g++ -arch i386 -arch x86_64 -DQT_NO_DEBUG -DQT_GUI_LIB -I.
> -I/mkspecs/macx-g++ -I/Library/Frameworks/QtGui.framework/Headers
> -I/usr/include -pipe -arch i386 -arch x86_64 -isysroot
> /Developer/SDKs/MacOSX10.6.sdk -O2 -w cfgtest_QtGui.cpp -o cfgtest_QtGui
> -F/Library/Frameworks -L/Library/Frameworks -headerpad_max_install_names
> -arch i386 -arch x86_64 -Wl,-syslibroot,/Developer/SDKs/MacOSX10.6.sdk "
> /Library/Frameworks" -framework QtGui -framework QtCore
> i686-apple-darwin10-g++-4.2.1:  /Library/Frameworks: No such file or
> directory
> i686-apple-darwin10-g++-4.2.1:  /Library/Frameworks: No such file or
> directory
> lipo: can't figure out the architecture type of:
> /var/folders/sR/sRPc625DExO5QU-J7yy7vE+++TQ/-Tmp-//ccwIuEu6.out
> 
> Note the " /Library/Frameworks" in there, right before the framework
flags.
>  This seems to be coming from the dev snapshot of SIP:
> 
> siputils.py, line 2317 (in parse_build_macros(), ignore comments
section):
> 
>                 if adding:
>                     orig_rhs = raw.get(lhs)
>                     if orig_rhs is not None:
>                         rhs = orig_rhs + " " + rhs
> 
> if I comment that out, the Qt tests succeed.  It didn't seem to hurt
> compilation at all.

Should be fixed in tonight's SIP snapshot - thanks.

Phil


More information about the PyQt mailing list