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 | // Keep feature-test macros in alphabetic order by feature name: |
70 | #define QT_FEATURE_alloca 1 |
71 | #define QT_FEATURE_alloca_h -1 |
72 | #ifdef _WIN32 |
73 | # define QT_FEATURE_alloca_malloc_h 1 |
74 | #else |
75 | # define QT_FEATURE_alloca_malloc_h -1 |
76 | #endif |
77 | #define QT_FEATURE_binaryjson -1 |
78 | #define QT_FEATURE_cborstreamreader -1 |
79 | #define QT_FEATURE_cborstreamwriter 1 |
80 | #define QT_CRYPTOGRAPHICHASH_ONLY_SHA1 |
81 | #define QT_FEATURE_cxx11_random (__has_include(<random>) ? 1 : -1) |
82 | #define QT_NO_DATASTREAM |
83 | #define QT_FEATURE_datestring 1 |
84 | #define QT_FEATURE_datetimeparser -1 |
85 | #define QT_FEATURE_easingcurve -1 |
86 | #define QT_FEATURE_etw -1 |
87 | #define QT_FEATURE_getauxval (__has_include(<sys/auxv.h>) ? 1 : -1) |
88 | #define QT_FEATURE_getentropy -1 |
89 | #define QT_NO_GEOM_VARIANT |
90 | #define QT_FEATURE_hijricalendar -1 |
91 | #define QT_FEATURE_iconv -1 |
92 | #define QT_FEATURE_icu -1 |
93 | #define QT_FEATURE_islamiccivilcalendar -1 |
94 | #define QT_FEATURE_jalalicalendar -1 |
95 | #define QT_FEATURE_journald -1 |
96 | #define QT_FEATURE_futimens -1 |
97 | #define QT_FEATURE_futimes -1 |
98 | #define QT_FEATURE_itemmodel -1 |
99 | #define QT_FEATURE_library -1 |
100 | #ifdef __linux__ |
101 | # define QT_FEATURE_linkat 1 |
102 | #else |
103 | # define QT_FEATURE_linkat -1 |
104 | #endif |
105 | #define QT_FEATURE_lttng -1 |
106 | #define QT_NO_QOBJECT |
107 | #define QT_FEATURE_process -1 |
108 | #define QT_FEATURE_regularexpression -1 |
109 | #ifdef __GLIBC_PREREQ |
110 | # define QT_FEATURE_renameat2 (__GLIBC_PREREQ(2, 28) ? 1 : -1) |
111 | #else |
112 | # define QT_FEATURE_renameat2 -1 |
113 | #endif |
114 | #define QT_FEATURE_sharedmemory -1 |
115 | #define QT_FEATURE_signaling_nan -1 |
116 | #define QT_FEATURE_slog2 -1 |
117 | #ifdef __GLIBC_PREREQ |
118 | # define QT_FEATURE_statx (__GLIBC_PREREQ(2, 28) ? 1 : -1) |
119 | #else |
120 | # define QT_FEATURE_statx -1 |
121 | #endif |
122 | #define QT_FEATURE_syslog -1 |
123 | #define QT_NO_SYSTEMLOCALE |
124 | #define QT_FEATURE_systemsemaphore -1 |
125 | #define QT_FEATURE_temporaryfile 1 |
126 | #define QT_FEATURE_textdate 1 |
127 | #define QT_FEATURE_thread -1 |
128 | #define QT_FEATURE_timezone -1 |
129 | #define QT_FEATURE_topleveldomain -1 |
130 | #define QT_NO_TRANSLATION |
131 | #define QT_FEATURE_translation -1 |
132 | |
133 | // rcc.pro will DEFINES+= this |
134 | #ifndef QT_FEATURE_zstd |
135 | #define QT_FEATURE_zstd -1 |
136 | #endif |
137 | |
138 | #ifdef QT_BUILD_QMAKE |
139 | #define QT_FEATURE_commandlineparser -1 |
140 | #define QT_NO_COMPRESS |
141 | #define QT_JSON_READONLY |
142 | #define QT_FEATURE_settings 1 |
143 | #define QT_NO_STANDARDPATHS |
144 | #define QT_FEATURE_textcodec -1 |
145 | #else |
146 | #define QT_FEATURE_codecs -1 |
147 | #define QT_FEATURE_commandlineparser 1 |
148 | #define QT_FEATURE_settings -1 |
149 | #define QT_FEATURE_textcodec 1 |
150 | #endif |
151 | |
152 | #endif // QT_BOOTSTRAPPED |
153 | |