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

Methods defined in QtCore/qnumeric.h Show in <QtGlobal> documentation but including QtGlobal does not bring in numerics

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.3.0
    • 5.2.1
    • Documentation
    • None
    • 8e261ac756132baeb857fb15013cde126ffa22cc

    Description

      See http://doc-snapshot.qt-project.org/qt5-stable/qtglobal.html

      It lists methods from QtCore/qnumeric.h (qQNaN, qIsNaN, qInf, etc) however there is no mention on this page of how to actually include these methods. It would be assumed from this documentation that "#include <QtGlobal>" would include these methods however you have to explicitly "#include <QtCore/QtNumeric>" to bring these methods in.

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              treinio Topi Reiniƶ
              tallenbb Travis Allen
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes