[PyQt] PyQt on OSX Snow Leopard notes

Phil Thompson phil at riverbankcomputing.com
Mon Sep 14 12:18:10 BST 2009


On Sun, 13 Sep 2009 19:14:43 -0500, William Kyngesburye
<woklist at kyngchaos.com> wrote:
> On Sep 13, 2009, at 6:18 PM, William Kyngesburye wrote:
> 
>> I was able to get it past qtdirs by adding make overrides for CXX  
>> and LINK in the make command, adding arch flags (I couldn't figure  
>> out how to override these from qmake), but then there were a lot  
>> more config tests that failed for the same reason.
>>
> More progress, by adding -arch i386 to the 'build' command in  
> compile_qt_program.
> 
> Now it stops at creating the makefiles:
> 
> Creating QPy support library for QtCore Makefile...
> An internal error occured.  Please report all the output from the  
> program,
> including the following traceback, to support at riverbankcomputing.com.
> Traceback (most recent call last):
>    File "configure.py", line 1956, in <module>
>      main()
>    File "configure.py", line 1942, in main
>      subdirs=pyqt.qpy_libs() + pyqt_modules + xtra_modules + pyqt.tools 
> (),
>    File "configure.py", line 706, in qpy_libs
>      """ % (universal_config(), sipcfg.universal))
>    File "configure.py", line 906, in universal_config
>      for a in opts.arch.split():
> AttributeError: Values instance has no attribute 'arch'

That implies you aren't using the latest PyQt snapshot (where
universal_config no longer exists).

Phil


More information about the PyQt mailing list