PyQt6-3D build failure
Phil Thompson
phil at riverbankcomputing.com
Thu Jan 7 10:06:40 GMT 2021
On 07/01/2021 07:54, Antonio Rojas wrote:
> Hi,
> PyQt6-3D fails to build:
>
> g++ -c -pipe -O2 -std=gnu++1z -fno-exceptions -Wall -Wextra
> -D_REENTRANT -fPIC -DPy_LIMITED_API=0x03040000
> -DSIP_PROTECTED_IS_PUBLIC -Dprotected=public -D
> QT_NO_EXCEPTIONS -DQT_NO_DEBUG -DQT_PLUGIN -DQT_3DEXTRAS_LIB
> -DQT_3DRENDER_LIB -DQT_3DCORE_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB
> -DQT_NETWORK_LIB -DQT_CONCURRE
> NT_LIB -DQT_CORE_LIB -I. -I. -I.. -I/usr/include/python3.9
> -I/usr/include/qt6 -I/usr/include/qt6/Qt3DExtras
> -I/usr/include/qt6/Qt3DRender/6.0.0 -I/usr/inc
> lude/qt6/Qt3DRender/6.0.0/Qt3DRender -I/usr/include/qt6/Qt3DCore/6.0.0
> -I/usr/include/qt6/Qt3DCore/6.0.0/Qt3DCore
> -I/usr/include/qt6/Qt3DRender -I/usr/inc
> lude/qt6/Qt3DCore -I/usr/include/qt6/QtGui/6.0.0
> -I/usr/include/qt6/QtGui/6.0.0/QtGui -I/usr/include/qt6/QtOpenGL
> -I/usr/include/qt6/QtGui -I/usr/include/
> qt6/QtNetwork -I/usr/include/qt6/QtConcurrent
> -I/usr/include/qt6/QtCore/6.0.0 -I/usr/include/qt6/QtCore/6.0.0/QtCore
> -I/usr/include/qt6/QtCore -I. -I/usr/
> lib/qt6/mkspecs/linux-g++ -o
> sipQt3DExtrasQt3DExtrasQOrbitCameraController.o
> sipQt3DExtrasQt3DExtrasQOrbitCameraController.cpp
> /build/pyqt6-3d/src/PyQt6_3D-6.0.0/sip/Qt3DInput/qabstractactioninput.sip:26:10:
> fatal error: qabstractactioninput.h: No such file or directory
> 26 | #include <qabstractactioninput.h>
> | ^~~~~~~~~~~~~~~~~~~~~~~~
> compilation terminated.
>
> The header is in /usr/include/qt6/Qt3DInput/, which is not among the
> include paths.
Can you try editing pyproject.toml to add "3dinput" to the value of
qmake-QT for Qt3DExtras?
Phil
More information about the PyQt
mailing list