request for release compatible with qt6 6.8.0
Renee Otten
reneeotten at macports.org
Wed Oct 30 17:17:47 GMT 2024
Hi Phil,
Thanks for the work to support Qt 6.8!
When I try building the snapshots you mention, I see the following build error for PyQt6-WebEngine on macOS Sequoia:
:info:build /Library/Developer/CommandLineTools/usr/bin/clang++ -c -pipe -stdlib=libc++ -O2 -std=gnu++1z -arch x86_64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -mmacosx-version-min=14
.0 -fno-exceptions -Wall -Wextra -fPIC -DPy_LIMITED_API=0x03080000 -DSIP_PROTECTED_IS_PUBLIC -Dprotected=public -DQT_NO_EXCEPTIONS -DQT_NO_DEBUG -DQT_PLUGIN -DQT_WEBENGINECORE_LIB -DQT_QUICK_LIB -DQT_OPEN
GL_LIB -DQT_GUI_LIB -DQT_QMLMETA_LIB -DQT_QMLMODELS_LIB -DQT_QMLWORKERSCRIPT_LIB -DQT_WEBCHANNEL_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_QMLINTEGRATION_LIB -DQT_POSITIONING_LIB -DQT_CORE_LIB -I. -I. -I.. -
I/opt/local/Library/Frameworks/Python.framework/Versions/3.12/include/python3.12 -I/opt/local/libexec/qt6/lib/QtWebEngineCore.framework/Headers -I/opt/local/libexec/qt6/lib/QtQuick.framework/Headers -I/op
t/local/libexec/qt6/lib/QtOpenGL.framework/Headers -I/opt/local/libexec/qt6/lib/QtGui.framework/Headers -I/opt/local/libexec/qt6/lib/QtQmlMeta.framework/Headers -I/opt/local/libexec/qt6/lib/QtQmlModels.fr
amework/Headers -I/opt/local/libexec/qt6/lib/QtQmlWorkerScript.framework/Headers -I/opt/local/libexec/qt6/lib/QtWebChannel.framework/Headers -I/opt/local/libexec/qt6/lib/QtQml.framework/Headers -I/opt/loc
al/libexec/qt6/lib/QtNetwork.framework/Headers -I/opt/local/libexec/qt6/include -I/opt/local/libexec/qt6/include/QtQmlIntegration -I/opt/local/libexec/qt6/lib/QtPositioning.framework/Headers -I/opt/local/
libexec/qt6/lib/QtCore.framework/Headers -I. -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/OpenGL.framework/Headers -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/
System/Library/Frameworks/AGL.framework/Headers -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/OpenGL.framework/Headers -I/Library/Developer/CommandLineTools/SDKs/MacOSX.s
dk/System/Library/Frameworks/AGL.framework/Headers -I/opt/local/libexec/qt6/mkspecs/macx-clang -F/opt/local/libexec/qt6/lib -o sipQtWebEngineCoreQWebEngineFrame.o sipQtWebEngineCoreQWebEngineFrame.cpp
:info:build /opt/local/var/macports/build/_Users_renee_Software_macports-ports_python_py-pyqt6-webengine/py312-pyqt6-webengine/work/PyQt6_WebEngine-6.8.0.dev2410241448/sip/QtWebEngineCore/qwebengineframe.
sip:52:52: error: allocation of incomplete type 'QVariant'
:info:build 52 | res = sipCallMethod(NULL, a1, "N", new QVariant(arg), sipType_QVariant, NULL);
:info:build | ^~~~~~~~
:info:build /opt/local/libexec/qt6/lib/QtCore.framework/Headers/qcontainerfwd.h:49:7: note: forward declaration of 'QVariant'
:info:build 49 | class QVariant;
:info:build | ^
:info:build /opt/local/var/macports/build/_Users_renee_Software_macports-ports_python_py-pyqt6-webengine/py312-pyqt6-webengine/work/PyQt6_WebEngine-6.8.0.dev2410241448/sip/QtWebEngineCore/qwebengineframe.sip:79:52: error: allocation of incomplete type 'QVariant'
:info:build 79 | res = sipCallMethod(NULL, a2, "N", new QVariant(arg), sipType_QVariant, NULL);
:info:build | ^~~~~~~~
:info:build /opt/local/libexec/qt6/lib/QtCore.framework/Headers/qcontainerfwd.h:49:7: note: forward declaration of 'QVariant'
:info:build 49 | class QVariant;
:info:build | ^
:info:build 2 errors generated.
:info:build make[1]: *** [sipQtWebEngineCoreQWebEngineFrame.o] Error 1
:info:build make: *** [sub-QtWebEngineCore-make_first-ordered] Error 2
:info:build Command failed: cd "/opt/local/var/macports/build/_Users_renee_Software_macports-ports_python_py-pyqt6-webengine/py312-pyqt6-webengine/work/PyQt6_WebEngine-6.8.0.dev2410241448" && sip-build-3.12 --qmake /opt/local/libexec/qt6/bin/qmake --verbose
:info:build Exit code: 1
Any insights on how to resolve this?
Thanks,
Renee
> On Oct 29, 2024, at 8:00 AM, pyqt-request at riverbankcomputing.com wrote:
>
> Message: 1
> Date: Tue, 29 Oct 2024 09:54:46 +0100
> From: Thomas Klausner <wiz at gatalith.at>
> To: pyqt at riverbankcomputing.com
> Subject: request for release compatible with qt6 6.8.0
> Message-ID: <ZyCi1kJrGBKuBcjm at exadelic.gatalith.at>
> Content-Type: text/plain; charset=us-ascii
>
> Hi!
>
> The current pyqt release 6.7.1 does not compile against qt6 6.8.0.
>
> In pkgsrc (for which I'm packaging) we see:
>
> /private/tmp/pkgsrc/x11/py-qt6/work/PyQt6-6.7.1/build/QtCore/sipQtCoreQXmlStreamEntityResolver.cpp:64:97: error: call to deleted constructor of '::QXmlStreamEntityResolver'
> 64 | sipQXmlStreamEntityResolver::sipQXmlStreamEntityResolver(const ::QXmlStreamEntityResolver& a0): ::QXmlStreamEntityResolver(a0), sipPySelf(SIP_NULLPTR)
> | ^ ~~
> /tmp/pkgsrc/x11/py-qt6/work/.buildlink/qt6/include/QtCore/qxmlstream.h:220:25: note: 'QXmlStreamEntityResolver' has been explicitly marked deleted here
> 220 | Q_DISABLE_COPY_MOVE(QXmlStreamEntityResolver)
> | ^
>
> I checked Arch Linux[1] and they are using a snapshot, so we switched
> pkgsrc to that too, and that fixed the compilation problem. But we
> prefer to use releases, so could you please make a "proper" release
> supporting qt6 6.8.0?
>
> Thank you,
> Thomas
>
> [1] https://gitlab.archlinux.org/archlinux/packaging/packages/pyqt6/-/blob/main/PKGBUILD?ref_type=heads
>
>
> ------------------------------
>
> Message: 2
> Date: Tue, 29 Oct 2024 11:25:18 +0000
> From: Phil Thompson <phil at riverbankcomputing.com>
> To: Thomas Klausner <wiz at gatalith.at>
> Cc: pyqt at riverbankcomputing.com
> Subject: Re: request for release compatible with qt6 6.8.0
> Message-ID: <98f8e0e63e688d5a65d7ab60f61e1580 at riverbankcomputing.com>
> Content-Type: text/plain; charset=US-ASCII; format=flowed
>
> On 29/10/2024 08:54, Thomas Klausner wrote:
>> Hi!
>>
>> The current pyqt release 6.7.1 does not compile against qt6 6.8.0.
>>
>> In pkgsrc (for which I'm packaging) we see:
>>
>> /private/tmp/pkgsrc/x11/py-qt6/work/PyQt6-6.7.1/build/QtCore/sipQtCoreQXmlStreamEntityResolver.cpp:64:97:
>> error: call to deleted constructor of '::QXmlStreamEntityResolver'
>> 64 | sipQXmlStreamEntityResolver::sipQXmlStreamEntityResolver(const
>> ::QXmlStreamEntityResolver& a0): ::QXmlStreamEntityResolver(a0),
>> sipPySelf(SIP_NULLPTR)
>> |
>> ^ ~~
>> /tmp/pkgsrc/x11/py-qt6/work/.buildlink/qt6/include/QtCore/qxmlstream.h:220:25:
>> note: 'QXmlStreamEntityResolver' has been explicitly marked deleted
>> here
>> 220 | Q_DISABLE_COPY_MOVE(QXmlStreamEntityResolver)
>> | ^
>>
>> I checked Arch Linux[1] and they are using a snapshot, so we switched
>> pkgsrc to that too, and that fixed the compilation problem. But we
>> prefer to use releases, so could you please make a "proper" release
>> supporting qt6 6.8.0?
>>
>> Thank you,
>> Thomas
>>
>> [1]
>> https://gitlab.archlinux.org/archlinux/packaging/packages/pyqt6/-/blob/main/PKGBUILD?ref_type=heads
>
> It will be released when it is ready, I don't see any urgency. The
> current snapshots are complete (although PyQt6-Graphs is still a work in
> progress) but there are a lot of related changes that I want to make
> sure aren't going to cause problems...
>
> - support for Windows on Arm
> - support for Linux on Arm
> - support for Python v3.13
> - drop support for Python v3.8
> - a new build environment to support the new architectures
>
> I'm currently working on fixing bugs in Qt v6.8.0 which I hope will make
> it into v6.8.1. I may delay the release of PyQt6 v6.8.0 until Qt v6.8.1
> is released.
>
> Phil
More information about the PyQt
mailing list