Qt 6.5: QNetworkDatagram::destroy(QNetworkDatagramPrivate*)

Florian Bruhin me at the-compiler.org
Tue Mar 14 17:47:06 GMT 2023


Hey,

I wanted to try Qt 6.5 with the current wheels, but get an error I don't
quite understand:

$ wget 'https://www.riverbankcomputing.com/pypi/packages/PyQt6/PyQt6-6.4.3.dev2303081243-cp37-abi3-manylinux_2_28_x86_64.whl'
...
$ python3 -m venv .venv
$ .venv/bin/pip install pyqt-builder
...
$ .venv/bin/pyqt-bundle --qt-dir ~/proj/qt/bin6/6.5.0/gcc_64 PyQt6-6.4.3.dev2303081243-cp37-abi3-manylinux_2_28_x86_64.whl --ignore-missing
$ .venv/bin/pip install PyQt6-6.4.3.dev2303081243-6.5.0-cp37-abi3-manylinux_2_28_x86_64.whl
$ .venv/bin/python3 -c "from PyQt6 import QtNetwork"
Traceback (most recent call last):
  File "<string>", line 1, in <module>
ImportError: .../.venv/lib/python3.10/site-packages/PyQt6/QtNetwork.abi3.so: undefined symbol: _ZN16QNetworkDatagram7destroyEP23QNetworkDatagramPrivate, version Qt_6

Which demangles to QNetworkDatagram::destroy(QNetworkDatagramPrivate*).

However, that's last been touched in 2016:
https://github.com/qt/qtbase/blame/v6.5.0-beta3/src/network/kernel/qnetworkdatagram.h#L76

And I also can't find any other signs of this changing in Qt 6.5, or
PyQt even having that in its .sip files.

Is this just a case of "missing adjustment in PyQt and I'll need to
wait", or is there something else going on?

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/20230314/fc831af4/attachment.sig>


More information about the PyQt mailing list