Details
-
Bug
-
Resolution: Unresolved
-
P3: Somewhat important
-
6.9
-
None
Description
The documentation page on Data Type Conversion Between QML and C++ has a table in the Basic Qt Data Types section with separate entries for double and then float, qreal. The double is shown as corresponding to a QML Basic Type of double, while float, qreal are shown as corresponding to a QML type of real. Clicking on the QML Basic Type links for real and double lead to pages that describe both as being double precision IEEE floating point values. I would suggest that all three type be put on one row of the table and remove the reference to real entirely. That assumes that float, qreal don't actually correspond to single precision floating point values. If that is the case then the underlying link to real needs to be corrected.
2025 Edit:
There are changes in how developers can configure the qreal assignment. This task could be the documentation portion of those changes.
Attachments
Gerrit Reviews
For Gerrit Dashboard: QTBUG-42036 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
633615,2 | Doc : Data Type Documentation confusion | dev | qt/qtdeclarative | Status: NEW | 0 | 0 |