[PyQt] OS X PyQt configure fails to detect Qt modules with SIP dev snapshot
William Kyngesburye
woklist at kyngchaos.com
Sun Jun 20 18:57:26 BST 2010
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.
-----
William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
http://www.kyngchaos.com/
"Time is an illusion - lunchtime doubly so."
- Ford Prefect
More information about the PyQt
mailing list