Compilation failures with GCC 16

Antonio Rojas arojas at archlinux.org
Wed May 13 18:48:10 BST 2026


Hello,


 Trying to compile PyQt with GCC 16 throws multiple errors such as:


/build/pyqt6/src/pyqt6-6.11.0/build/QtCore/sipQtCoreQXmlStreamEntityDeclaration.cpp: In function ‘PyObject* slot_QXmlStreamEntityDeclaration___ne__(PyObje
ct*, PyObject*)’: 
/build/pyqt6/src/pyqt6-6.11.0/build/QtCore/sipQtCoreQXmlStreamEntityDeclaration.cpp:211:32: error: no matching function for call to ‘operator!=(QXmlStream
EntityDeclaration&, const QXmlStreamEntityDeclaration&)’ 
 211 |             sipRes = operator!=((*sipCpp), *a0); 
     |                      ~~~~~~~~~~^~~~~~~~~~~~~~~~



in many different classes. Using Qt 6.11.0, sip 6.15.3. It compiles with no errors with GCC 15 and the same versions of all dependencies.
 
  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20260513/7f7441db/attachment.htm>


More information about the PyQt mailing list