[PyKDE] RE: PyQT/KDE 2.4 compile errors (Jim Bublitz)

krivilli at ajato.com.br krivilli at ajato.com.br
Thu Apr 26 14:35:43 BST 2001


>I'm having problems compiling Py[Qt,KDE]-2.4. The typical error I get
>is:
>
>sipqtQValidator.cpp: In function `struct PyObject *
>  sipNew_QValidator(PyObject *, PyObject *)':
>sipqtQValidator.cpp:2811: cannot allocate an object of type `sipQValidator'
>sipqtQValidator.cpp:2811:   since the following virtual functions are abstract:
>/usr/lib/qt/include/qvalidator.h:42:    enum QValidator::State
>  QValidator::validate(QString &, int &)
>
>where on line 2811 the code is of the form:
>
>    sipNew = new <some abstract base class constructor>
>
>I'm using gcc 2.95.2, Qt1.45, and Python 2.0 (./configure --with-qt-dir=/x/x/x)
>on SuSE 7.1.


-You need QT-2.2.x (better 2.2.3 or newer) to use-compile PyQt.

OBS: before install PyQt, you must install SIP firsty 




-- roberto



 Roberto J. Teixeira Junior - krivilli
'-------------------------------------'
' http://alsabrazil.sourceforge.net   '
' krivilli at ajato.com.br               '
'-------------------------------------'

http://www.alsa-project.org







More information about the PyQt mailing list