[PyKDE] ANN: SIP v4.0rc2 Released

Phil Thompson phil at riverbankcomputing.co.uk
Thu Jan 15 21:04:01 GMT 2004


On Thursday 15 January 2004 7:33 pm, Eron Lloyd wrote:
> Hi Phil,
>
> Trying to build the newest SIP/PyQt on SUSE 9.0 using Python 2.3.3 and Qt
> 3.2.3 gave me trouble. Falling back to SIP/PyQt 3.9 seems to work fine.
> Here's the traceback:
>
> linux:/home/elloyd/Packages/PyQt-x11-gpl-snapshot-20040104
> # /usr/local/bin/python configure.py
> Traceback (most recent call last):
>   File "configure.py", line 56, in ?
>     opt_qsciincdir = sipcfg.qt_inc_dir
>   File "/usr/local/lib/python2.3/site-packages/sipconfig.py", line 155, in
> __getattr__
>     raise AttributeError, "\"%s\" is not a valid configuration value or
> user option" % name
> AttributeError: "qt_inc_dir" is not a valid configuration value or user
> option
>
> Since I don't really understand the build process of SIP 4 yet I didn't dig
> too deep, but seems to be trying to pull a non-existant attribute from a
> sipconfig.Configuration() instance.

My guess is that SIP was build with Qt support disabled. Was QTDIR set 
properly when you configured and build SIP?

Phil




More information about the PyQt mailing list