diff options
Diffstat (limited to 'src/corelib/global/qconfig-bootstrapped.h')
-rw-r--r-- | src/corelib/global/qconfig-bootstrapped.h | 80 |
1 files changed, 18 insertions, 62 deletions
diff --git a/src/corelib/global/qconfig-bootstrapped.h b/src/corelib/global/qconfig-bootstrapped.h index a9a20a231c..4d80f23786 100644 --- a/src/corelib/global/qconfig-bootstrapped.h +++ b/src/corelib/global/qconfig-bootstrapped.h @@ -1,41 +1,5 @@ -/**************************************************************************** -** -** Copyright (C) 2018 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of the QtCore module of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 3 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPL3 included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 3 requirements -** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 2.0 or (at your option) the GNU General -** Public license version 3 or any later version approved by the KDE Free -** Qt Foundation. The licenses are as published by the Free Software -** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-2.0.html and -** https://www.gnu.org/licenses/gpl-3.0.html. -** -** $QT_END_LICENSE$ -** -****************************************************************************/ +// Copyright (C) 2018 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only // // W A R N I N G @@ -59,6 +23,8 @@ #ifdef QT_BOOTSTRAPPED +#include <stdlib.h> // for __GLIBC_PREREQ + #ifndef QT_NO_EXCEPTIONS #define QT_NO_EXCEPTIONS #endif @@ -66,10 +32,6 @@ #define QT_NO_USING_NAMESPACE #define QT_NO_DEPRECATED -#ifndef QT_BUILD_QMAKE -#define QT_NO_REGEXP -#endif - // Keep feature-test macros in alphabetic order by feature name: #define QT_FEATURE_alloca 1 #define QT_FEATURE_alloca_h -1 @@ -78,18 +40,20 @@ #else # define QT_FEATURE_alloca_malloc_h -1 #endif -#define QT_FEATURE_binaryjson -1 #define QT_FEATURE_cborstreamreader -1 #define QT_FEATURE_cborstreamwriter 1 #define QT_CRYPTOGRAPHICHASH_ONLY_SHA1 -#define QT_FEATURE_cxx11_random (__has_include(<random>) ? 1 : -1) #define QT_FEATURE_cxx17_filesystem -1 #define QT_NO_DATASTREAM #define QT_FEATURE_datestring 1 #define QT_FEATURE_datetimeparser -1 #define QT_FEATURE_easingcurve -1 #define QT_FEATURE_etw -1 +#if defined(__linux__) || defined(__GLIBC__) #define QT_FEATURE_getauxval (__has_include(<sys/auxv.h>) ? 1 : -1) +#else +#define QT_FEATURE_getauxval -1 +#endif #define QT_FEATURE_getentropy -1 #define QT_NO_GEOM_VARIANT #define QT_FEATURE_hijricalendar -1 @@ -98,7 +62,8 @@ #define QT_FEATURE_jalalicalendar -1 #define QT_FEATURE_journald -1 #define QT_FEATURE_futimens -1 -#define QT_FEATURE_futimes -1 +#undef QT_FEATURE_future +#define QT_FEATURE_future -1 #define QT_FEATURE_itemmodel -1 #define QT_FEATURE_library -1 #ifdef __linux__ @@ -115,40 +80,31 @@ #else # define QT_FEATURE_renameat2 -1 #endif -#define QT_FEATURE_sharedmemory -1 #define QT_FEATURE_shortcut -1 -#define QT_FEATURE_signaling_nan -1 #define QT_FEATURE_slog2 -1 -#ifdef __GLIBC_PREREQ -# define QT_FEATURE_statx (__GLIBC_PREREQ(2, 28) ? 1 : -1) -#else -# define QT_FEATURE_statx -1 -#endif #define QT_FEATURE_syslog -1 #define QT_NO_SYSTEMLOCALE -#define QT_FEATURE_systemsemaphore -1 -#define QT_FEATURE_temporaryfile 1 +#define QT_FEATURE_temporaryfile -1 #define QT_FEATURE_textdate 1 +#undef QT_FEATURE_thread #define QT_FEATURE_thread -1 #define QT_FEATURE_timezone -1 #define QT_FEATURE_topleveldomain -1 #define QT_NO_TRANSLATION #define QT_FEATURE_translation -1 +#define QT_NO_VARIANT -1 + +#define QT_NO_COMPRESS // rcc.pro will DEFINES+= this #ifndef QT_FEATURE_zstd #define QT_FEATURE_zstd -1 #endif -#ifdef QT_BUILD_QMAKE -#define QT_FEATURE_commandlineparser -1 -#define QT_NO_COMPRESS -#define QT_JSON_READONLY -#define QT_FEATURE_settings 1 -#define QT_NO_STANDARDPATHS -#else #define QT_FEATURE_commandlineparser 1 #define QT_FEATURE_settings -1 -#endif +#define QT_FEATURE_permissions -1 + +#define QT_NO_TEMPORARYFILE #endif // QT_BOOTSTRAPPED |