On Fri, 15 Mar 2013 18:21:23 +0100, Hans-Peter Jansen <h...@urpla.net> wrote: > Am Freitag, 15. März 2013, 18:04:17 schrieb Umit Oztosun: >> Hello, >> >> Using sip-4.14.5-snapshot-c65a525a0a17, I am unable to compile >> PyQt-win-gpl-snapshot-4.10.1-ba2fe994bb0b on Windows XP 32 bit with >> VS2008. I am using a self compiled Qt 4.8.4. It fails with: >> >> /* snipped */ >> sipQtGuiQSyntaxHighlighter.cpp >> C:\PyQt-win-gpl-snapshot-4.10.1-ba2fe994bb0b/sip/QtGui/qsyntaxhighlighter.si >> p(87) >> : error C2248: 'QSyntaxHighlighter::setCurrentBlockUserData' : cannot >> >> access protected member declared in class 'QSyntaxHighlighter' >> >> c:\qt-everywhere-opensource-src-4.8.4\include\qtgui\../../src/gui/text/qsyn >> taxhighlighter.h(95) >> : see declaration of 'QSyntaxHighlighter::setCurrentBlockUserData' >> >> >> c:\qt-everywhere-opensource-src-4.8.4\include\qtgui\../../src/gui/text/qsyn >> taxhighlighter.h(66) >> : see declaration of 'QSyntaxHighlighter' > > Interestingly, I'm able to build current sip and PyQt snapshots just fine: > > https://build.opensuse.org/project/monitor?project=home%3Afrispete%3APyQt-next > > but none of the PyKDE versions 4.6, 4.7, 4.8, 4.9 and last, but not least > 4.10 anymore. They *all* bail out with a spat similar to yours: > > [ 526s] In file included from /usr/include/QtGui/QSyntaxHighlighter:1:0, > [ 526s] from /usr/include/sonnet/highlighter.h:24, > [ 526s] from > /home/abuild/rpmbuild/BUILD/pykde4-4.10.1/sip/kdeui/kabstractwidgetjobtracker.sip:31, > [ 526s] from > /home/abuild/rpmbuild/BUILD/pykde4-4.10.1/build/sip/kdeui/sipkdeuipart0.cpp:7: > [ 526s] /usr/include/QtGui/qsyntaxhighlighter.h: In function 'PyObject* > meth_Sonnet_Highlighter_setCurrentBlockUserData(PyObject*, PyObject*)': > [ 526s] /usr/include/QtGui/qsyntaxhighlighter.h:95:10: error: 'void > QSyntaxHighlighter::setCurrentBlockUserData(QTextBlockUserData*)' is > protected > [ 526s] /usr/share/sip/PyQt4/QtGui/qsyntaxhighlighter.sip:87:43: error: > within this context > [ 528s] make[2]: *** > [CMakeFiles/python_module_PyKDE4_kdeui.dir/sip/kdeui/sipkdeuipart0.cpp.o] > Error 1 > [ 528s] make[2]: Leaving directory > `/home/abuild/rpmbuild/BUILD/pykde4-4.10.1/build' > [ 528s] make[1]: *** [CMakeFiles/python_module_PyKDE4_kdeui.dir/all] > Error 2
Which means PyKDE is being built without the protected-is-public hack (so it's bigger than it needs to be). Phil _______________________________________________ PyQt mailing list PyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt