ANN: PyQt v6.5.1 Released

Dmitry Shachnev mitya57 at ubuntu.com
Sat Jun 3 19:17:02 BST 2023


Hi Phil!

On Fri, Jun 02, 2023 at 03:45:23PM +0100, Phil Thompson wrote:
> PyQt v6.5.1 has been released. This is a minor feature and bug-fix release
> including support for QPermission and related classes and methods.

PyQt v6.5.1 fails to build with Qt v6.4.2 on Debian:

  In file included from /usr/include/x86_64-linux-gnu/qt6/QtCore/qglobal.h:36,
                   from /usr/include/x86_64-linux-gnu/qt6/QtCore/qcoreapplication.h:7,
                   from /usr/include/x86_64-linux-gnu/qt6/QtCore/QCoreApplication:1,
                   from ../../../../config-tests/cfgtest_QtCore.cpp:1:
  /usr/include/x86_64-linux-gnu/qt6/QtCore/qtconfigmacros.h:41:30: error: division by zero in #if
     41 | #define QT_CONFIG(feature) (1/QT_FEATURE_##feature == 1)
        |                              ^
  ../../../../config-tests/cfgtest_QtCore.cpp:34:6: note: in expansion of macro 'QT_CONFIG'
     34 | #if !QT_CONFIG(permissions)
        |      ^~~~~~~~~
  make[1]: *** [Makefile:540: cfgtest_QtCore.o] Error 1

Perhaps the QT_CONFIG(permissions) check needs an additional version guard.

--
Dmitry Shachnev


More information about the PyQt mailing list