PyQt6-DataVisualization 6.3 does not compile with Qt 6.2.4

Ben Greiner code-pyqt at bnavigator.de
Wed Apr 13 13:03:52 BST 2022


Hi,

When I try to build the new sources with Qt 6.2.4 I get errors:

> [    1s] [450/542] keeping libQt6DataVisualization6-6.2.4-1.1
> ...
> [   11s] g++ -c -pipe -O2 -Wall -D_FORTIFY_SOURCE=2 
> -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables 
> -fstack-clash-protection -Werror=return-type -flto=auto -g -O2 
> -fno-exceptions -Wall -Wextra -D_REENTRANT -fPIC 
> -DPy_LIMITED_API=0x03070000 -DSIP_PROTECTED_IS_PUBLIC 
> -Dprotected=public -DQT_NO_EXCEPTIONS -DQT_NO_DEBUG -DQT_PLUGIN 
> -DQT_DATAVISUALIZATION_LIB -DQT_QUICK_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB 
> -DQT_QMLMODELS_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. 
> -I.. -I/usr/include/python3.9 -I/usr/include/qt6 
> -I/usr/include/qt6/QtDataVisualization -I/usr/include/qt6/QtQuick 
> -I/usr/include/qt6/QtOpenGL -I/usr/include/qt6/QtGui 
> -I/usr/include/qt6/QtQmlModels -I/usr/include/qt6/QtQml 
> -I/usr/include/qt6/QtNetwork -I/usr/include/qt6/QtCore -I. 
> -I/usr/lib64/qt6/mkspecs/linux-g++ -o 
> sipQtDataVisualizationQScatterDataProxy.o 
> sipQtDataVisualizationQScatterDataProxy.cpp
> [   11s] 
> /home/abuild/rpmbuild/BUILD/PyQt6_DataVisualization-6.3.0/build/QtDataVisualization/sipQtDataVisualizationQSurface3DSeries.cpp: 
> In function 'PyObject* 
> meth_QSurface3DSeries_setWireframeColor(PyObject*, PyObject*)':
> [   11s] 
> /home/abuild/rpmbuild/BUILD/PyQt6_DataVisualization-6.3.0/build/QtDataVisualization/sipQtDataVisualizationQSurface3DSeries.cpp:693:21: 
> error: 'class QSurface3DSeries' has no member named 'setWireframeColor'
> [   11s]   693 |             sipCpp->setWireframeColor(*a0);
> [   11s]       |                     ^~~~~~~~~~~~~~~~~
> [   11s] 
> /home/abuild/rpmbuild/BUILD/PyQt6_DataVisualization-6.3.0/build/QtDataVisualization/sipQtDataVisualizationQSurface3DSeries.cpp: 
> In function 'PyObject* meth_QSurface3DSeries_wireframeColor(PyObject*, 
> PyObject*)':
> [   11s] 
> /home/abuild/rpmbuild/BUILD/PyQt6_DataVisualization-6.3.0/build/QtDataVisualization/sipQtDataVisualizationQSurface3DSeries.cpp:721:44: 
> error: 'const class QSurface3DSeries' has no member named 
> 'wireframeColor'
> [   11s]   721 |             sipRes = new 
>  ::QColor(sipCpp->wireframeColor());
> [   11s]       |                                            ^~~~~~~~~~~~~~
>

Full build log:
https://susepaste.org/77347527


Shouldn't PyQt 6.3 still support all the features from 6.2?
https://www.riverbankcomputing.com/static/Docs/PyQt6/installation.html#understanding-the-correct-version-to-install

 > For a particular minor version/n/it will build against any version of 
Qt v6, but will not support any new features introduced in Qt v6./n+1/or 
later.


Regards,
Ben
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 236 bytes
Desc: OpenPGP digital signature
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20220413/883e4d46/attachment.sig>


More information about the PyQt mailing list