Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
6.4, 6.5
-
31262074f (dev), 8b956b096 (6.5), 692e9d91a (6.4), dc77e09f8 (tqtc/lts-6.2)
Description
https://doc.qt.io/qt-6/qtqml-cppintegration-definetypes.html mentions (implicitly) the required changes to the QMake file, but neglects to mention how this can be achieved in CMake.
We need to make it explicit that the line about CONFIG only applies to qmake projects, and show how to achieve the same with CMake (via qt_add_qml_module)
Attachments
Issue Links
- is duplicated by
-
QTBUG-110457 page "Defining QML Types from C++" missing CMake-related notes
- Closed