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.h
Go to the documentation of this file.
1// Copyright (C) 2020 The Qt Company Ltd.
2// Copyright (C) 2019 Intel Corporation.
3// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
4// Qt-Security score:significant reason:default
5
6#ifndef QGLOBAL_H
7#define QGLOBAL_H
8
9#if 0
10#pragma qt_class(QtGlobal)
11#endif
12
13#ifdef __cplusplus
14# include <type_traits>
15# include <cstddef>
16# include <utility>
17# include <cstdint>
18#endif
19#ifndef __ASSEMBLER__
20# include <assert.h>
21# include <stdbool.h>
22# include <stddef.h>
23#endif
24
25#include <QtCore/qtcoreglobal.h>
26
27#include <QtCore/qtpreprocessorsupport.h>
28
29#include <QtCore/qsystemdetection.h>
30#include <QtCore/qprocessordetection.h>
31#include <QtCore/qcompilerdetection.h>
32
33#ifndef __ASSEMBLER__
34# include <QtCore/qassert.h>
35# include <QtCore/qtnoop.h>
36# include <QtCore/qtypes.h>
37#endif /* !__ASSEMBLER__ */
38#include <QtCore/qtversion.h>
39
40#if defined(__cplusplus)
41
42#include <QtCore/qtclasshelpermacros.h>
43
44// We need to keep QTypeInfo, QSysInfo, QFlags, qDebug & family in qglobal.h for compatibility with Qt 4.
45// Be careful when changing the order of these files.
46#include <QtCore/qtypeinfo.h>
47#include <QtCore/qsysinfo.h>
48#include <QtCore/qlogging.h>
49
50#include <QtCore/qflags.h>
51
52#include <QtCore/qatomic.h>
53#include <QtCore/qconstructormacros.h>
54#include <QtCore/qdarwinhelpers.h>
55#include <QtCore/qexceptionhandling.h>
56#include <QtCore/qforeach.h>
57#include <QtCore/qfunctionpointer.h>
58#include <QtCore/qglobalstatic.h>
59#include <QtCore/qmalloc.h>
60#include <QtCore/qminmax.h>
61#include <QtCore/qnumeric.h>
62#include <QtCore/qoverload.h>
63#include <QtCore/qswap.h>
64#include <QtCore/qtdeprecationmarkers.h>
65#include <QtCore/qtenvironmentvariables.h>
66#include <QtCore/qtresource.h>
67#include <QtCore/qttranslation.h>
68#include <QtCore/qttypetraits.h>
69#if QT_CONFIG(version_tagging)
70#include <QtCore/qversiontagging.h>
71#endif
72#endif /* __cplusplus */
73
74#endif /* QGLOBAL_H */