Build fails with PyQt 5.15

Antonio Rojas arojas at archlinux.org
Tue Jun 9 07:16:12 BST 2020


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





More information about the QScintilla mailing list