Details
-
Bug
-
Resolution: Fixed
-
P3: Somewhat important
-
6.7
-
None
-
-
3f6036de6 (dev), d3a94e913 (6.7), 22d412edf (tqtc/lts-6.5), 98eb19963 (dev), 18e1455b8 (6.8), 58112f8a2 (6.7), de9559a4f (tqtc/lts-6.5)
Description
qsTrNoOp() function is not defined when used in QML if used like in the snippet of this documentation:
https://doc.qt.io/qt-6/i18n-source-translation.html#qml-use-noop-functions
Using QT_TR_NOOP() works, like in the snippet of the function doc:
https://doc.qt.io/qt-6/qml-qtqml-qt.html#qsTrNoOp-method
Attachments
For Gerrit Dashboard: QTBUG-124657 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
557266,3 | Doc: Fix documentation for _NOOP functions | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |
561788,2 | Doc: Fix documentation for _NOOP functions | 6.7 | qt/qtdeclarative | Status: MERGED | +2 | 0 |
561885,2 | Doc: Fix documentation for _NOOP functions | tqtc/lts-6.5 | qt/tqtc-qtdeclarative | Status: MERGED | +2 | 0 |
561937,1 | Doc: Fix documentation for _NOOP functions | tqtc/lts-6.2 | qt/tqtc-qtdeclarative | Status: ABANDONED | 0 | 0 |
575863,3 | Fix links to NOOP-translation functions for QML | dev | qt/qtdoc | Status: MERGED | +2 | 0 |
576000,2 | Fix links to NOOP-translation functions for QML | 6.8 | qt/qtdoc | Status: MERGED | +2 | 0 |
583070,2 | Fix links to NOOP-translation functions for QML | 6.7 | qt/qtdoc | Status: MERGED | +2 | 0 |
583143,2 | Fix links to NOOP-translation functions for QML | tqtc/lts-6.5 | qt/tqtc-qtdoc | Status: MERGED | +2 | 0 |