Problems compiling PyQt
Boudewijn Rempt
boud at valdyas.org
Mon Nov 5 08:54:15 EST 2001
Luca Fini wrote:
>
> I'm trying to compile PyQt on RedHat Linux 7.1 (gcc version 2.96 20000731)
>
Is this the infamous incompatible gcc? (I always forget the version
numbers.)
> as usually I do:
>
> ./configure
> make
>
> And I always get the following errors:
>
> qtcmodule.cpp: In function `PyObject *registerClasses (PyObject *,
> PyObject *)': qtcmodule.cpp:9159: `Rounded' is not a member of type
> `QTabWidget' qtcmodule.cpp:9160: `Triangular' is not a member of type
> `QTabWidget' qtcmodule.cpp:10361: `TSCII' is not a member of type `QFont'
> qtcmodule.cpp:10625: `AccelOverride' is not a member of type `QEvent'
> qtcmodule.cpp:11251: `WGroupLeader' is not a member of type `Qt'
>
>
> This happens for various versions pf PyQt(2.3,2.4,2.5).
Are sip and PyQt finding the same version of Qt? Aren't you trying to
compile PyQt against Qt 3.0? (You need one of the recent 3.0 preleases
for that.)
--
Boudewijn Rempt | http://www.valdyas.org
More information about the Python-list
mailing list