| 1 | /**************************************************************************** |
| 2 | ** |
| 3 | ** Copyright (C) 2018 The Qt Company Ltd. |
| 4 | ** Contact: https://www.qt.io/licensing/ |
| 5 | ** |
| 6 | ** This file is part of the QtCore module of the Qt Toolkit. |
| 7 | ** |
| 8 | ** $QT_BEGIN_LICENSE:LGPL$ |
| 9 | ** Commercial License Usage |
| 10 | ** Licensees holding valid commercial Qt licenses may use this file in |
| 11 | ** accordance with the commercial license agreement provided with the |
| 12 | ** Software or, alternatively, in accordance with the terms contained in |
| 13 | ** a written agreement between you and The Qt Company. For licensing terms |
| 14 | ** and conditions see https://www.qt.io/terms-conditions. For further |
| 15 | ** information use the contact form at https://www.qt.io/contact-us. |
| 16 | ** |
| 17 | ** GNU Lesser General Public License Usage |
| 18 | ** Alternatively, this file may be used under the terms of the GNU Lesser |
| 19 | ** General Public License version 3 as published by the Free Software |
| 20 | ** Foundation and appearing in the file LICENSE.LGPL3 included in the |
| 21 | ** packaging of this file. Please review the following information to |
| 22 | ** ensure the GNU Lesser General Public License version 3 requirements |
| 23 | ** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. |
| 24 | ** |
| 25 | ** GNU General Public License Usage |
| 26 | ** Alternatively, this file may be used under the terms of the GNU |
| 27 | ** General Public License version 2.0 or (at your option) the GNU General |
| 28 | ** Public license version 3 or any later version approved by the KDE Free |
| 29 | ** Qt Foundation. The licenses are as published by the Free Software |
| 30 | ** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 |
| 31 | ** included in the packaging of this file. Please review the following |
| 32 | ** information to ensure the GNU General Public License requirements will |
| 33 | ** be met: https://www.gnu.org/licenses/gpl-2.0.html and |
| 34 | ** https://www.gnu.org/licenses/gpl-3.0.html. |
| 35 | ** |
| 36 | ** $QT_END_LICENSE$ |
| 37 | ** |
| 38 | ****************************************************************************/ |
| 39 | |
| 40 | // |
| 41 | // W A R N I N G |
| 42 | // ------------- |
| 43 | // |
| 44 | // This file is not part of the Qt API. It exists purely as an |
| 45 | // implementation detail. This header file may change from version to |
| 46 | // version without notice, or even be removed. |
| 47 | // |
| 48 | // We mean it. |
| 49 | // |
| 50 | // Despite its file name, this really is not a public header. |
| 51 | // It is an implementation detail of the private bootstrap library. |
| 52 | // |
| 53 | |
| 54 | #if 0 |
| 55 | // silence syncqt warnings |
| 56 | #pragma qt_sync_skip_header_check |
| 57 | #pragma qt_sync_stop_processing |
| 58 | #endif |
| 59 | |
| 60 | #ifdef QT_BOOTSTRAPPED |
| 61 | |
| 62 | #ifndef QT_NO_EXCEPTIONS |
| 63 | #define QT_NO_EXCEPTIONS |
| 64 | #endif |
| 65 | |
| 66 | #define QT_NO_USING_NAMESPACE |
| 67 | #define QT_NO_DEPRECATED |
| 68 | |
| 69 | #ifndef QT_BUILD_QMAKE |
| 70 | #define QT_NO_REGEXP |
| 71 | #endif |
| 72 | |
| 73 | // Keep feature-test macros in alphabetic order by feature name: |
| 74 | #define QT_FEATURE_alloca 1 |
| 75 | #define QT_FEATURE_alloca_h -1 |
| 76 | #ifdef _WIN32 |
| 77 | # define QT_FEATURE_alloca_malloc_h 1 |
| 78 | #else |
| 79 | # define QT_FEATURE_alloca_malloc_h -1 |
| 80 | #endif |
| 81 | #define QT_FEATURE_cborstreamreader -1 |
| 82 | #define QT_FEATURE_cborstreamwriter 1 |
| 83 | #define QT_CRYPTOGRAPHICHASH_ONLY_SHA1 |
| 84 | #define QT_FEATURE_cxx11_random (__has_include(<random>) ? 1 : -1) |
| 85 | #define QT_FEATURE_cxx17_filesystem -1 |
| 86 | #define QT_NO_DATASTREAM |
| 87 | #define QT_FEATURE_datestring 1 |
| 88 | #define QT_FEATURE_datetimeparser -1 |
| 89 | #define QT_FEATURE_easingcurve -1 |
| 90 | #define QT_FEATURE_etw -1 |
| 91 | #define QT_FEATURE_getauxval (__has_include(<sys/auxv.h>) ? 1 : -1) |
| 92 | #define QT_FEATURE_getentropy -1 |
| 93 | #define QT_NO_GEOM_VARIANT |
| 94 | #define QT_FEATURE_hijricalendar -1 |
| 95 | #define QT_FEATURE_icu -1 |
| 96 | #define QT_FEATURE_islamiccivilcalendar -1 |
| 97 | #define QT_FEATURE_jalalicalendar -1 |
| 98 | #define QT_FEATURE_journald -1 |
| 99 | #define QT_FEATURE_futimens -1 |
| 100 | #define QT_FEATURE_futimes -1 |
| 101 | #define QT_FEATURE_itemmodel -1 |
| 102 | #define QT_FEATURE_library -1 |
| 103 | #ifdef __linux__ |
| 104 | # define QT_FEATURE_linkat 1 |
| 105 | #else |
| 106 | # define QT_FEATURE_linkat -1 |
| 107 | #endif |
| 108 | #define QT_FEATURE_lttng -1 |
| 109 | #define QT_NO_QOBJECT |
| 110 | #define QT_FEATURE_process -1 |
| 111 | #define QT_FEATURE_regularexpression 1 |
| 112 | #ifdef __GLIBC_PREREQ |
| 113 | # define QT_FEATURE_renameat2 (__GLIBC_PREREQ(2, 28) ? 1 : -1) |
| 114 | #else |
| 115 | # define QT_FEATURE_renameat2 -1 |
| 116 | #endif |
| 117 | #define QT_FEATURE_sharedmemory -1 |
| 118 | #define QT_FEATURE_shortcut -1 |
| 119 | #define QT_FEATURE_signaling_nan -1 |
| 120 | #define QT_FEATURE_slog2 -1 |
| 121 | #ifdef __GLIBC_PREREQ |
| 122 | # define QT_FEATURE_statx (__GLIBC_PREREQ(2, 28) ? 1 : -1) |
| 123 | #else |
| 124 | # define QT_FEATURE_statx -1 |
| 125 | #endif |
| 126 | #define QT_FEATURE_syslog -1 |
| 127 | #define QT_NO_SYSTEMLOCALE |
| 128 | #define QT_FEATURE_systemsemaphore -1 |
| 129 | #define QT_FEATURE_temporaryfile 1 |
| 130 | #define QT_FEATURE_textdate 1 |
| 131 | #define QT_FEATURE_thread -1 |
| 132 | #define QT_FEATURE_timezone -1 |
| 133 | #define QT_FEATURE_topleveldomain -1 |
| 134 | #define QT_NO_TRANSLATION |
| 135 | #define QT_FEATURE_translation -1 |
| 136 | |
| 137 | // rcc.pro will DEFINES+= this |
| 138 | #ifndef QT_FEATURE_zstd |
| 139 | #define QT_FEATURE_zstd -1 |
| 140 | #endif |
| 141 | |
| 142 | #ifdef QT_BUILD_QMAKE |
| 143 | #define QT_FEATURE_commandlineparser -1 |
| 144 | #define QT_NO_COMPRESS |
| 145 | #define QT_JSON_READONLY |
| 146 | #define QT_FEATURE_settings 1 |
| 147 | #define QT_NO_STANDARDPATHS |
| 148 | #else |
| 149 | #define QT_FEATURE_commandlineparser 1 |
| 150 | #define QT_FEATURE_settings -1 |
| 151 | #endif |
| 152 | |
| 153 | #endif // QT_BOOTSTRAPPED |
| 154 | |