[QScintilla] snapshot build error

Baz Walter bazwal at ftml.net
Thu Apr 7 22:01:27 BST 2016


On 07/04/16 21:44, Baz Walter wrote:
> On 07/04/16 21:06, Phil Thompson wrote:
>> On 7 Apr 2016, at 7:54 pm, Baz Walter <bazwal at ftml.net> wrote:
>>>
>>> When trying to build the python bindings in the latest qsci snapshot
>>> (1603251547), I get the following error:
>>>
>>>     Generating the C++ source for the Qsci module...
>>>     Error: Unable to create the C++ code.
>>
>> Can you try with the --verbose flag.
>
> Generating the C++ source for the Qsci module...
> /home/usr/opt/snapshot5-3/bin/sip -t WS_X11 -t Qt_5_6_0 -B Qt_6_0_0 -I
> /home/usr/opt/snapshot5-3/share/sip/PyQt5 -y Qsci.pyi -a QScintilla2.api
> -P -o -j 4 -c . sip/qscimod5.sip
> sip: Unable to find file "QtGui/QtGuimod.sip"
> Error: Unable to create the C++ code.
> sys:1: ResourceWarning: unclosed file <_io.BufferedWriter name=4>
> ERROR: python-qscintilla installation failed
>
> and the full command is:
>
> /home/usr/opt/snapshot5-3/bin/python3' configure.py -c -j 4 --verbose -q
> '/usr/bin/qmake-qt5' --sip='/home/usr/opt/snapshot5-3/bin/sip' -v
> '/home/usr/opt/snapshot5-3/share/sip' -o
> '/home/usr/opt/snapshot5-3/lib/qt5/lib' -n
> '/home/usr/opt/snapshot5-3/lib/qt5/include' -a
> '/home/usr/opt/snapshot5-3/lib/qt5/qsci' --pyqt=PyQt5
>
> This has always worked okay in the past, but I can't quite see what I'm
> doing wrong here.
>

Ah, it seems when I built PyQt5 using the option "-v 
/home/usr/opt/snapshot5-3/share/sip", that "PyQt5" didn't get added to 
the path. Is that something that has changed? I'm pretty sure I haven't 
needed to explicitly add that myself in the past.

-- 
Regards
Baz Walter


More information about the QScintilla mailing list