PyQt5: disabling DBus appears not to work

Rob Whitlock rwhitlock22 at gmail.com
Fri May 23 20:46:33 BST 2025


As described at https://gnats.netbsd.org/59187 and https://mail-index.netbsd.org/pkgsrc-bugs/index.html it looks like adding --no-dbus-python does not disable the DBus functionality of PyQt5. This can be shown by applying the patch at https://mail-index.netbsd.org/pkgsrc-bugs/2025/05/23/msg074047.html and trying to build x11/py-qt5 in pkgsrc. Although the build of PyQt5 itself succeeds, it seems to still install the DBus files, causing the overall pkgsrc build of PYQt5 to fail.

Is there a better way of disabling the DBus functionality in PyQt5 or is this a bug in the PyQt5 build system?

Thanks,

Rob


More information about the PyQt mailing list