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

#include <QtGlobal> does not include all advertised functions

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P3: Somewhat important 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.

      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.

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes