Qt dev branch: "invalid covariant return type" for QEvent

Florian Bruhin me at the-compiler.org
Wed Jul 13 11:41:59 BST 2022


On Wed, May 25, 2022 at 05:06:16PM +0100, Phil Thompson wrote:
> 
> On 24/05/2022 19:34, Florian Bruhin wrote:
> > Hi,
> > 
> > When trying to build the current dev branch of Qt 6 against the
> > currently released PyQt:
> > 
> >     PyQt-builder 1.12.2
> >     PyQt6-sip 13.3.1
> >     PyQt6 6.3.0
> > 
> > I get:
> > 
> >     /tmp/tmplprdnj33/QtGui/sipQtGuiQCloseEvent.cpp:47:16: error:
> > invalid covariant return type for ‘virtual QEvent*
> >
> > [...]
> > 
> > With similar errors for other clone() implementations too:
> > https://paste.the-compiler.org/view/6c24584a
> > 
> > Is that an issue in sip/PyQt? A backwards-incompatible change in Qt?
> > Something else entirely?
> 
> It's an addition to the Qt API that PyQt isn't aware of but needs to be.

Unfortunately, this still prevents me from testing my project against
Qt 6.4, which is now at Beta 2.

Wasn't there a tool at some point which would let me take the current
PyQt6 wheels and replace the Qt install by a newer one? I guess that
would work then, and I'm pretty sure I used it before. But now, I can't
find a trace of it in the PyQt5 or PyQt6 docs. What am I missing?

Thanks,
Florian

-- 
            me at the-compiler.org | https://www.qutebrowser.org 
       https://bruhin.software/ | https://github.com/sponsors/The-Compiler/
       GPG: 916E B0C8 FD55 A072 | https://the-compiler.org/pubkey.asc
             I love long mails! | https://email.is-not-s.ms/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20220713/b65b95cc/attachment.sig>


More information about the PyQt mailing list