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

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

      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.

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes