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