Details
-
Technical task
-
Resolution: Unresolved
-
Not Evaluated
-
None
-
None
-
None
-
framework-content 2, framework-content 3
-
7d1a2ae69 (dev), 23c972041 (6.9), 3dc0076f2 (tqtc/lts-6.8), 303c85a78 (dev), e05a6eedd (6.9), 2dd5f5a11 (tqtc/lts-6.8), 96578b3b0 (dev), ace78623e (6.10), 455aef917 (6.9), 8d6e7d6be (tqtc/lts-6.8)
Description
A quick grep reveals that the following examples still use runtime registration (as of Qt 6.9.0):
- https://doc.qt.io/qt-6/qtdoc-demos-mediaplayer-example.html
- https://doc.qt.io/qt-6/qtdoc-demos-stocqt-example.html
- https://doc.qt.io/qt-6/qtgraphs-3d-axishandling-example.html (and https://doc.qt.io/qt-6/qtdatavis3d-qmlaxishandling-example.html )
- https://doc.qt.io/qt-6/qtgraphs-3d-surfacegallery-example.html (and https://doc.qt.io/qt-6/qtdatavis3d-qmlsurfacegallery-example.html )
- https://doc.qt.io/qt-6/qtopcua-waterpump-waterpump-qmlcpp-example.html
- https://doc.qt.io/qt-6/qtquickcontrols-chattutorial-example.html
- https://doc.qt.io/qt-6/qtquickcontrols-contactlist-example.html
- https://doc.qt.io/qt-6/qtwaylandcompositor-custom-shell-example.html
Replace them with compile-time registration instead (QML_ELEMENT/QML_NAMED_ELEMENT, QML_SINGLETON, Q_COMPOSITOR_DECLARE_QUICK_EXTENSION_NAMED_ELEMENT)