[PyKDE] Re: snapshot compile errors with qt-4.2.0 on OS X

Lukáš Lalinský lalinsky at gmail.com
Thu Oct 19 12:15:34 BST 2006


Patrick Stinson wrote:
> X11? huh?
> 
> mework/Headers -F/usr/local/Trolltech/Qt-4.2.0-opensource-shared/lib
> -o sipQtGuipart0.o
> sipQtGuipart0.cpp
> sip/QtGui/qapplication.sip: In function 'sipWrapperType*
> sipSubClass_QApplication(void**)':
> sip/QtGui/qapplication.sip:202: error: 'sipName_QX11EmbedWidget' was
> not declared in this scope
> sip/QtGui/qapplication.sip:202: error: 'sipClass_QX11EmbedWidget' was
> not declared in this scope
> sip/QtGui/qapplication.sip:218: error: 'sipName_QX11EmbedContainer'
> was not declared in this scope
> sip/QtGui/qapplication.sip:218: error: 'sipClass_QX11EmbedContainer'
> was not declared in this scope
> 

I had the same problem with the latest snapshot on Windows. The attached patch
fixes it (though I'm not sure if using #ifdef Q_WS_X11 is the best solution).

-Lukáš
-------------- next part --------------
A non-text attachment was scrubbed...
Name: qapplication.diff
Type: text/x-patch
Size: 1234 bytes
Desc: not available
Url : http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20061019/82ce399e/qapplication.bin


More information about the PyQt mailing list