[PyKDE] PyQt compile error

Phil Thompson phil at river-bank.demon.co.uk
Sat Mar 3 11:19:22 GMT 2001


Steve Spenst wrote:
> 
> Hello,
> 
> I am trying to compile PyQt 2.3, and am getting the following error:
> 
> c++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/python2.0
> -I/usr/local/include/sip -I/usr/lib/qt/include -I/usr/X11R6/include
> -fno-exceptions -O2 -Wp,-MD,.deps/qtcmodule.pp -c  -fPIC -DPIC qtcmodule.cpp
> -o qtcmodule.lo
> qtcmodule.cpp: In function `PyObject *initModule (PyObject *, PyObject
> *)':
> qtcmodule.cpp:7766: `WFocusSet' undeclared (first use this function)
> qtcmodule.cpp:7766: (Each undeclared identifier is reported only once
> for each function it appears in.)
> make[2]: *** [qtcmodule.lo] Error 1
> 
> I am using Linux Mandrake 8.0b1 with gcc 2.96. I got the same error using
> Mandrake 7.2.
> 
> Any idea what's wrong, and what I can do about it?

Upgrade Qt to something more recent - or if you think you have, make
sure that configure is finding that version on your system.

Phil




More information about the PyQt mailing list