[PyQt] Patch for PyQt to fix undefined symbol with Qt v5.9.x

Dmitry Shachnev mitya57 at ubuntu.com
Wed Jul 11 12:56:29 BST 2018


Hi Phil!

With the latest PyQt release I get this error with Qt v5.9.5:

PyQt5/QtCore.so: undefined symbol: _ZN16QMetaEnumBuilder11setIsScopedEb

QMetaEnumBuilder::setIsScoped() was added only in Qt v5.10.0
(see https://codereview.qt-project.org/192376 → “Included in”).

The attached patch fixes the condition to make sure that method is not
used with older Qt versions.

--
Dmitry Shachnev
-------------- next part --------------
A non-text attachment was scrubbed...
Name: set_is_scoped.diff
Type: text/x-diff
Size: 1323 bytes
Desc: not available
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20180711/b69673e3/attachment.diff>
-------------- 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/20180711/b69673e3/attachment.sig>


More information about the PyQt mailing list