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

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

You shouldn't need to do that if 'qmake -query' is returning the correct 
values.

> 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"

At a guess I'd say PyQt5 is importing a different sip module to your own 
module.

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