diff options
Diffstat (limited to 'sources/pyside6/PySide6/Qt3DExtras')
-rw-r--r-- | sources/pyside6/PySide6/Qt3DExtras/CMakeLists.txt | 85 | ||||
-rw-r--r-- | sources/pyside6/PySide6/Qt3DExtras/typesystem_3dextras.xml | 58 |
2 files changed, 143 insertions, 0 deletions
diff --git a/sources/pyside6/PySide6/Qt3DExtras/CMakeLists.txt b/sources/pyside6/PySide6/Qt3DExtras/CMakeLists.txt new file mode 100644 index 000000000..6f6f637fe --- /dev/null +++ b/sources/pyside6/PySide6/Qt3DExtras/CMakeLists.txt @@ -0,0 +1,85 @@ +# Copyright (C) 2023 The Qt Company Ltd. +# SPDX-License-Identifier: BSD-3-Clause + +project(Qt3DExtras) + +set(Qt3DExtras_SRC +${Qt3DExtras_GEN_DIR}/qt3dextras_wrapper.cpp +${Qt3DExtras_GEN_DIR}/qt3dextras_qabstractcameracontroller_inputstate_wrapper.cpp +${Qt3DExtras_GEN_DIR}/qt3dextras_qabstractcameracontroller_wrapper.cpp +${Qt3DExtras_GEN_DIR}/qt3dextras_qabstractspritesheet_wrapper.cpp +${Qt3DExtras_GEN_DIR}/qt3dextras_qconegeometry_wrapper.cpp +${Qt3DExtras_GEN_DIR}/qt3dextras_qconegeometryview_wrapper.cpp +${Qt3DExtras_GEN_DIR}/qt3dextras_qconemesh_wrapper.cpp +${Qt3DExtras_GEN_DIR}/qt3dextras_qcuboidgeometry_wrapper.cpp +${Qt3DExtras_GEN_DIR}/qt3dextras_qcuboidgeometryview_wrapper.cpp +${Qt3DExtras_GEN_DIR}/qt3dextras_qcuboidmesh_wrapper.cpp +${Qt3DExtras_GEN_DIR}/qt3dextras_qcylindergeometry_wrapper.cpp +${Qt3DExtras_GEN_DIR}/qt3dextras_qcylindergeometryview_wrapper.cpp +${Qt3DExtras_GEN_DIR}/qt3dextras_qcylindermesh_wrapper.cpp +${Qt3DExtras_GEN_DIR}/qt3dextras_qdiffusemapmaterial_wrapper.cpp +${Qt3DExtras_GEN_DIR}/qt3dextras_qdiffusespecularmapmaterial_wrapper.cpp +${Qt3DExtras_GEN_DIR}/qt3dextras_qdiffusespecularmaterial_wrapper.cpp +${Qt3DExtras_GEN_DIR}/qt3dextras_qextrudedtextgeometry_wrapper.cpp +${Qt3DExtras_GEN_DIR}/qt3dextras_qextrudedtextmesh_wrapper.cpp +${Qt3DExtras_GEN_DIR}/qt3dextras_qfirstpersoncameracontroller_wrapper.cpp +${Qt3DExtras_GEN_DIR}/qt3dextras_qforwardrenderer_wrapper.cpp +${Qt3DExtras_GEN_DIR}/qt3dextras_qgoochmaterial_wrapper.cpp +${Qt3DExtras_GEN_DIR}/qt3dextras_qmetalroughmaterial_wrapper.cpp +${Qt3DExtras_GEN_DIR}/qt3dextras_qmorphphongmaterial_wrapper.cpp +${Qt3DExtras_GEN_DIR}/qt3dextras_qnormaldiffusemapmaterial_wrapper.cpp +${Qt3DExtras_GEN_DIR}/qt3dextras_qnormaldiffusemapalphamaterial_wrapper.cpp +${Qt3DExtras_GEN_DIR}/qt3dextras_qnormaldiffusespecularmapmaterial_wrapper.cpp +${Qt3DExtras_GEN_DIR}/qt3dextras_qorbitcameracontroller_wrapper.cpp +${Qt3DExtras_GEN_DIR}/qt3dextras_qpervertexcolormaterial_wrapper.cpp +${Qt3DExtras_GEN_DIR}/qt3dextras_qphongmaterial_wrapper.cpp +${Qt3DExtras_GEN_DIR}/qt3dextras_qphongalphamaterial_wrapper.cpp +${Qt3DExtras_GEN_DIR}/qt3dextras_qplanegeometry_wrapper.cpp +${Qt3DExtras_GEN_DIR}/qt3dextras_qplanegeometryview_wrapper.cpp +${Qt3DExtras_GEN_DIR}/qt3dextras_qplanemesh_wrapper.cpp +${Qt3DExtras_GEN_DIR}/qt3dextras_qskyboxentity_wrapper.cpp +${Qt3DExtras_GEN_DIR}/qt3dextras_qspheregeometry_wrapper.cpp +${Qt3DExtras_GEN_DIR}/qt3dextras_qspheregeometryview_wrapper.cpp +${Qt3DExtras_GEN_DIR}/qt3dextras_qspheremesh_wrapper.cpp +${Qt3DExtras_GEN_DIR}/qt3dextras_qspritegrid_wrapper.cpp +${Qt3DExtras_GEN_DIR}/qt3dextras_qspritesheet_wrapper.cpp +${Qt3DExtras_GEN_DIR}/qt3dextras_qspritesheetitem_wrapper.cpp +${Qt3DExtras_GEN_DIR}/qt3dextras_qtext2dentity_wrapper.cpp +${Qt3DExtras_GEN_DIR}/qt3dextras_qtexturematerial_wrapper.cpp +${Qt3DExtras_GEN_DIR}/qt3dextras_qtorusgeometry_wrapper.cpp +${Qt3DExtras_GEN_DIR}/qt3dextras_qtorusgeometryview_wrapper.cpp +${Qt3DExtras_GEN_DIR}/qt3dextras_qtorusmesh_wrapper.cpp +${Qt3DExtras_GEN_DIR}/qt3dextras_qt3dwindow_wrapper.cpp +# module is always needed +${Qt3DExtras_GEN_DIR}/qt3dextras_module_wrapper.cpp) + + +set(Qt3DExtras_include_dirs + ${Qt3DExtras_SOURCE_DIR} + ${Qt3DExtras_BINARY_DIR} + ${pyside6_SOURCE_DIR} + ${Qt${QT_MAJOR_VERSION}Core_INCLUDE_DIRS} + ${Qt${QT_MAJOR_VERSION}Gui_INCLUDE_DIRS} + ${Qt${QT_MAJOR_VERSION}OpenGL_INCLUDE_DIRS} + ${Qt${QT_MAJOR_VERSION}3DCore_INCLUDE_DIRS} + ${Qt${QT_MAJOR_VERSION}3DRender_INCLUDE_DIRS} + ${Qt${QT_MAJOR_VERSION}3DExtras_INCLUDE_DIRS} + ${libpyside_SOURCE_DIR} + ${QtCore_GEN_DIR} + ${QtGui_GEN_DIR} + ${QtOpenGL_GEN_DIR} + ${Qt3DCore_GEN_DIR} + ${Qt3DRender_GEN_DIR}) + +set(Qt3DExtras_libraries pyside6 + ${Qt${QT_MAJOR_VERSION}3DExtras_LIBRARIES}) + +set(Qt3DExtras_deps Qt3DRender) + +create_pyside_module(NAME Qt3DExtras + INCLUDE_DIRS Qt3DExtras_include_dirs + LIBRARIES Qt3DExtras_libraries + DEPS Qt3DExtras_deps + TYPESYSTEM_PATH Qt3DExtras_SOURCE_DIR + SOURCES Qt3DExtras_SRC + TYPESYSTEM_NAME ${Qt3DExtras_BINARY_DIR}/typesystem_3dextras.xml) diff --git a/sources/pyside6/PySide6/Qt3DExtras/typesystem_3dextras.xml b/sources/pyside6/PySide6/Qt3DExtras/typesystem_3dextras.xml new file mode 100644 index 000000000..d281ae15f --- /dev/null +++ b/sources/pyside6/PySide6/Qt3DExtras/typesystem_3dextras.xml @@ -0,0 +1,58 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- +// Copyright (C) 2017 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only +--> + +<typesystem package="PySide6.Qt3DExtras" + namespace-begin="QT_BEGIN_NAMESPACE" namespace-end="QT_END_NAMESPACE"> + <load-typesystem name="Qt3DRender/typesystem_3drender.xml" generate="no"/> + <namespace-type name="Qt3DExtras"> + <object-type name="QAbstractCameraController"> + <value-type name="InputState"/> + </object-type> + <object-type name="QAbstractSpriteSheet"/> + <object-type name="QConeGeometry"/> + <object-type name="QConeMesh"/> + <object-type name="QConeGeometryView"/> + <object-type name="QCuboidGeometry"/> + <object-type name="QCuboidGeometryView"/> + <object-type name="QCuboidMesh"/> + <object-type name="QCylinderGeometry"/> + <object-type name="QCylinderGeometryView"/> + <object-type name="QCylinderMesh"/> + <object-type name="QDiffuseMapMaterial"/> + <object-type name="QDiffuseSpecularMaterial"/> + <object-type name="QDiffuseSpecularMapMaterial"/> + <object-type name="QExtrudedTextGeometry"/> + <object-type name="QExtrudedTextMesh"/> + <object-type name="QFirstPersonCameraController"/> + <object-type name="QForwardRenderer"/> + <object-type name="QGoochMaterial"/> + <object-type name="QMetalRoughMaterial"/> + <object-type name="QMorphPhongMaterial"/> + <object-type name="QNormalDiffuseMapAlphaMaterial"/> + <object-type name="QNormalDiffuseMapMaterial"/> + <object-type name="QNormalDiffuseSpecularMapMaterial"/> + <object-type name="QOrbitCameraController"/> + <object-type name="QPerVertexColorMaterial"/> + <object-type name="QPhongMaterial"/> + <object-type name="QPhongAlphaMaterial"/> + <object-type name="QPlaneGeometry"/> + <object-type name="QPlaneGeometryView"/> + <object-type name="QPlaneMesh"/> + <object-type name="QSkyboxEntity"/> + <object-type name="QSphereGeometry"/> + <object-type name="QSphereGeometryView"/> + <object-type name="QSphereMesh"/> + <object-type name="QSpriteGrid"/> + <object-type name="QSpriteSheet"/> + <object-type name="QSpriteSheetItem"/> + <object-type name="QText2DEntity"/> + <object-type name="QTextureMaterial"/> + <object-type name="QTorusGeometry"/> + <object-type name="QTorusGeometryView"/> + <object-type name="QTorusMesh"/> + <object-type name="Qt3DWindow"/> + </namespace-type> +</typesystem> |