Building QScintilla Python bindings from source
Phil Thompson
phil at riverbankcomputing.com
Thu Jun 24 09:03:39 BST 2021
On 24/06/2021 05:34, Davide Pesavento wrote:
> Hi,
>
> I'm trying to build the python bindings for QScintilla v2.12.1 from
> source on Linux and facing several issues. I'm using sip 6.1.1,
> PyQt-builder 1.10.1, Qt 5.15.2, PyQt 5.15.4. I already compiled the
> QScintilla C++ library against Qt 5 and installed it system-wide.
>
> 1/ The first issue is that sip-build cannot find QtCoremod.sip
> out-of-the-box.
>
> $ sip-build --no-make --verbose
> Querying qmake about your Qt installation...
> /usr/bin/qmake -query
> These bindings will be built: Qsci.
> Generating the Qsci bindings...
> sip-build: Unable to find file "QtCore/QtCoremod.sip"
>
> I was able to fix this by adding the following two lines to
> pyproject.toml:
>
> [tool.sip.project]
> sip-include-dirs = ["/usr/share/sip/PyQt5"]
...so you need to fix this properly. There is some sort of problem with
your installation of the build tools, probably PyQt-builder.
Phil
More information about the QScintilla
mailing list