Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
qconfig-bootstrapped.h
Go to the documentation of this file.
1// Copyright (C) 2018 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3
4//
5// W A R N I N G
6// -------------
7//
8// This file is not part of the Qt API. It exists purely as an
9// implementation detail. This header file may change from version to
10// version without notice, or even be removed.
11//
12// We mean it.
13//
14// Despite its file name, this really is not a public header.
15// It is an implementation detail of the private bootstrap library.
16//
17
18#if 0
19// silence syncqt warnings
20#pragma qt_sync_skip_header_check
21#pragma qt_sync_stop_processing
22#endif
23
24#ifdef QT_BOOTSTRAPPED
25
26#include <stdlib.h> // for __GLIBC_PREREQ
27
28#ifndef QT_NO_EXCEPTIONS
29#define QT_NO_EXCEPTIONS
30#endif
31
32#define QT_NO_USING_NAMESPACE
33#define QT_NO_DEPRECATED
34
35// Keep feature-test macros in alphabetic order by feature name:
36#define QT_FEATURE_alloca 1
37#define QT_FEATURE_alloca_h -1
38#ifdef _WIN32
39# define QT_FEATURE_alloca_malloc_h 1
40#else
41# define QT_FEATURE_alloca_malloc_h -1
42#endif
43#define QT_FEATURE_cborstreamreader -1
44#define QT_FEATURE_cborstreamwriter 1
45#define QT_CRYPTOGRAPHICHASH_ONLY_SHA1
46#define QT_FEATURE_cxx11_random (__has_include(<random>) ? 1 : -1)
47#define QT_FEATURE_cxx17_filesystem -1
48#define QT_NO_DATASTREAM
49#define QT_FEATURE_datestring 1
50#define QT_FEATURE_datetimeparser -1
51#define QT_FEATURE_easingcurve -1
52#define QT_FEATURE_etw -1
53#if defined(__linux__) || defined(__GLIBC__)
54#define QT_FEATURE_getauxval (__has_include(<sys/auxv.h>) ? 1 : -1)
55#else
56#define QT_FEATURE_getauxval -1
57#endif
58#define QT_FEATURE_getentropy -1
59#define QT_NO_GEOM_VARIANT
60#define QT_FEATURE_hijricalendar -1
61#define QT_FEATURE_icu -1
62#define QT_FEATURE_islamiccivilcalendar -1
63#define QT_FEATURE_jalalicalendar -1
64#define QT_FEATURE_journald -1
65#define QT_FEATURE_futimens -1
66#undef QT_FEATURE_future
67#define QT_FEATURE_future -1
68#define QT_FEATURE_itemmodel -1
69#define QT_FEATURE_library -1
70#ifdef __linux__
71# define QT_FEATURE_linkat 1
72#else
73# define QT_FEATURE_linkat -1
74#endif
75#define QT_FEATURE_lttng -1
76#define QT_NO_QOBJECT
77#define QT_FEATURE_process -1
78#define QT_FEATURE_regularexpression 1
79#ifdef __GLIBC_PREREQ
80# define QT_FEATURE_renameat2 (__GLIBC_PREREQ(2, 28) ? 1 : -1)
81#else
82# define QT_FEATURE_renameat2 -1
83#endif
84#define QT_FEATURE_shortcut -1
85#define QT_FEATURE_slog2 -1
86#ifdef __GLIBC_PREREQ
87# define QT_FEATURE_statx (__GLIBC_PREREQ(2, 28) ? 1 : -1)
88#else
89# define QT_FEATURE_statx -1
90#endif
91#define QT_FEATURE_syslog -1
92#define QT_NO_SYSTEMLOCALE
93#define QT_FEATURE_temporaryfile 1
94#define QT_FEATURE_textdate 1
95#undef QT_FEATURE_thread
96#define QT_FEATURE_thread -1
97#define QT_FEATURE_timezone -1
98#define QT_FEATURE_topleveldomain -1
99#define QT_NO_TRANSLATION
100#define QT_FEATURE_translation -1
101
102#define QT_NO_COMPRESS
103
104// rcc.pro will DEFINES+= this
105#ifndef QT_FEATURE_zstd
106#define QT_FEATURE_zstd -1
107#endif
108
109#define QT_FEATURE_commandlineparser 1
110#define QT_FEATURE_settings -1
111#define QT_FEATURE_permissions -1
112
113#define QT_NO_TEMPORARYFILE
114
115#endif // QT_BOOTSTRAPPED