[PyKDE] Re: Building PyQt4

Douglas Soares de Andrade dsandrade at gmail.com
Tue Dec 6 19:44:10 GMT 2005


Hi gema !

Thank you sooo much with your tips, the only problem is that pyqt took some 
hours to build here and i only saw the symbol problem after the first 
import :)

So, i did your modifications and im building it again now.

Thank you again !

Em Terça 06 Dezembro 2005 20:11, m.gehling at gmx.de escreveu:
> Douglas Soares de Andrade schrieb:
> > 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/QtC
> >ore' make: ** [all] Erro 2
> > ==> ERROR: Build Failed.  Aborting...
> >
> > Anyone managed to build PyQt4 with the current snapshots ?
>
> if you can't wait:
>
>  - Install sip snap 20051205
>
>  - Install pyqt snap 20051205
>
> 1) in sip/QtCore/qbitarray.sip: comment out
> QBitArray operator&(const QBitArray &, const QBitArray &);
> QBitArray operator|(const QBitArray &, const QBitArray &);
> QBitArray operator^(const QBitArray &, const QBitArray &);
>
> 2) python configure.py -q /usr/share/qt4 -c -j 4 LIBDIR_QT=/usr/lib
>
> 3) adding an include in
>   sipQtCorepart2.cpp:  #include "sipQtCoreQEventLoop.h"
>   sipQtGuipart1.cpp:  #include "sipQtGuiQStyle.h"
>   sipQtGuipart2.cpp:  #include "sipQtGuiQFileDialog.h"
>   sipQtGuipart3.cpp:  #include "sipQtGuiQDockWidget.h"
>   sipQtGuipart3.cpp:  #include "sipQtGuiQAbstractPrintDialog.h"
>
> 4) make
> 5) make install
>
> that works for me.
>
> gema




More information about the PyQt mailing list