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

#include <QtGlobal> does not include all advertised functions

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • 5.3.0
    • 5.2.1
    • Core: Other
    • None
    • In examining the source code it looks to me like this affects all platforms.

    Description

      The documentation for QtGlobal lists a number of functions that actually are not accessible through simply a #include <QtGlobal>. Those omitted are the ones declared in qnumeric.h (qIsFinite(), qIsNan() qIsInf()) and I believe that just adding #include "qnumeric.h" to the end of qglobal.h is all that is needed.

      Attachments

        1. bug.pro
          0.0 kB
        2. bug.cpp
          0.1 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            thiago Thiago Macieira
            gmabey Glen Mabey
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes