Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
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_cxx17_filesystem -1
47#define QT_NO_DATASTREAM
48#define QT_FEATURE_datestring 1
49#define QT_FEATURE_datetimeparser -1
50#define QT_FEATURE_easingcurve -1
51#define QT_FEATURE_etw -1
52#if defined(__linux__) || defined(__GLIBC__)
53#define QT_FEATURE_getauxval (__has_include(<sys/auxv.h>) ? 1 : -1)
54#else
55#define QT_FEATURE_getauxval -1
56#endif
57#define QT_FEATURE_getentropy -1
58#define QT_NO_GEOM_VARIANT
59#define QT_FEATURE_hijricalendar -1
60#define QT_FEATURE_icu -1
61#define QT_FEATURE_islamiccivilcalendar -1
62#define QT_FEATURE_jalalicalendar -1
63#define QT_FEATURE_journald -1
64#define QT_FEATURE_futimens -1
65#undef QT_FEATURE_future
66#define QT_FEATURE_future -1
67#define QT_FEATURE_itemmodel -1
68#define QT_FEATURE_library -1
69#ifdef __linux__
70# define QT_FEATURE_linkat 1
71#else
72# define QT_FEATURE_linkat -1
73#endif
74#define QT_FEATURE_lttng -1
75#define QT_NO_QOBJECT
76#define QT_FEATURE_process -1
77#define QT_FEATURE_regularexpression 1
78#ifdef __GLIBC_PREREQ
79# define QT_FEATURE_renameat2 (__GLIBC_PREREQ(2, 28) ? 1 : -1)
80#else
81# define QT_FEATURE_renameat2 -1
82#endif
83#define QT_FEATURE_shortcut -1
84#define QT_FEATURE_slog2 -1
85#define QT_FEATURE_syslog -1
86#define QT_NO_SYSTEMLOCALE
87#define QT_FEATURE_temporaryfile -1
88#define QT_FEATURE_textdate 1
89#undef QT_FEATURE_thread
90#define QT_FEATURE_thread -1
91#define QT_FEATURE_timezone -1
92#define QT_FEATURE_topleveldomain -1
93#define QT_NO_TRANSLATION
94#define QT_FEATURE_translation -1
95#define QT_NO_VARIANT -1
96
97#define QT_NO_COMPRESS
98
99// rcc.pro will DEFINES+= this
100#ifndef QT_FEATURE_zstd
101#define QT_FEATURE_zstd -1
102#endif
103
104#define QT_FEATURE_commandlineparser 1
105#define QT_FEATURE_settings -1
106#define QT_FEATURE_permissions -1
107
108#define QT_NO_TEMPORARYFILE
109
110#endif // QT_BOOTSTRAPPED