Compilation errors with PyQt 6.8.0

Ben Greiner code-pyqt at bnavigator.de
Sun Feb 2 15:04:37 GMT 2025


Hello,

Am 02.02.25 um 05:11 schrieb Stefan Seefeld:
> Hello,
>
> I'm trying to compile PyQt 6.8.0 with SIP 6.9.1 and PyQt6-SIP 13.9.1, 
> but I get compilation errors from "deleted" functions. For example:
>
> QtCore/sipQtCoreQStringConverterBase.cpp:58:52: error: use of deleted 
> function ‘constexpr QStringConverterBase::QStringConverterBase(const 
> QStringConverterBase&)’
>
> Is this a known issue ? Am I missing something ?

I don't know the whole background, but the openSUSE package got this 
patch submission today:

https://build.opensuse.org/requests/1242226

From ee6c2c30eca67004e2b05f55ee1d82c3ab44b966 Mon Sep 17 00:00:00 2001
From: Christophe Marin <christophe at krop.fr>
Date: Sun, 2 Feb 2025 12:59:19 +0100
Subject: [PATCH] Fix build with Qt 6.8.2
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Fixes:
/home/abuild/rpmbuild/BUILD/python-PyQt6-6.8.0-build/PyQt6-6.8.0/build/QtCore/sipQtCoreQStringConverterBase.cpp:58:52: 
error: use of deleted function ‘constexpr 
QStringConverterBase::QStringConverterBase(const QStringConverterBase&)’
---
  sip/QtCore/qstringconverter_base.sip | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sip/QtCore/qstringconverter_base.sip 
b/sip/QtCore/qstringconverter_base.sip
index d0c790f..6f7c301 100644
--- a/sip/QtCore/qstringconverter_base.sip
+++ b/sip/QtCore/qstringconverter_base.sip
@@ -22,7 +22,7 @@

  %If (Qt_6_4_0 -)

-class QStringConverterBase
+class QStringConverterBase /NoDefaultCtors/
  {
  %TypeHeaderCode
  #include <qstringconverter_base.h>
-- 
2.48.1




>
> Thanks,
> -- 
>        ...ich hab' noch einen Koffer in Berlin...

Cheers,
Ben
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20250202/ae06f467/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature.asc
Type: application/pgp-signature
Size: 236 bytes
Desc: OpenPGP digital signature
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20250202/ae06f467/attachment.sig>


More information about the PyQt mailing list