[PyKDE] Building PyQt4

Phil Thompson phil at riverbankcomputing.co.uk
Tue Dec 6 17:36:43 GMT 2005


On Tuesday 06 December 2005 3:26 pm, Douglas Soares de Andrade wrote:
> Hi all !
>
> Im trying to build PyQt4 20051205 with 20051205 and im not having success.
> Here is the errors:
>
> sip/QtCore/qglobal.sip: In function 'int
> convertTo_QUrl_FormattingOptions(PyObject*, void**, int*)':
> sip/QtCore/qglobal.sip:196: error: 'sipEnum_QUrl_FormattingOption' was not
> declared in this scope
> sip/QtCore/qglobal.sip:205: error: 'sipEnum_QUrl_FormattingOption' was not
> declared in this scope
> make[1]: ** [sipQtCoreQUrlFormattingOptions.o] Erro 1
> make[1]: Leaving directory
> `/home/douglas/pacotes/pkg/gcc4/pyqt4/src/PyQt4-gpl-snapshot-20051205/QtCor
>e' make: ** [all] Erro 2
> ==> ERROR: Build Failed.  Aborting...
>
> Anyone managed to build PyQt4 with the current snapshots ?

You need to build with the -c flag to configure.py. The current SIP snapshot 
doesn't get all the #include dependencies right - which doesn't matter when 
-c is used.

Should be fixed in the next SIP snapshot.

Phil




More information about the PyQt mailing list