Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
6.8
-
bb6130b06 (dev), 4d4067a41 (dev), 337c92082 (6.9), 2569277ee (6.9), 5797bd19a (6.8), 471a64137 (6.8)
Description
They are marked with " \relates QQmlEngine", but the relation is only indirect, and they are only available when including <QQmlEngige> because that header in turn imports qqml.h, which then in turn imports qqmlintegration.h
The header which a user ideally would include is however qqmlintegration.h, given that it is the most lightweight one.
Having the documentation about registering types in a separate place from the QQmlEngine documentation also makes sense content wise, given that it's perfectly fine to use a QQmlEngine without ever having to register a type; and https://doc.qt.io/qt-6/qtqml-cppintegration-overview.html could link directly to the new, separate page specifically about the macros
QQmlEngine should still prominently link to the other place too, though, if only for SEO reasons.
Attachments
For Gerrit Dashboard: QTBUG-132409 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
625723,9 | Doc: Move integration macros away from QQmlEngine reference docs | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |
625817,4 | Doc: Move registration functions away from QQmlEngine reference docs | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |
626226,2 | Doc: Move integration macros away from QQmlEngine reference docs | 6.9 | qt/qtdeclarative | Status: MERGED | +2 | 0 |
626227,2 | Doc: Move registration functions away from QQmlEngine reference docs | 6.9 | qt/qtdeclarative | Status: MERGED | +2 | 0 |
626313,2 | Doc: Move integration macros away from QQmlEngine reference docs | 6.8 | qt/qtdeclarative | Status: MERGED | +2 | 0 |
626314,2 | Doc: Move registration functions away from QQmlEngine reference docs | 6.8 | qt/qtdeclarative | Status: MERGED | +2 | 0 |