[PyQt] Next Releases

Phil Thompson phil at riverbankcomputing.com
Wed Mar 5 22:36:44 GMT 2014


On 05-03-2014 9:41 pm, Baz Walter wrote:
> On 05/03/14 09:32, Phil Thompson wrote:
>> The current PyQt5, PyQt4, QScintilla and SIP snapshots are all 
>> release
>> candidates. The final releases will be in about a week. In the 
>> meantime
>> any testing would be greatly appreciated.
>
> Just tried the latest snapshots, and I get this error when attempting
> to compile the QScintilla python bindings:
>
> PyQt 5.2.1-snapshot-3942032af2de is being used.
> Qt 5.2.1 is being used.
> sip 4.15.5-snapshot-22c03a345d4e is being used.
> QScintilla 2.8.1-snapshot-eec8c704418a is being used.
> The sip executable is /home/usr/opt/snapshot5-3/bin/sip.
> The QScintilla module will be installed in
> /home/usr/opt/snapshot5-3/lib/python3.3/site-packages/PyQt5.
> The QScintilla module is being built with 'protected' redefined as 
> 'public'.
> The QScintilla .sip files will be installed in
> /home/usr/opt/snapshot5-3/share/sip/PyQt5.
> The QScintilla API file will be installed in
> /home/usr/opt/snapshot5-3/lib/qt5/qsci/api/python.
> Generating the C++ source for the Qsci module...
> Generating the .pro file for the Qsci module...
> Creating the Makefile for the Qsci module...
> g++ -I'/home/usr/opt/snapshot5-3/lib/qt5/include' -c -pipe
> -fno-exceptions -march=x86-64 -mtune=generic -O2 -pipe
> -fstack-protector --param=ssp-buffer-size=4 -Wall -W -D_REENTRANT
> -fPIC -DSIP_PROTECTED_IS_PUBLIC -Dprotected=public -DQT_NO_DEBUG
> -DQT_PLUGIN -DQT_GUI_LIB -DQT_CORE_LIB 
> -I/usr/lib/qt/mkspecs/linux-g++
> -I. -I../../../../../../../../usr/opt/snapshot5-3/lib/qt5/include
> -I../../../../../../../../usr/opt/snapshot5-3/include/python3.3m
> -I/usr/include/qt -I/usr/include/qt/QtGui -I/usr/include/qt/QtCore 
> -I.
> -o sipQscipart3.o sipQscipart3.cpp
> In file included from
> /home/usr/opt/snapshot5-3/lib/qt5/include/Qsci/qscicommand.h:36:0,
>                  from
> /home/usr/opt/snapshot5-3/lib/qt5/include/Qsci/qsciscintilla.h:42,
>                  from
> /home/usr/opt/snapshot5-3/lib/qt5/include/Qsci/qsciabstractapis.h:39,
>                  from sip/qsciabstractapis.sip:29:
> 
> /home/usr/opt/snapshot5-3/lib/qt5/include/Qsci/qsciscintillabase.h:35:31:
> fatal error: QAbstractScrollArea: No such file or directory
>  #include <QAbstractScrollArea>
>                                ^
> compilation terminated.
> Makefile:559: recipe for target 'sipQscipart3.o' failed
> make: *** [sipQscipart3.o] Error 1
> ERROR: python-qscintilla installation failed

I can't reproduce this. What flags are you passing to configure.py?

Phil


More information about the PyQt mailing list