[QScintilla] Problems generating QScintilla Python bindings

Phil Thompson phil at riverbankcomputing.com
Sat Jan 16 12:27:23 GMT 2010


On Sat, 16 Jan 2010 13:03:09 +0100, detlev <detlev at die-offenbachs.de>
wrote:
> Hi,
> 
> it is not possible to build the QScintilla Python bindings of the latest 
> stable release with older sip versions (4.9.1 on my system). The output
on
> the 
> console is
> 
> prompt> python configure.py -c -j8
> QScintilla 2.4.1 is being used.
> PyQt 4.6.1 is being used.
> Qt v4.5.3 free edition is being used.
> SIP 4.9.1 is being used.
> The QScintilla module will be installed in
> /usr/lib64/python2.6/site-packages/PyQt4.
> The QScintilla API file will be installed in
> /usr/share/qt4/qsci/api/python.
> The QScintilla .sip files will be installed in /usr/share/sip/PyQt4.
> The QScintilla module is being built with generated docstrings.
> Generating the C++ source for the Qsci module...
> "/usr/bin/sip" -x VendorID -t WS_X11 -x PyQt_NoPrintRangeBug -t Qt_4_5_0
-x
> 
> Py_v3 -g -a QScintilla2.api -I /usr/share/sip/PyQt4 -o -j 8 -c . -b
> qsci.sbf 
> sip/qscimod4.sip
> sip: Usage: sip [-h] [-V] [-a file] [-c dir] [-d file] [-e] [-g] [-I dir]
> [-j 
> #] [-m file] [-p module] [-r] [-s suffix] [-t tag] [-w] [-x feature] [-z
> file] 
> [file]
> Error: Unable to create the C++ code.
> 
> The additional line showing the assembled call to sip is generated by a
> print 
> statement include by me to debug the problem. It seems that the -o and -b

> switches are not supported by older sip. Unfortunately openSUSE 11.2
still
> has 
> sip 4.9.1.

Yes - the current snapshot has a test for sip v4.10.

Phil


More information about the QScintilla mailing list