[PyQt] Unable to create the C++ code error when building PyQt 4.7.4 bindings for QScintilla 2.4.4

Jiacun wu cathaywjc at yahoo.com
Wed Aug 25 07:34:08 BST 2010





Hello,
 
After I successfully build and install QScintilla 2.4.4 on Windows XP, I'm trying to build Python bindings with running the following command in Visual Studio 2005 Command Prompt:
python configure.py
in its Python directory.
 
The configure.py yields the following error:
----
QScintilla 2.4.4 is being used.
PyQt 4.7.4 is being used.
Qt v4.5.3 free edition is being used.
SIP 4.10.5 is being used.
The QScintilla module will be installed in D:\Program Files\Python26\Lib\site-packages\PyQt4.
The QScintilla API file will be installed in D:\QT\4.5.3\qsci\api\python.
The QScintilla .sip files will be installed in D:\Program Files\Python26\sip\PyQt4.
The QScintilla module is being built with generated docstrings.
Generating the C++ source for the Qsci module...
sip: Usage: sip [-h] [-V] [-a file] [-b file] [-c dir] [-d file] [-e] [-g] [-I dir] [-j #] [-k] [-m file] [-o] [-p module] [-P] [-r] [-s suffix] [-t tag] [-w] [-x feature] [-z file] [file]
Error: Unable to create the C++ code.
----
 
BTW, I use Python 2.6.5. And I use all the latest release of SIP, PyQt and QScintilla.
 
What’s wrong with me?
 
Would you please help me to fix this problem or give me some idea?
 
Thank you very much for your great help.
 
Best regards
 
Js Hs
 
 

 


      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20100824/04436ed9/attachment.html>


More information about the PyQt mailing list