Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-42036

Data Type Documentation confusion

    XMLWordPrintable

Details

    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

        For Gerrit Dashboard: QTBUG-42036
        # Subject Branch Project Status CR V

        Activity

          People

            qtqmlteam Qt Qml Team User
            rolias Tod Gentille
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There is 1 open Gerrit change