[PyKDE] Pyqt3 Problems with creating a custom binding on ubuntu (breezy)

Charles Yates charles.yates at gmail.com
Mon May 15 14:30:50 BST 2006


Hi all,

I'm having a problem with creating a custom pyqt3 module for a QGLWidget
derived class on ubuntu breezy - however, the same configuration and build
procedure is working correctly on the beta dapper system that I have here.

The short description is that I've copied the suggested configure.py and
config.py.in from:

http://www.riverbankcomputing.com/Docs/sip4/sipref.html#a-more-complex-c-example

into my project (as configure.py and qtplayerconfig.py.in) and done a global
search and replace from [Hh]ello to [Qq]tplayer.

When I run:

python ./configure.py

I get the following response:

Error: The target uses Qt but pyqtconfig has not been imported.

However, I can see from both strace and a python -v that the pyqtconfig
module is indeed loaded.

The script is bailing on:

makefile = pyqtconfig.QtModuleMakefile(
    configuration=config,
    build_file=build_file,
    installs=installs
)

Does anyone have any suggestions? I am quite happy to provide any more
information that may be required.

Cheers,

Charlie
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20060515/6a9b5a09/attachment.html


More information about the PyQt mailing list