Qt3D.Scene3D: add declarative type registration
Move the module next to Qt3D.Scene2D and rename to 3DQuickScene3D to
follow Qt naming.
Add declarative qml registration via QML_NAMED_ELEMENT, remove
handwritten(?) qmldir and qmltypes files. Also remove the .pro
files, and the manually written plugin that was only used for
imperative type registration.
Also fix the REVISION macros to include the major version.
Replace the dependencies.json with a DEPENDENCIES in the
qt_add_qml_module call.
This fixes some qmllint warnings about the handwritten
*.qmltypes files being outdated and/or invalid.
Add missing libraries to 3DQuickScene3D to make it link.
Pick-to: 6.8
Task-number: QTBUG-106079
Change-Id: Ia51bbb8fb90fbe4613040464da77fd7828ce9b6f
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
| commit | 8fb7bd89e086b2f1f4bfcabc43c496b30c4f30dd |
| parent | fa4bc42f1fecffc401dc2b5fad1732c957045335 |
| author | Sami Shalayel <sami.shalayel@qt.io> |
| committer | Sami Shalayel <sami.shalayel@qt.io> |
| commit time | Thu, 19 Sep 2024 14:42:01 +0200 |
- M src/CMakeLists.txt
- D src/quick3d/imports/scene3d/CMakeLists.txt
- D src/quick3d/imports/scene3d/dependencies.json
- D src/quick3d/imports/scene3d/plugins.qmltypes
- D src/quick3d/imports/scene3d/qmldir
- D src/quick3d/imports/scene3d/qtquickscene3dplugin.cpp
- D src/quick3d/imports/scene3d/qtquickscene3dplugin.h
- D src/quick3d/imports/scene3d/scene3d.qrc
- A src/quick3d/quick3dscene3d/CMakeLists.txt
- R100 src/quick3d/imports/scene3d/scene3ditem.cpp
- R098 src/quick3d/imports/scene3d/scene3ditem_p.h
- R100 src/quick3d/imports/scene3d/scene3dlogging.cpp
- R100 src/quick3d/imports/scene3d/scene3dlogging_p.h
- R100 src/quick3d/imports/scene3d/scene3drenderer.cpp
- R100 src/quick3d/imports/scene3d/scene3drenderer_p.h
- R100 src/quick3d/imports/scene3d/scene3dsgmaterial.cpp
- R100 src/quick3d/imports/scene3d/scene3dsgmaterial_p.h
- R100 src/quick3d/imports/scene3d/scene3dsgmaterialshader.cpp
- R100 src/quick3d/imports/scene3d/scene3dsgmaterialshader_p.h
- R100 src/quick3d/imports/scene3d/scene3dsgnode.cpp
- R100 src/quick3d/imports/scene3d/scene3dsgnode_p.h
- R100 src/quick3d/imports/scene3d/shaders/scene3dmaterial.frag
- R100 src/quick3d/imports/scene3d/shaders/scene3dmaterial.frag.qsb
- R100 src/quick3d/imports/scene3d/shaders/scene3dmaterial.vert
- R100 src/quick3d/imports/scene3d/shaders/scene3dmaterial.vert.qsb