Qt3D.Logic: add declarative type registration
Replace the imports/logic folder with a QML module living at
quick3dlogic (to follow the naming used by the other QML modules in
quick3d) and do declarative qml registration via QML_FOREIGN,
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.
Pick-to: 6.8 6.9
Task-number: QTBUG-106079
Change-Id: Ib500008cd817032deb8e15cde5f6ca24aad9c11f
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>