Build fails with PyQt 5.15

Phil Thompson phil at riverbankcomputing.com
Tue Jun 9 14:53:34 BST 2020


On 09/06/2020 07:16, Antonio Rojas wrote:
> Hi,
>  I'm getting this error when building qscintilla with sip 5.3/pyqt 
> 5.15:
> 
> /build/qscintilla/src/QScintilla-2.11.4/build/Qsci/sipQsciQsciAPIs.cpp:
> In function ‘void* array_QsciAPIs(Py_ssize_t)’:
> /build/qscintilla/src/QScintilla-2.11.4/build/Qsci/sipQsciQsciAPIs.cpp:867:37:
> error: no matching function for call to ‘QsciAPIs::QsciAPIs()’
>   867 |     return new  ::QsciAPIs[sipNrElem];
>       |                                     ^
> In file included from
> /build/qscintilla/src/QScintilla-2.11.4/Python/sip/qsciapis.sip:24:
> ../../Qt4Qt5/Qsci/qsciapis.h:209:5: note: candidate:
> ‘QsciAPIs::QsciAPIs(const QsciAPIs&)’
>   209 |     QsciAPIs(const QsciAPIs &);
>       |     ^~~~~~~~
> ../../Qt4Qt5/Qsci/qsciapis.h:209:5: note:   candidate expects 1
> argument, 0 provided
> ../../Qt4Qt5/Qsci/qsciapis.h:73:5: note: candidate:
> ‘QsciAPIs::QsciAPIs(QsciLexer*)’
>    73 |     QsciAPIs(QsciLexer *lexer);
>       |     ^~~~~~~~
> ../../Qt4Qt5/Qsci/qsciapis.h:73:5: note:   candidate expects 1
> argument, 0 provided
> make[1]: *** [Makefile:1183: sipQsciQsciAPIs.o] Error 1

It will be fixed in tonight's QScintilla snapshot. It's actually a 
long-standing bug in the QScintilla Python bindings that was only 
exposed by changes in SIP v5.3.

I'll probably release v2.11.5 in the next few days.

Thanks,
Phil


More information about the QScintilla mailing list