[PyQt] Building PyQt4 on Mac 10.6.3 -- python configure.py fails

Robin M Baur rmb62 at cornell.edu
Thu Jun 10 19:32:31 BST 2010


Followup:

On Thu, Jun 10, 2010 at 14:22, Robin M Baur <rmb62 at cornell.edu> wrote:
> 1. I installed Qt 4.6.3 ...

[snip other install details]

> Arcane:PyQt-mac-gpl-4.7.3 rmbaur$ python configure.py --verbose

[snip most of output]

> Generating the C++ source for the QtCore module...
> "/System/Library/Frameworks/Python.framework/Versions/2.6/bin/sip" -k
> -o -P -x VendorID -t WS_MACX -x PyQt_NoPrintRangeBug -t Qt_4_6_2 -x
> Py_v3 -g -a QtCore.api -c QtCore -b QtCore/QtCore.sbf -I
> /Users/rmbaur/Python setup/PyQt-mac-gpl-4.7.3/sip /Users/rmbaur/Python
> setup/PyQt-mac-gpl-4.7.3/sip/QtCore/QtCoremod.sip
> sip: Usage: sip [-h] [-V] [-a file] [-b file] [-c dir] [-d file] [-e]
> [-g] [-I dir] [-j #] [-k] [-m file] [-o] [-p module] [-r] [-s suffix]
> [-t tag] [-w] [-x feature] [-z file] [file]
> Error: Unable to create the C++ code.

I just noticed that the call to sip is asking for Qt_4_6_2 when I have
4.6.3. I see that in qt_version_tags (in configure.py), there is no
tag for 4.6.3. Is this related to my problem?

-- Robin


More information about the PyQt mailing list