Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
qglobal.cpp File Reference

(cc246a67ca660890ea724c2fd0a5c458f3119939)

#include "qplatformdefs.h"
#include "qstring.h"
#include "qbytearrayview.h"
#include "qlist.h"
#include "qdir.h"
#include "qdatetime.h"
#include <private/qlocale_tools_p.h>
#include "qnativeinterface.h"
#include "qnativeinterface_p.h"
#include "moc_qnamespace.cpp"
Include dependency graph for qglobal.cpp:

Go to the source code of this file.

Classes

struct  QInternal_CallBackTable

Functions

Q_CORE_EXPORT Q_DECL_CONST_FUNCTION unsigned int qt_int_sqrt (unsigned int n)
 \inmodule QtCore \title Global Qt Declarations

Function Documentation

◆ qt_int_sqrt()

Q_CORE_EXPORT Q_DECL_CONST_FUNCTION unsigned int qt_int_sqrt ( unsigned int n)

\inmodule QtCore \title Global Qt Declarations

The <QtGlobal> header file includes an assortment of other headers.

Up to Qt 6.5, most Qt header files included <QtGlobal>. Before Qt 6.5, <QtGlobal> defined an assortment of global declarations. Most of these have moved, at Qt 6.5, to separate headers, so that source code can include only what it needs, rather than the whole assortment. For now, <QtGlobal> includes those other headers (see next section), but future releases of Qt may remove some of these headers from <QtGlobal> or condition their inclusion on a version check. Likewise, in future releases, some Qt headers that currently include <QtGlobal> may stop doing so. The hope is that this will improve compilation times by avoiding global declarations when they are not used.

Definition at line 99 of file qglobal.cpp.

References qt_int_sqrt().

Referenced by qt_int_sqrt().

Here is the call graph for this function:
Here is the caller graph for this function: