Re: [SIP5] : An example of SIP5 with QT5.x and PyQt5.y

"Robert MARUT" <[email protected]> Tue, 14 Apr 2020 18:53:06 +0200
Newsgroups gmane.comp.python.pyqt-pykde
Message-ID <[email protected]>
Thanks for your help Phil. I have to configure all the Qt headers directory
in the toml "include-dirs" key.

I can build now my example with sip5 but trying to import the library into
Python. I have this error message : " RuntimeError: the PyQt5.QtCore module
failed to register with the sip module"

Qt : 5.14.1
PyQt : 5.14.2
SIP : 5.2.0
MSVC 2017 x64

Robert

-----Message d'origine-----
De : Phil Thompson <[email protected]> 
Envoyé : mardi 14 avril 2020 16:41
À : Robert MARUT <[email protected]>
Cc : [email protected]
Objet : Re: [PyQt] [SIP5] : An example of SIP5 with QT5.x and PyQt5.y

On 14/04/2020 15:22, Robert MARUT wrote:
> Hello
> 
> 
> 
> Is there somewhere a small example of the use SIP5 with QT5.X ? In 
> particular how to configure both sip and toml files for all Qt include 
> paths.

I'd look at the QScintilla Python bindings in the tarball. 
pyproject.toml and project.py together are about 120 lines.

Phil

_______________________________________________
PyQt mailing list    [email protected]
https://www.riverbankcomputing.com/mailman/listinfo/pyqt