[PyQt] PyQt compilation problem with the latest snapshot

Phil Thompson phil at riverbankcomputing.com
Fri Mar 15 17:19:22 GMT 2013


On Fri, 15 Mar 2013 18:04:17 +0200, Umit Oztosun <umit at oztosun.net> wrote:
> 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.sip(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/qsyntaxhighlighter.h(95)
> : see declaration of 'QSyntaxHighlighter::setCurrentBlockUserData'
>        
c:\qt-everywhere-opensource-src-4.8.4\include\qtgui\../../src/gui/text/qsyntaxhighlighter.h(66)
> : see declaration of 'QSyntaxHighlighter'
> /* snipped */
> 
> On the other hand, I can compile PyQt-win-gpl-4.10 with the same setup.
> 
> Is this a known issue?

Should be fixed in tonight's snapshot - thanks.

Phil


More information about the PyQt mailing list