From 7155e4f62060c3d9f36e748135bd57776f40b4b2 Mon Sep 17 00:00:00 2001 From: Joerg Bornemann Date: Wed, 16 Jun 2021 11:18:34 +0200 Subject: Remove old configure-related files Remove the configure.json and configure.pri files that were used for the qmake-based configure. Remove the .prev_*.cmake files that were a by-product of configurejson2cmake.py. Pick-to: 6.2 Task-number: QTBUG-89536 Change-Id: Ie827562f7fd2513d59f69234d77b8b93124ea78e Reviewed-by: Alexandru Croitor --- .prev_configure.cmake | 1097 --------------- .prev_qt_cmdline.cmake | 128 -- configure.json | 1704 ------------------------ src/corelib/.prev_configure.cmake | 991 -------------- src/corelib/configure.json | 1088 --------------- src/gui/.prev_configure.cmake | 1225 ----------------- src/gui/configure.json | 1847 -------------------------- src/network/.prev_configure.cmake | 433 ------ src/network/configure.json | 484 ------- src/plugins/sqldrivers/.prev_configure.cmake | 77 -- src/plugins/sqldrivers/configure.json | 201 --- src/printsupport/configure.json | 102 -- src/sql/configure.json | 22 - src/testlib/configure.json | 34 - src/widgets/configure.json | 647 --------- src/xml/configure.json | 16 - 16 files changed, 10096 deletions(-) delete mode 100644 .prev_configure.cmake delete mode 100644 .prev_qt_cmdline.cmake delete mode 100644 configure.json delete mode 100644 src/corelib/.prev_configure.cmake delete mode 100644 src/corelib/configure.json delete mode 100644 src/gui/.prev_configure.cmake delete mode 100644 src/gui/configure.json delete mode 100644 src/network/.prev_configure.cmake delete mode 100644 src/network/configure.json delete mode 100644 src/plugins/sqldrivers/.prev_configure.cmake delete mode 100644 src/plugins/sqldrivers/configure.json delete mode 100644 src/printsupport/configure.json delete mode 100644 src/sql/configure.json delete mode 100644 src/testlib/configure.json delete mode 100644 src/widgets/configure.json delete mode 100644 src/xml/configure.json diff --git a/.prev_configure.cmake b/.prev_configure.cmake deleted file mode 100644 index c87595a83c..0000000000 --- a/.prev_configure.cmake +++ /dev/null @@ -1,1097 +0,0 @@ - - -#### Inputs - - - -#### Libraries - -qt_find_package(WrapZLIB 1.0.8 PROVIDED_TARGETS WrapZLIB::WrapZLIB MODULE_NAME global QMAKE_LIB zlib) -qt_find_package(ZSTD 1.3 PROVIDED_TARGETS ZSTD::ZSTD MODULE_NAME global QMAKE_LIB zstd) -qt_find_package(WrapDBus1 1.2 PROVIDED_TARGETS dbus-1 MODULE_NAME global QMAKE_LIB dbus) -qt_find_package(Libudev PROVIDED_TARGETS PkgConfig::Libudev MODULE_NAME global QMAKE_LIB libudev) - - -#### Tests - -# machineTuple -qt_config_compile_test_machine_tuple("machine tuple") - -# cxx14 -qt_config_compile_test(cxx14 - LABEL "C++14 support" - CODE -"#if __cplusplus > 201103L -// Compiler claims to support C++14, trust it -#else -# error __cplusplus must be > 201103L (the value of C++11) -#endif - -int main(void) -{ - /* BEGIN TEST: */ - /* END TEST: */ - return 0; -} -" - CXX_STANDARD 14 -) - -# cxx17 -qt_config_compile_test(cxx17 - LABEL "C++17 support" - CODE -"#if __cplusplus > 201402L -// Compiler claims to support C++17, trust it -#else -# error __cplusplus must be > 201402L (the value for C++14) -#endif -#include // https://bugs.llvm.org//show_bug.cgi?id=33117 -#include - -int main(void) -{ - /* BEGIN TEST: */ -std::variant v(42); -int i = std::get(v); -std::visit([](const auto &) { return 1; }, v); - /* END TEST: */ - return 0; -} -" - CXX_STANDARD 17 -) - -# cxx20 -qt_config_compile_test(cxx20 - LABEL "C++20 support" - CODE -"#if __cplusplus > 201703L -// Compiler claims to support C++20, trust it -#else -# error __cplusplus must be > 201703L (the value for C++17) -#endif - -int main(void) -{ - /* BEGIN TEST: */ - /* END TEST: */ - return 0; -} -" - CXX_STANDARD 20 -) - -# precompile_header -qt_config_compile_test(precompile_header - LABEL "precompiled header support" - CODE -"#ifndef HEADER_H -#error no go -#endif - -int main(void) -{ - /* BEGIN TEST: */ - /* END TEST: */ - return 0; -} -"# FIXME: qmake: ['CONFIG += precompile_header', 'PRECOMPILED_DIR = .pch', 'PRECOMPILED_HEADER = header.h'] -) - -qt_config_compiler_supports_flag_test(use_bfd_linker - LABEL "bfd linker" - FLAG "-fuse-ld=bfd" -) - -qt_config_compiler_supports_flag_test(use_gold_linker - LABEL "gold linker" - FLAG "-fuse-ld=gold" -) - -qt_config_compiler_supports_flag_test(use_lld_linker - LABEL "lld linker" - FLAG "-fuse-ld=lld" -) - -qt_config_compiler_supports_flag_test(optimize_debug - LABEL "-Og support" - FLAG "-Og" -) - -qt_config_linker_supports_flag_test(enable_new_dtags - LABEL "new dtags support" - FLAG "--enable-new-dtags" -) - -qt_config_linker_supports_flag_test(gdb_index - LABEL "gdb index support" - FLAG "--gdb-index" -) - -# reduce_relocations -qt_config_compile_test(reduce_relocations - LABEL "-Bsymbolic-functions support" - CODE -"#if !(defined(__i386) || defined(__i386__) || defined(__x86_64) || defined(__x86_64__) || defined(__amd64)) || defined(__sun) -# error Symbolic function binding on this architecture may be broken, disabling it (see QTBUG-36129). -#endif - -int main(void) -{ - /* BEGIN TEST: */ - /* END TEST: */ - return 0; -} -"# FIXME: qmake: ['TEMPLATE = lib', 'CONFIG += dll bsymbolic_functions', 'isEmpty(QMAKE_LFLAGS_BSYMBOLIC_FUNC): error("Nope")'] -) - - -qt_config_compile_test("separate_debug_info" - LABEL "separate debug information support" - PROJECT_PATH "${CMAKE_CURRENT_SOURCE_DIR}/config.tests/separate_debug_info" -) -# signaling_nan -qt_config_compile_test(signaling_nan - LABEL "Signaling NaN for doubles" - CODE -"#include - -int main(void) -{ - /* BEGIN TEST: */ -using B = std::numeric_limits; -static_assert(B::has_signaling_NaN, \"System lacks signaling NaN\"); - /* END TEST: */ - return 0; -} -") - -# sse2 -qt_config_compile_test_x86simd(sse2 "SSE2 instructions") - -# sse3 -qt_config_compile_test_x86simd(sse3 "SSE3 instructions") - -# ssse3 -qt_config_compile_test_x86simd(ssse3 "SSSE3 instructions") - -# sse4_1 -qt_config_compile_test_x86simd(sse4_1 "SSE4.1 instructions") - -# sse4_2 -qt_config_compile_test_x86simd(sse4_2 "SSE4.2 instructions") - -# aesni -qt_config_compile_test_x86simd(aesni "AES new instructions") - -# f16c -qt_config_compile_test_x86simd(f16c "F16C instructions") - -# rdrnd -qt_config_compile_test_x86simd(rdrnd "RDRAND instruction") - -# rdseed -qt_config_compile_test_x86simd(rdseed "RDSEED instruction") - -# shani -qt_config_compile_test_x86simd(shani "SHA new instructions") - -# avx -qt_config_compile_test_x86simd(avx "AVX instructions") - -# avx2 -qt_config_compile_test_x86simd(avx2 "AVX2 instructions") - -# avx512f -qt_config_compile_test_x86simd(avx512f "AVX512 F instructions") - -# avx512er -qt_config_compile_test_x86simd(avx512er "AVX512 ER instructions") - -# avx512cd -qt_config_compile_test_x86simd(avx512cd "AVX512 CD instructions") - -# avx512pf -qt_config_compile_test_x86simd(avx512pf "AVX512 PF instructions") - -# avx512dq -qt_config_compile_test_x86simd(avx512dq "AVX512 DQ instructions") - -# avx512bw -qt_config_compile_test_x86simd(avx512bw "AVX512 BW instructions") - -# avx512vl -qt_config_compile_test_x86simd(avx512vl "AVX512 VL instructions") - -# avx512ifma -qt_config_compile_test_x86simd(avx512ifma "AVX512 IFMA instructions") - -# avx512vbmi -qt_config_compile_test_x86simd(avx512vbmi "AVX512 VBMI instructions") - -# posix_fallocate -qt_config_compile_test(posix_fallocate - LABEL "POSIX fallocate()" - CODE -"#include -#include - -int main(void) -{ - /* BEGIN TEST: */ -(void) posix_fallocate(0, 0, 0); - /* END TEST: */ - return 0; -} -") - -# alloca_stdlib_h -qt_config_compile_test(alloca_stdlib_h - LABEL "alloca() in stdlib.h" - CODE -"#include - -int main(void) -{ - /* BEGIN TEST: */ -alloca(1); - /* END TEST: */ - return 0; -} -") - -# alloca_h -qt_config_compile_test(alloca_h - LABEL "alloca() in alloca.h" - CODE -"#include -#ifdef __QNXNTO__ -// extra include needed in QNX7 to define NULL for the alloca() macro -# include -#endif - -int main(void) -{ - /* BEGIN TEST: */ -alloca(1); - /* END TEST: */ - return 0; -} -") - -# alloca_malloc_h -qt_config_compile_test(alloca_malloc_h - LABEL "alloca() in malloc.h" - CODE -"#include - -int main(void) -{ - /* BEGIN TEST: */ -alloca(1); - /* END TEST: */ - return 0; -} -") - -# stack_protector -qt_config_compile_test(stack_protector - LABEL "stack protection" - COMPILE_OPTIONS -fstack-protector-strong - CODE -"#ifdef __QNXNTO__ -# include -# if _NTO_VERSION < 700 -# error stack-protector not used (by default) before QNX 7.0.0. -# endif -#endif - -int main(void) -{ - /* BEGIN TEST: */ - /* END TEST: */ - return 0; -} -") - -# intelcet -qt_config_compile_test(intelcet - LABEL "Support for Intel Control-flow Enforcement Technology" - CODE -"int main(void) -{ - /* BEGIN TEST: */ -#if !defined(__CET__) -# error Intel CET not available -#endif - /* END TEST: */ - return 0; -} -") - - - -#### Features - -# This belongs into gui, but the license check needs it here already. -qt_feature("android-style-assets" PRIVATE - LABEL "Android Style Assets" - CONDITION ANDROID -) -qt_feature("shared" PUBLIC - LABEL "Building shared libraries" - AUTODETECT NOT UIKIT AND NOT WASM - CONDITION BUILD_SHARED_LIBS -) -qt_feature_definition("shared" "QT_STATIC" NEGATE PREREQUISITE "!defined(QT_SHARED) && !defined(QT_STATIC)") -qt_feature_config("shared" QMAKE_PUBLIC_QT_CONFIG) -qt_feature_config("shared" QMAKE_PUBLIC_CONFIG) -qt_feature("static" PUBLIC - CONDITION NOT QT_FEATURE_shared -) -qt_feature_config("static" QMAKE_PUBLIC_QT_CONFIG) -qt_feature_config("static" QMAKE_PUBLIC_CONFIG) -qt_feature("cross_compile" PUBLIC - LABEL "Cross compiling" - CONDITION CMAKE_CROSSCOMPILING -) -qt_feature_config("cross_compile" QMAKE_PUBLIC_CONFIG) -qt_feature_config("cross_compile" QMAKE_PRIVATE_CONFIG) -qt_feature("gc_binaries" PRIVATE - CONDITION NOT QT_FEATURE_shared -) -qt_feature("use_bfd_linker" - LABEL "bfd" - AUTODETECT false - CONDITION NOT WIN32 AND NOT INTEGRITY AND NOT WASM AND TEST_use_bfd_linker - ENABLE INPUT_linker STREQUAL 'bfd' - DISABLE INPUT_linker STREQUAL 'gold' OR INPUT_linker STREQUAL 'lld' -) -qt_feature_config("use_bfd_linker" QMAKE_PRIVATE_CONFIG) -qt_feature("use_gold_linker_alias" - AUTODETECT false - CONDITION NOT WIN32 AND NOT INTEGRITY AND NOT WASM AND TEST_use_gold_linker -) -qt_feature("use_gold_linker" - LABEL "gold" - AUTODETECT false - CONDITION NOT WIN32 AND NOT INTEGRITY AND NOT WASM AND NOT rtems AND TEST_use_gold_linker - ENABLE INPUT_linker STREQUAL 'gold' OR QT_FEATURE_use_gold_linker_alias - DISABLE INPUT_linker STREQUAL 'bfd' OR INPUT_linker STREQUAL 'lld' -) -qt_feature_config("use_gold_linker" QMAKE_PRIVATE_CONFIG) -qt_feature("use_lld_linker" - LABEL "lld" - AUTODETECT false - CONDITION NOT WIN32 AND NOT INTEGRITY AND NOT WASM AND TEST_use_lld_linker - ENABLE INPUT_linker STREQUAL 'lld' - DISABLE INPUT_linker STREQUAL 'bfd' OR INPUT_linker STREQUAL 'gold' -) -qt_feature_config("use_lld_linker" QMAKE_PRIVATE_CONFIG) -qt_feature("optimize_debug" - LABEL "Optimize debug build" - AUTODETECT NOT QT_FEATURE_developer_build - CONDITION NOT MSVC AND NOT CLANG AND ( QT_FEATURE_debug OR QT_FEATURE_debug_and_release ) AND TEST_optimize_debug -) -qt_feature_config("optimize_debug" QMAKE_PRIVATE_CONFIG) -qt_feature("optimize_size" - LABEL "Optimize release build for size" - AUTODETECT OFF - CONDITION NOT QT_FEATURE_debug OR QT_FEATURE_debug_and_release -) -qt_feature_config("optimize_size" QMAKE_PRIVATE_CONFIG) -qt_feature("pkg-config" PUBLIC - LABEL "Using pkg-config" - AUTODETECT NOT APPLE AND NOT WIN32 AND NOT ANDROID - CONDITION PKG_CONFIG_FOUND -) -qt_feature_config("pkg-config" QMAKE_PUBLIC_QT_CONFIG - NEGATE) -qt_feature("developer-build" - LABEL "Developer build" - AUTODETECT OFF -) -qt_feature("private_tests" PRIVATE - LABEL "Developer build: private_tests" - CONDITION QT_FEATURE_developer_build -) -qt_feature_definition("developer-build" "QT_BUILD_INTERNAL") -qt_feature_config("developer-build" QMAKE_PUBLIC_QT_CONFIG - NAME "private_tests" -) -qt_feature("debug" PRIVATE - LABEL "Build for debugging" - AUTODETECT ON - CONDITION CMAKE_BUILD_TYPE STREQUAL Debug OR Debug IN_LIST CMAKE_CONFIGURATION_TYPES -) -qt_feature("debug_and_release" PUBLIC - LABEL "Compile libs in debug and release mode" - AUTODETECT 1 - CONDITION QT_GENERATOR_IS_MULTI_CONFIG -) -qt_feature_config("debug_and_release" QMAKE_PUBLIC_QT_CONFIG) -qt_feature("force_debug_info" - LABEL "Add debug info in release mode" - AUTODETECT CMAKE_BUILD_TYPE STREQUAL RelWithDebInfo OR RelWithDebInfo IN_LIST CMAKE_CONFIGURATION_TYPES -) -qt_feature_config("force_debug_info" QMAKE_PRIVATE_CONFIG) -qt_feature("separate_debug_info" PUBLIC - LABEL "Split off debug information" - AUTODETECT OFF - CONDITION ( QT_FEATURE_shared ) AND ( QT_FEATURE_debug OR QT_FEATURE_debug_and_release OR QT_FEATURE_force_debug_info ) AND ( APPLE OR TEST_separate_debug_info ) -) -qt_feature_config("separate_debug_info" QMAKE_PUBLIC_QT_CONFIG) -qt_feature("appstore-compliant" PUBLIC - LABEL "App store compliance" - PURPOSE "Disables code that is not allowed in platform app stores" - AUTODETECT UIKIT OR ANDROID -) -qt_feature("simulator_and_device" PUBLIC - LABEL "Build for both simulator and device" - CONDITION UIKIT AND NOT QT_UIKIT_SDK -) -qt_feature_config("simulator_and_device" QMAKE_PUBLIC_QT_CONFIG) -qt_feature("rpath" PUBLIC - LABEL "Build with RPATH" - AUTODETECT 1 - CONDITION BUILD_SHARED_LIBS AND UNIX AND NOT WIN32 AND NOT ANDROID -) -qt_feature_config("rpath" QMAKE_PUBLIC_QT_CONFIG) -qt_feature("force_asserts" PUBLIC - LABEL "Force assertions" - AUTODETECT OFF -) -qt_feature("headersclean" - LABEL "Check for clean headers" - AUTODETECT OFF - CONDITION NOT WASM -) -qt_feature_config("headersclean" QMAKE_PRIVATE_CONFIG) -qt_feature("framework" PUBLIC - LABEL "Build Apple Frameworks" - CONDITION APPLE AND BUILD_SHARED_LIBS AND NOT CMAKE_BUILD_TYPE STREQUAL Debug -) -qt_feature_definition("framework" "QT_MAC_FRAMEWORK_BUILD") -qt_feature_config("framework" QMAKE_PUBLIC_QT_CONFIG - NAME "qt_framework" -) -qt_feature_config("framework" QMAKE_PUBLIC_CONFIG - NAME "qt_framework" -) -qt_feature("largefile" - LABEL "Large file support" - CONDITION NOT ANDROID AND NOT INTEGRITY AND NOT rtems -) -qt_feature_definition("largefile" "QT_LARGEFILE_SUPPORT" VALUE "64") -qt_feature_config("largefile" QMAKE_PRIVATE_CONFIG) -qt_feature("testcocoon" - LABEL "Testcocoon support" - AUTODETECT OFF -) -qt_feature_config("testcocoon" QMAKE_PUBLIC_CONFIG) -qt_feature("sanitize_address" - LABEL "Addresses" - AUTODETECT OFF -) -qt_feature_config("sanitize_address" QMAKE_PUBLIC_CONFIG) -qt_feature("sanitize_thread" - LABEL "Threads" - AUTODETECT OFF -) -qt_feature_config("sanitize_thread" QMAKE_PUBLIC_CONFIG) -qt_feature("sanitize_memory" - LABEL "Memory" - AUTODETECT OFF -) -qt_feature_config("sanitize_memory" QMAKE_PUBLIC_CONFIG) -qt_feature("sanitize_fuzzer_no_link" - LABEL "Fuzzer (instrumentation only)" - PURPOSE "Adds instrumentation for fuzzing to the binaries but links to the usual main function instead of a fuzzer's." - AUTODETECT OFF -) -qt_feature_config("sanitize_fuzzer_no_link" QMAKE_PUBLIC_CONFIG) -qt_feature("sanitize_undefined" - LABEL "Undefined" - AUTODETECT OFF -) -qt_feature_config("sanitize_undefined" QMAKE_PUBLIC_CONFIG) -qt_feature("sanitizer" - LABEL "Sanitizers" - CONDITION QT_FEATURE_sanitize_address OR QT_FEATURE_sanitize_thread OR QT_FEATURE_sanitize_memory OR QT_FEATURE_sanitize_fuzzer_no_link OR QT_FEATURE_sanitize_undefined -) -qt_feature_config("sanitizer" QMAKE_PUBLIC_CONFIG) -qt_feature("coverage_trace_pc_guard" - LABEL "trace-pc-guard" - AUTODETECT OFF -) -qt_feature_config("coverage_trace_pc_guard" QMAKE_PUBLIC_CONFIG) -qt_feature("coverage_source_based" - LABEL "source-based" - AUTODETECT OFF -) -qt_feature_config("coverage_source_based" QMAKE_PUBLIC_CONFIG) -qt_feature("coverage" - LABEL "Code Coverage Instrumentation" - CONDITION QT_FEATURE_coverage_trace_pc_guard OR QT_FEATURE_coverage_source_based -) -qt_feature_config("coverage" QMAKE_PUBLIC_CONFIG) -qt_feature("plugin-manifests" - LABEL "Embed manifests in plugins" - AUTODETECT OFF - EMIT_IF WIN32 -) -qt_feature_config("plugin-manifests" QMAKE_PUBLIC_CONFIG - NEGATE - NAME "no_plugin_manifest" -) -qt_feature("c++11" PUBLIC - LABEL "C++11" -) -qt_feature_config("c++11" QMAKE_PUBLIC_QT_CONFIG) -qt_feature("c++14" PUBLIC - LABEL "C++14" - CONDITION QT_FEATURE_cxx11 AND TEST_cxx14 -) -qt_feature_config("c++14" QMAKE_PUBLIC_QT_CONFIG) -qt_feature("c++17" PUBLIC - LABEL "C++17" - CONDITION QT_FEATURE_cxx14 AND TEST_cxx17 -) -qt_feature_config("c++17" QMAKE_PUBLIC_QT_CONFIG) -qt_feature("c++1z" PUBLIC - LABEL "C++17" - CONDITION QT_FEATURE_cxx17 -) -qt_feature_config("c++1z" QMAKE_PUBLIC_QT_CONFIG) -qt_feature("c++20" PUBLIC - LABEL "C++20" - AUTODETECT OFF - CONDITION QT_FEATURE_cxx17 AND TEST_cxx20 -) -qt_feature_config("c++20" QMAKE_PUBLIC_QT_CONFIG) -qt_feature("c++2a" PUBLIC - LABEL "C++20" - CONDITION QT_FEATURE_cxx20 -) -qt_feature_config("c++2a" QMAKE_PUBLIC_QT_CONFIG) -qt_feature("c89" - LABEL "C89" -) -qt_feature("c99" PUBLIC - LABEL "C99" - CONDITION c_std_99 IN_LIST CMAKE_C_COMPILE_FEATURES -) -qt_feature("c11" PUBLIC - LABEL "C11" - CONDITION QT_FEATURE_c99 AND c_std_11 IN_LIST CMAKE_C_COMPILE_FEATURES -) -qt_feature("precompile_header" - LABEL "Using precompiled headers" - CONDITION BUILD_WITH_PCH -) -qt_feature_config("precompile_header" QMAKE_PRIVATE_CONFIG) -set(__qt_ltcg_detected FALSE) -if(CMAKE_INTERPROCEDURAL_OPTIMIZATION) - set(__qt_ltcg_detected TRUE) -else() - foreach(config ${CMAKE_BUILD_TYPE} ${CMAKE_CONFIGURATION_TYPES}) - string(TOUPPER "${config}" __qt_uc_config) - if(CMAKE_INTERPROCEDURAL_OPTIMIZATION_${__qt_uc_config}) - set(__qt_ltcg_detected TRUE) - break() - endif() - endforeach() - unset(__qt_uc_config) -endif() -qt_feature("ltcg" - LABEL "Using LTCG" - AUTODETECT ON - CONDITION __qt_ltcg_detected -) -qt_feature_config("ltcg" QMAKE_PRIVATE_CONFIG) -qt_feature("enable_new_dtags" - LABEL "Using new DTAGS" - CONDITION LINUX AND TEST_enable_new_dtags -) -qt_feature_config("enable_new_dtags" QMAKE_PRIVATE_CONFIG) -qt_feature("enable_gdb_index" - LABEL "Generating GDB index" - AUTODETECT QT_FEATURE_developer_build - CONDITION GCC AND NOT CLANG AND ( QT_FEATURE_debug OR QT_FEATURE_force_debug_info OR QT_FEATURE_debug_and_release ) AND TEST_gdb_index -) -qt_feature_config("enable_gdb_index" QMAKE_PRIVATE_CONFIG) -qt_feature("reduce_exports" PRIVATE - LABEL "Reduce amount of exported symbols" - CONDITION NOT MSVC -) -qt_feature_definition("reduce_exports" "QT_VISIBILITY_AVAILABLE") -qt_feature_config("reduce_exports" QMAKE_PUBLIC_QT_CONFIG) -qt_feature("reduce_relocations" PRIVATE - LABEL "Reduce amount of relocations" - CONDITION NOT WIN32 AND TEST_reduce_relocations -) -qt_feature_definition("reduce_relocations" "QT_REDUCE_RELOCATIONS") -qt_feature_config("reduce_relocations" QMAKE_PUBLIC_QT_CONFIG) -qt_feature("signaling_nan" PUBLIC - LABEL "Signaling NaN" - CONDITION TEST_signaling_nan -) -qt_feature("sse2" PRIVATE - LABEL "SSE2" - CONDITION ( ( TEST_architecture_arch STREQUAL i386 ) OR ( TEST_architecture_arch STREQUAL x86_64 ) ) AND TEST_subarch_sse2 -) -qt_feature_definition("sse2" "QT_COMPILER_SUPPORTS_SSE2" VALUE "1") -qt_feature_config("sse2" QMAKE_PRIVATE_CONFIG) -qt_feature("sse3" PRIVATE - LABEL "SSE3" - CONDITION QT_FEATURE_sse2 AND TEST_subarch_sse3 -) -qt_feature_definition("sse3" "QT_COMPILER_SUPPORTS_SSE3" VALUE "1") -qt_feature_config("sse3" QMAKE_PRIVATE_CONFIG) -qt_feature("ssse3" PRIVATE - LABEL "SSSE3" - CONDITION QT_FEATURE_sse3 AND TEST_subarch_ssse3 -) -qt_feature_definition("ssse3" "QT_COMPILER_SUPPORTS_SSSE3" VALUE "1") -qt_feature_config("ssse3" QMAKE_PRIVATE_CONFIG) -qt_feature("sse4_1" PRIVATE - LABEL "SSE4.1" - CONDITION QT_FEATURE_ssse3 AND TEST_subarch_sse4_1 -) -qt_feature_definition("sse4_1" "QT_COMPILER_SUPPORTS_SSE4_1" VALUE "1") -qt_feature_config("sse4_1" QMAKE_PRIVATE_CONFIG) -qt_feature("sse4_2" PRIVATE - LABEL "SSE4.2" - CONDITION QT_FEATURE_sse4_1 AND TEST_subarch_sse4_2 -) -qt_feature_definition("sse4_2" "QT_COMPILER_SUPPORTS_SSE4_2" VALUE "1") -qt_feature_config("sse4_2" QMAKE_PRIVATE_CONFIG) -qt_feature("avx" PRIVATE - LABEL "AVX" - CONDITION QT_FEATURE_sse4_2 AND TEST_subarch_avx AND ( NOT ANDROID OR NOT ( TEST_architecture_arch STREQUAL x86_64 ) ) -) -qt_feature_definition("avx" "QT_COMPILER_SUPPORTS_AVX" VALUE "1") -qt_feature_config("avx" QMAKE_PRIVATE_CONFIG) -qt_feature("f16c" PRIVATE - LABEL "F16C" - CONDITION QT_FEATURE_avx AND TEST_subarch_f16c -) -qt_feature_definition("f16c" "QT_COMPILER_SUPPORTS_F16C" VALUE "1") -qt_feature_config("f16c" QMAKE_PRIVATE_CONFIG) -qt_feature("avx2" PRIVATE - LABEL "AVX2" - CONDITION QT_FEATURE_avx AND TEST_subarch_avx2 AND ( NOT ANDROID OR NOT ( TEST_architecture_arch STREQUAL x86_64 ) ) -) -qt_feature_definition("avx2" "QT_COMPILER_SUPPORTS_AVX2" VALUE "1") -qt_feature_config("avx2" QMAKE_PRIVATE_CONFIG) -qt_feature("avx512f" PRIVATE - LABEL "F" - CONDITION QT_FEATURE_avx2 AND TEST_subarch_avx512f -) -qt_feature_definition("avx512f" "QT_COMPILER_SUPPORTS_AVX512F" VALUE "1") -qt_feature_config("avx512f" QMAKE_PRIVATE_CONFIG) -qt_feature("avx512er" PRIVATE - LABEL "ER" - CONDITION QT_FEATURE_avx512f AND TEST_subarch_avx512er -) -qt_feature_definition("avx512er" "QT_COMPILER_SUPPORTS_AVX512ER" VALUE "1") -qt_feature_config("avx512er" QMAKE_PRIVATE_CONFIG) -qt_feature("avx512cd" PRIVATE - LABEL "CD" - CONDITION QT_FEATURE_avx512f AND TEST_subarch_avx512cd -) -qt_feature_definition("avx512cd" "QT_COMPILER_SUPPORTS_AVX512CD" VALUE "1") -qt_feature_config("avx512cd" QMAKE_PRIVATE_CONFIG) -qt_feature("avx512pf" PRIVATE - LABEL "PF" - CONDITION QT_FEATURE_avx512f AND TEST_subarch_avx512pf -) -qt_feature_definition("avx512pf" "QT_COMPILER_SUPPORTS_AVX512PF" VALUE "1") -qt_feature_config("avx512pf" QMAKE_PRIVATE_CONFIG) -qt_feature("avx512dq" PRIVATE - LABEL "DQ" - CONDITION QT_FEATURE_avx512f AND TEST_subarch_avx512dq -) -qt_feature_definition("avx512dq" "QT_COMPILER_SUPPORTS_AVX512DQ" VALUE "1") -qt_feature_config("avx512dq" QMAKE_PRIVATE_CONFIG) -qt_feature("avx512bw" PRIVATE - LABEL "BW" - CONDITION QT_FEATURE_avx512f AND TEST_subarch_avx512bw -) -qt_feature_definition("avx512bw" "QT_COMPILER_SUPPORTS_AVX512BW" VALUE "1") -qt_feature_config("avx512bw" QMAKE_PRIVATE_CONFIG) -qt_feature("avx512vl" PRIVATE - LABEL "VL" - CONDITION QT_FEATURE_avx512f AND TEST_subarch_avx512vl -) -qt_feature_definition("avx512vl" "QT_COMPILER_SUPPORTS_AVX512VL" VALUE "1") -qt_feature_config("avx512vl" QMAKE_PRIVATE_CONFIG) -qt_feature("avx512ifma" PRIVATE - LABEL "IFMA" - CONDITION QT_FEATURE_avx512f AND TEST_subarch_avx512ifma -) -qt_feature_definition("avx512ifma" "QT_COMPILER_SUPPORTS_AVX512IFMA" VALUE "1") -qt_feature_config("avx512ifma" QMAKE_PRIVATE_CONFIG) -qt_feature("avx512vbmi" PRIVATE - LABEL "VBMI" - CONDITION QT_FEATURE_avx512f AND TEST_subarch_avx512vbmi -) -qt_feature_definition("avx512vbmi" "QT_COMPILER_SUPPORTS_AVX512VBMI" VALUE "1") -qt_feature_config("avx512vbmi" QMAKE_PRIVATE_CONFIG) -qt_feature("aesni" PRIVATE - LABEL "AES" - CONDITION QT_FEATURE_sse2 AND TEST_subarch_aesni -) -qt_feature_definition("aesni" "QT_COMPILER_SUPPORTS_AES" VALUE "1") -qt_feature_config("aesni" QMAKE_PRIVATE_CONFIG) -qt_feature("rdrnd" PRIVATE - LABEL "RDRAND" - CONDITION TEST_subarch_rdrnd -) -qt_feature_definition("rdrnd" "QT_COMPILER_SUPPORTS_RDRND" VALUE "1") -qt_feature_config("rdrnd" QMAKE_PRIVATE_CONFIG) -qt_feature("rdseed" PRIVATE - LABEL "RDSEED" - CONDITION TEST_subarch_rdseed -) -qt_feature_definition("rdseed" "QT_COMPILER_SUPPORTS_RDSEED" VALUE "1") -qt_feature_config("rdseed" QMAKE_PRIVATE_CONFIG) -qt_feature("shani" PRIVATE - LABEL "SHA" - CONDITION QT_FEATURE_sse2 AND TEST_subarch_shani -) -qt_feature_definition("shani" "QT_COMPILER_SUPPORTS_SHA" VALUE "1") -qt_feature_config("shani" QMAKE_PRIVATE_CONFIG) -qt_feature("simdAlways" - LABEL "Intrinsics without compiler architecture option" - CONDITION ( ( ( TEST_architecture_arch STREQUAL i386 ) OR ( TEST_architecture_arch STREQUAL x86_64 ) ) AND ON ) OR ( TEST_architecture_arch STREQUAL arm64 ) -) -qt_feature_definition("simdAlways" "QT_COMPILER_SUPPORTS_SIMD_ALWAYS" VALUE "1") -qt_feature_config("simdAlways" QMAKE_PRIVATE_CONFIG) -qt_feature("mips_dsp" PRIVATE - LABEL "DSP" - CONDITION ( TEST_architecture_arch STREQUAL mips ) AND TEST_arch_${TEST_architecture_arch}_subarch_dsp -) -qt_feature_definition("mips_dsp" "QT_COMPILER_SUPPORTS_MIPS_DSP" VALUE "1") -qt_feature_config("mips_dsp" QMAKE_PRIVATE_CONFIG) -qt_feature("mips_dspr2" PRIVATE - LABEL "DSPr2" - CONDITION ( TEST_architecture_arch STREQUAL mips ) AND TEST_arch_${TEST_architecture_arch}_subarch_dspr2 -) -qt_feature_definition("mips_dspr2" "QT_COMPILER_SUPPORTS_MIPS_DSPR2" VALUE "1") -qt_feature_config("mips_dspr2" QMAKE_PRIVATE_CONFIG) -qt_feature("neon" PRIVATE - LABEL "NEON" - CONDITION ( ( TEST_architecture_arch STREQUAL arm ) OR ( TEST_architecture_arch STREQUAL arm64 ) ) AND TEST_arch_${TEST_architecture_arch}_subarch_neon -) -qt_feature_definition("neon" "QT_COMPILER_SUPPORTS_NEON" VALUE "1") -qt_feature_config("neon" QMAKE_PRIVATE_CONFIG) -qt_feature("arm_crc32" PRIVATE - LABEL "CRC32" - CONDITION ( ( TEST_architecture_arch STREQUAL arm ) OR ( TEST_architecture_arch STREQUAL arm64 ) ) AND TEST_arch_${TEST_architecture_arch}_subarch_crc32 -) -qt_feature_definition("arm_crc32" "QT_COMPILER_SUPPORTS_CRC32" VALUE "1") -qt_feature_config("arm_crc32" QMAKE_PRIVATE_CONFIG) -qt_feature("arm_crypto" PRIVATE - LABEL "AES" - CONDITION ( ( TEST_architecture_arch STREQUAL arm ) OR ( TEST_architecture_arch STREQUAL arm64 ) ) AND TEST_arch_${TEST_architecture_arch}_subarch_crypto -) -qt_feature_definition("arm_crypto" "QT_COMPILER_SUPPORTS_AES" VALUE "1") -qt_feature_config("arm_crypto" QMAKE_PRIVATE_CONFIG) -qt_feature("posix_fallocate" PRIVATE - LABEL "POSIX fallocate()" - CONDITION TEST_posix_fallocate -) -qt_feature("alloca_h" PRIVATE - LABEL "alloca.h" - CONDITION TEST_alloca_h -) -qt_feature("alloca_malloc_h" PRIVATE - LABEL "alloca() in malloc.h" - CONDITION NOT QT_FEATURE_alloca_h AND TEST_alloca_malloc_h -) -qt_feature("alloca" PRIVATE - LABEL "alloca()" - CONDITION QT_FEATURE_alloca_h OR QT_FEATURE_alloca_malloc_h OR TEST_alloca_stdlib_h -) -qt_feature("stack-protector-strong" PRIVATE - LABEL "stack protection" - CONDITION QNX AND TEST_stack_protector -) -qt_feature("system-zlib" PRIVATE - LABEL "Using system zlib" - CONDITION WrapZLIB_FOUND -) -qt_feature("zstd" PRIVATE - LABEL "Zstandard support" - CONDITION ZSTD_FOUND -) -qt_feature("thread" PUBLIC - SECTION "Kernel" - LABEL "Thread support" - PURPOSE "Provides QThread and related classes." - AUTODETECT NOT WASM -) -qt_feature("future" PUBLIC - SECTION "Kernel" - LABEL "QFuture" - PURPOSE "Provides QFuture and related classes." - CONDITION QT_FEATURE_thread -) -qt_feature("concurrent" PUBLIC - SECTION "Kernel" - LABEL "Qt Concurrent" - PURPOSE "Provides a high-level multi-threading API." - CONDITION QT_FEATURE_future -) -qt_feature_definition("concurrent" "QT_NO_CONCURRENT" NEGATE VALUE "1") -qt_feature("dbus" PUBLIC PRIVATE - LABEL "Qt D-Bus" - AUTODETECT NOT UIKIT AND NOT ANDROID - CONDITION QT_FEATURE_thread AND NOT WASM -) -qt_feature_definition("dbus" "QT_NO_DBUS" NEGATE VALUE "1") -qt_feature("dbus-linked" PRIVATE - LABEL "Qt D-Bus directly linked to libdbus" - CONDITION QT_FEATURE_dbus AND DBus1_FOUND - ENABLE INPUT_dbus STREQUAL 'linked' - DISABLE INPUT_dbus STREQUAL 'runtime' -) -qt_feature("qreal" - LABEL "Type for qreal" - CONDITION DEFINED QT_COORD_TYPE AND NOT QT_COORD_TYPE STREQUAL "double" -) -qt_feature_definition("qreal" "QT_COORD_TYPE" VALUE "${QT_COORD_TYPE}") -qt_feature_definition("qreal" "QT_COORD_TYPE_STRING" VALUE "\"${QT_COORD_TYPE}\"") -qt_feature("gui" PRIVATE - LABEL "Qt Gui" -) -qt_feature_config("gui" QMAKE_PUBLIC_QT_CONFIG - NEGATE) -qt_feature("network" PRIVATE - LABEL "Qt Network" -) -qt_feature("printsupport" PRIVATE - LABEL "Qt PrintSupport" - CONDITION QT_FEATURE_widgets -) -qt_feature("sql" PRIVATE - LABEL "Qt Sql" - CONDITION QT_FEATURE_thread AND NOT WASM -) -qt_feature("testlib" PRIVATE - LABEL "Qt Testlib" -) -qt_feature("widgets" PRIVATE - LABEL "Qt Widgets" - AUTODETECT NOT TVOS AND NOT WATCHOS - CONDITION QT_FEATURE_gui -) -qt_feature_definition("widgets" "QT_NO_WIDGETS" NEGATE) -qt_feature_config("widgets" QMAKE_PUBLIC_QT_CONFIG - NEGATE) -qt_feature("xml" PRIVATE - LABEL "Qt Xml" -) -qt_feature("libudev" PRIVATE - LABEL "udev" - CONDITION Libudev_FOUND -) -qt_feature("ccache" - LABEL "Using ccache" - AUTODETECT 1 - CONDITION QT_USE_CCACHE -) -qt_feature_config("ccache" QMAKE_PRIVATE_CONFIG) -qt_feature("static_runtime" - LABEL "Statically link the C/C++ runtime library" - AUTODETECT OFF - CONDITION NOT QT_FEATURE_shared - EMIT_IF WIN32 -) -qt_feature_config("static_runtime" QMAKE_PUBLIC_CONFIG) -qt_feature_config("static_runtime" QMAKE_PUBLIC_QT_CONFIG) -qt_feature("dlopen" PRIVATE - LABEL "dlopen()" - CONDITION UNIX -) -qt_feature("relocatable" PRIVATE - LABEL "Relocatable" - PURPOSE "Enable the Qt installation to be relocated." - AUTODETECT QT_FEATURE_shared - CONDITION QT_FEATURE_dlopen OR WIN32 OR NOT QT_FEATURE_shared -) -qt_feature("intelcet" PRIVATE - LABEL "Using Intel CET" - CONDITION TEST_intelcet -) -qt_configure_add_summary_build_type_and_config() -qt_configure_add_summary_section(NAME "Build options") -qt_configure_add_summary_build_mode(Mode) -qt_configure_add_summary_entry( - ARGS "optimize_debug" - CONDITION NOT MSVC AND NOT CLANG AND ( QT_FEATURE_debug OR QT_FEATURE_debug_and_release ) -) -qt_configure_add_summary_entry( - ARGS "optimize_size" - CONDITION NOT QT_FEATURE_debug OR QT_FEATURE_debug_and_release -) -qt_configure_add_summary_entry(ARGS "shared") -qt_configure_add_summary_entry( - TYPE "firstAvailableFeature" - ARGS "c11 c99 c89" - MESSAGE "Using C standard" -) -qt_configure_add_summary_entry( - TYPE "firstAvailableFeature" - ARGS "c++20 c++17 c++14 c++11" - MESSAGE "Using C++ standard" -) -qt_configure_add_summary_entry( - ARGS "ccache" - CONDITION UNIX -) -qt_configure_add_summary_entry( - TYPE "firstAvailableFeature" - ARGS "use_bfd_linker use_gold_linker use_lld_linker" - MESSAGE "Linker" - CONDITION QT_FEATURE_use_bfd_linker OR QT_FEATURE_use_gold_linker OR QT_FEATURE_use_lld_linker -) -qt_configure_add_summary_entry( - ARGS "enable_new_dtags" - CONDITION LINUX -) -qt_configure_add_summary_entry( - ARGS "enable_gdb_index" - CONDITION GCC AND NOT CLANG AND ( QT_FEATURE_debug OR QT_FEATURE_force_debug_info OR QT_FEATURE_debug_and_release ) -) -qt_configure_add_summary_entry(ARGS "relocatable") -qt_configure_add_summary_entry(ARGS "precompile_header") -qt_configure_add_summary_entry(ARGS "ltcg") -qt_configure_add_summary_section(NAME "Target compiler supports") -qt_configure_add_summary_entry( - TYPE "featureList" - ARGS "sse2 sse3 ssse3 sse4_1 sse4_2" - MESSAGE "SSE" - CONDITION ( ( TEST_architecture_arch STREQUAL i386 ) OR ( TEST_architecture_arch STREQUAL x86_64 ) ) -) -qt_configure_add_summary_entry( - TYPE "featureList" - ARGS "avx avx2" - MESSAGE "AVX" - CONDITION ( ( TEST_architecture_arch STREQUAL i386 ) OR ( TEST_architecture_arch STREQUAL x86_64 ) ) -) -qt_configure_add_summary_entry( - TYPE "featureList" - ARGS "avx512f avx512er avx512cd avx512pf avx512dq avx512bw avx512vl avx512ifma avx512vbmi" - MESSAGE "AVX512" - CONDITION ( ( TEST_architecture_arch STREQUAL i386 ) OR ( TEST_architecture_arch STREQUAL x86_64 ) ) -) -qt_configure_add_summary_entry( - TYPE "featureList" - ARGS "aesni f16c rdrnd shani" - MESSAGE "Other x86" - CONDITION ( ( TEST_architecture_arch STREQUAL i386 ) OR ( TEST_architecture_arch STREQUAL x86_64 ) ) -) -qt_configure_add_summary_entry( - ARGS "simdAlways" - CONDITION ( ( TEST_architecture_arch STREQUAL i386 ) OR ( TEST_architecture_arch STREQUAL x86_64 ) OR ( TEST_architecture_arch STREQUAL arm64 ) ) AND NOT MSVC -) -qt_configure_add_summary_entry( - TYPE "featureList" - ARGS "neon arm_crc32 arm_crypto" - MESSAGE "Extensions" - CONDITION ( TEST_architecture_arch STREQUAL arm ) OR ( TEST_architecture_arch STREQUAL arm64 ) -) -qt_configure_add_summary_entry( - ARGS "mips_dsp" - CONDITION ( TEST_architecture_arch STREQUAL mips ) -) -qt_configure_add_summary_entry( - ARGS "mips_dspr2" - CONDITION ( TEST_architecture_arch STREQUAL mips ) -) -qt_configure_end_summary_section() # end of "Target compiler supports" section -qt_configure_add_summary_section(NAME "Sanitizers") -qt_configure_add_summary_entry(ARGS "sanitize_address") -qt_configure_add_summary_entry(ARGS "sanitize_thread") -qt_configure_add_summary_entry(ARGS "sanitize_memory") -qt_configure_add_summary_entry(ARGS "sanitize_fuzzer_no_link") -qt_configure_add_summary_entry(ARGS "sanitize_undefined") -qt_configure_end_summary_section() # end of "Sanitizers" section -qt_configure_add_summary_entry( - TYPE "firstAvailableFeature" - ARGS "coverage_trace_pc_guard coverage_source_based" - MESSAGE "Code Coverage Instrumentation" - CONDITION QT_FEATURE_coverage -) -qt_configure_add_summary_build_parts("Build parts") -qt_configure_add_summary_entry( - ARGS "appstore-compliant" - CONDITION APPLE OR ANDROID OR WIN32 -) -qt_configure_end_summary_section() # end of "Build options" section -qt_configure_add_summary_section(NAME "Qt modules and options") -qt_configure_add_summary_entry(ARGS "concurrent") -qt_configure_add_summary_entry(ARGS "dbus") -qt_configure_add_summary_entry(ARGS "dbus-linked") -qt_configure_add_summary_entry(ARGS "gui") -qt_configure_add_summary_entry(ARGS "network") -qt_configure_add_summary_entry(ARGS "sql") -qt_configure_add_summary_entry(ARGS "testlib") -qt_configure_add_summary_entry(ARGS "widgets") -qt_configure_add_summary_entry(ARGS "xml") -qt_configure_end_summary_section() # end of "Qt modules and options" section -qt_configure_add_summary_section(NAME "Support enabled for") -qt_configure_add_summary_entry(ARGS "pkg-config") -qt_configure_add_summary_entry(ARGS "libudev") -qt_configure_add_summary_entry(ARGS "system-zlib") -qt_configure_add_summary_entry(ARGS "zstd") -qt_configure_add_summary_entry(ARGS "thread") -qt_configure_end_summary_section() # end of "Support enabled for" section -qt_configure_add_report_entry( - TYPE NOTE - MESSAGE "Using static linking will disable the use of dynamically loaded plugins. Make sure to import all needed static plugins, or compile needed modules into the library." - CONDITION NOT QT_FEATURE_shared -) -qt_configure_add_report_entry( - TYPE NOTE - MESSAGE "Enable thread support" - CONDITION QT_FEATURE_thread AND WASM -) -qt_configure_add_report_entry( - TYPE ERROR - MESSAGE "Debug build wihtout Release build is not currently supported on ios see QTBUG-71990. Use -debug-and-release." - CONDITION IOS AND QT_FEATURE_debug AND NOT QT_FEATURE_debug_and_release -) -qt_configure_add_report_entry( - TYPE WARNING - MESSAGE "-debug-and-release is only supported on Darwin and Windows platforms. Qt can be built in release mode with separate debug information, so -debug-and-release is no longer necessary." - CONDITION INPUT_debug_and_release STREQUAL 'yes' AND NOT APPLE AND NOT WIN32 -) -qt_configure_add_report_entry( - TYPE ERROR - MESSAGE "debug-only framework builds are not supported. Configure with -no-framework if you want a pure debug build." - CONDITION QT_FEATURE_framework AND QT_FEATURE_debug AND NOT QT_FEATURE_debug_and_release -) -qt_configure_add_report_entry( - TYPE ERROR - MESSAGE "Static builds don't support RPATH" - CONDITION ( QT_FEATURE_rpath OR QT_EXTRA_RPATHS ) AND NOT QT_FEATURE_shared -) -qt_configure_add_report_entry( - TYPE ERROR - MESSAGE "Command line option -coverage is only supported with clang compilers." - CONDITION QT_FEATURE_coverage AND NOT CLANG -) -qt_configure_add_report_entry( - TYPE ERROR - MESSAGE "Command line option -sanitize fuzzer-no-link is only supported with clang compilers." - CONDITION QT_FEATURE_sanitize_fuzzer_no_link AND NOT CLANG -) - -qt_extra_definition("QT_VERSION_STR" "\"${PROJECT_VERSION}\"" PUBLIC) -qt_extra_definition("QT_VERSION_MAJOR" ${PROJECT_VERSION_MAJOR} PUBLIC) -qt_extra_definition("QT_VERSION_MINOR" ${PROJECT_VERSION_MINOR} PUBLIC) -qt_extra_definition("QT_VERSION_PATCH" ${PROJECT_VERSION_PATCH} PUBLIC) diff --git a/.prev_qt_cmdline.cmake b/.prev_qt_cmdline.cmake deleted file mode 100644 index 2ec0d18d13..0000000000 --- a/.prev_qt_cmdline.cmake +++ /dev/null @@ -1,128 +0,0 @@ -qt_commandline_subconfig(src/corelib) -qt_commandline_subconfig(src/network) -qt_commandline_subconfig(src/gui) -qt_commandline_subconfig(src/sql) -qt_commandline_subconfig(src/xml) -qt_commandline_subconfig(src/widgets) -qt_commandline_subconfig(src/printsupport) -qt_commandline_subconfig(src/plugins/sqldrivers) -qt_commandline_subconfig(src/testlib) -qt_commandline_custom(qmakeArgs) -qt_commandline_option(prefix TYPE string) -qt_commandline_option(hostprefix TYPE optionalString) -qt_commandline_option(extprefix TYPE string) -qt_commandline_option(archdatadir TYPE string) -qt_commandline_option(bindir TYPE string) -qt_commandline_option(datadir TYPE string) -qt_commandline_option(docdir TYPE string) -qt_commandline_option(examplesdir TYPE string) -qt_commandline_option(external-hostbindir TYPE string) -qt_commandline_option(headerdir TYPE string) -qt_commandline_option(hostbindir TYPE string) -qt_commandline_option(hostdatadir TYPE string) -qt_commandline_option(hostlibdir TYPE string) -qt_commandline_option(libdir TYPE string) -qt_commandline_option(libexecdir TYPE string) -qt_commandline_option(plugindir TYPE string) -qt_commandline_option(qmldir TYPE string) -qt_commandline_option(settingsdir TYPE string NAME sysconfdir) -qt_commandline_option(sysconfdir TYPE string) -qt_commandline_option(testsdir TYPE string) -qt_commandline_option(translationdir TYPE string) -qt_commandline_option(android-arch TYPE string) -qt_commandline_option(android-abis TYPE string) -qt_commandline_option(android-ndk TYPE string) -qt_commandline_option(android-ndk-host TYPE string) -qt_commandline_option(android-ndk-platform TYPE string) -qt_commandline_option(android-sdk TYPE string) -qt_commandline_option(android-javac-target TYPE string) -qt_commandline_option(android-javac-source TYPE string) -qt_commandline_option(android-style-assets TYPE boolean) -qt_commandline_option(appstore-compliant TYPE boolean) -qt_commandline_option(avx TYPE boolean) -qt_commandline_option(avx2 TYPE boolean) -qt_commandline_option(avx512 TYPE boolean NAME avx512f) -qt_commandline_option(c++std TYPE cxxstd) -qt_commandline_option(ccache TYPE boolean NAME ccache) -qt_commandline_option(commercial TYPE void) -qt_commandline_option(confirm-license TYPE void) -qt_commandline_option(coverage TYPE coverage) -qt_commandline_option(dbus TYPE optionalString VALUES no yes linked runtime) -qt_commandline_option(dbus-linked TYPE void NAME dbus VALUE linked) -qt_commandline_option(dbus-runtime TYPE void NAME dbus VALUE runtime) -qt_commandline_option(debug TYPE void) -qt_commandline_option(debug-and-release TYPE boolean NAME debug_and_release) -qt_commandline_option(developer-build TYPE void) -qt_commandline_option(device TYPE string) -qt_commandline_option(device-option TYPE addString) -qt_commandline_option(f16c TYPE boolean) -qt_commandline_option(force-asserts TYPE boolean NAME force_asserts) -qt_commandline_option(force-debug-info TYPE boolean NAME force_debug_info) -qt_commandline_option(force-pkg-config TYPE void NAME pkg-config) -qt_commandline_option(framework TYPE boolean) -qt_commandline_option(gc-binaries TYPE boolean NAME gc_binaries) -qt_commandline_option(gdb-index TYPE boolean NAME enable_gdb_index) -qt_commandline_option(gcc-sysroot TYPE boolean) -qt_commandline_option(gcov TYPE boolean) -qt_commandline_option(gnumake TYPE boolean NAME GNUmake) -qt_commandline_option(gui TYPE boolean) -qt_commandline_option(headersclean TYPE boolean) -qt_commandline_option(incredibuild-xge TYPE boolean NAME incredibuild_xge) -qt_commandline_option(libudev TYPE boolean) -qt_commandline_option(linker TYPE optionalString VALUES bfd gold lld) -qt_commandline_option(ltcg TYPE boolean) -qt_commandline_option(make TYPE addString VALUES examples libs tests tools) -qt_commandline_option(make-tool TYPE string) -qt_commandline_option(mips_dsp TYPE boolean) -qt_commandline_option(mips_dspr2 TYPE boolean) -qt_commandline_option(mp TYPE boolean NAME msvc_mp) -qt_commandline_option(nomake TYPE addString VALUES examples tests tools) -qt_commandline_option(opensource TYPE void NAME commercial VALUE no) -qt_commandline_option(optimize-debug TYPE boolean NAME optimize_debug) -qt_commandline_option(optimize-size TYPE boolean NAME optimize_size) -qt_commandline_option(optimized-qmake TYPE boolean NAME release_tools) -qt_commandline_option(optimized-tools TYPE boolean NAME release_tools) -qt_commandline_option(pch TYPE boolean NAME precompile_header) -qt_commandline_option(pkg-config TYPE boolean) -qt_commandline_option(platform TYPE string) -qt_commandline_option(plugin-manifests TYPE boolean) -qt_commandline_option(profile TYPE boolean) -qt_commandline_option(qreal TYPE string) -qt_commandline_option(qtlibinfix TYPE string NAME qt_libinfix) -qt_commandline_option(qtnamespace TYPE string NAME qt_namespace) -qt_commandline_option(reduce-exports TYPE boolean NAME reduce_exports) -qt_commandline_option(reduce-relocations TYPE boolean NAME reduce_relocations) -qt_commandline_option(release TYPE enum NAME debug MAPPING yes no no yes) -qt_commandline_option(rpath TYPE boolean) -qt_commandline_option(sanitize TYPE sanitize) -qt_commandline_option(sdk TYPE string) -qt_commandline_option(separate-debug-info TYPE boolean NAME separate_debug_info) -qt_commandline_option(shared TYPE boolean) -qt_commandline_option(silent TYPE void) -qt_commandline_option(qdbus TYPE boolean NAME dbus) -qt_commandline_option(sse2 TYPE boolean) -qt_commandline_option(sse3 TYPE boolean) -qt_commandline_option(sse4.1 TYPE boolean NAME sse4_1) -qt_commandline_option(sse4.2 TYPE boolean NAME sse4_2) -qt_commandline_option(ssse3 TYPE boolean) -qt_commandline_option(static TYPE enum NAME shared MAPPING yes no no yes) -qt_commandline_option(static-runtime TYPE boolean NAME static_runtime) -qt_commandline_option(strip TYPE boolean) -qt_commandline_option(syncqt TYPE boolean) -qt_commandline_option(sysroot TYPE string) -qt_commandline_option(testcocoon TYPE boolean) -qt_commandline_option(use-gold-linker TYPE boolean NAME use_gold_linker_alias) -qt_commandline_option(warnings-are-errors TYPE boolean NAME warnings_are_errors) -qt_commandline_option(Werror TYPE boolean NAME warnings_are_errors) -qt_commandline_option(widgets TYPE boolean) -qt_commandline_option(xplatform TYPE string) -qt_commandline_option(zlib TYPE enum NAME system-zlib MAPPING system yes qt no) -qt_commandline_option(zstd TYPE boolean) -qt_commandline_prefix(D defines) -qt_commandline_prefix(F fpaths) -qt_commandline_prefix(I includes) -qt_commandline_prefix(L lpaths) -qt_commandline_prefix(R rpaths) -qt_commandline_prefix(W wflags) -qt_commandline_assignment(DBUS_HOST_PATH host_dbus.prefix) -qt_commandline_assignment(DBUS_PATH dbus.prefix) diff --git a/configure.json b/configure.json deleted file mode 100644 index 9ad0c03f43..0000000000 --- a/configure.json +++ /dev/null @@ -1,1704 +0,0 @@ -{ - "files": { - "qconfigSource": "src/corelib/global/qconfig.cpp", - "publicHeader": "src/corelib/global/qconfig.h", - "privateHeader": "src/corelib/global/qconfig_p.h", - "publicPro": "mkspecs/qconfig.pri", - "privatePro": "mkspecs/qmodule.pri" - }, - - "subconfigs": [ - "src/corelib", - "src/network", - "src/gui", - "src/sql", - "src/xml", - "src/widgets", - "src/printsupport", - "src/plugins/sqldrivers", - "src/testlib" - ], - - "commandline": { - "assignments": { - "DBUS_HOST_PATH": "host_dbus.prefix", - "DBUS_PATH": "dbus.prefix" - }, - "custom": "qmakeArgs", - "options": { - "prefix": "string", - "hostprefix": "optionalString", - "extprefix": "string", - - "archdatadir": "string", - "bindir": "string", - "datadir": "string", - "docdir": "string", - "examplesdir": "string", - "external-hostbindir": "string", - "headerdir": "string", - "hostbindir": "string", - "hostdatadir": "string", - "hostlibdir": "string", - "libdir": "string", - "libexecdir": "string", - "plugindir": "string", - "qmldir": "string", - "settingsdir": { "type": "string", "name": "sysconfdir" }, - "sysconfdir": "string", - "testsdir": "string", - "translationdir": "string", - - "android-arch": "string", - "android-abis": "string", - "android-ndk": "string", - "android-ndk-host": "string", - "android-ndk-platform": "string", - "android-sdk": "string", - "android-javac-target": "string", - "android-javac-source": "string", - - "android-style-assets": "boolean", - "appstore-compliant": "boolean", - "avx": "boolean", - "avx2": "boolean", - "avx512": { "type": "boolean", "name": "avx512f" }, - "c++std": "cxxstd", - "ccache": { "type": "boolean", "name": "ccache" }, - "commercial": "void", - "confirm-license": "void", - "coverage": "coverage", - "dbus": { "type": "optionalString", "values": [ "no", "yes", "linked", "runtime" ] }, - "dbus-linked": { "type": "void", "name": "dbus", "value": "linked" }, - "dbus-runtime": { "type": "void", "name": "dbus", "value": "runtime" }, - "debug": "void", - "debug-and-release": { "type": "boolean", "name": "debug_and_release" }, - "developer-build": "void", - "device": "string", - "device-option": "addString", - "f16c": "boolean", - "force-asserts": { "type": "boolean", "name": "force_asserts" }, - "force-debug-info": { "type": "boolean", "name": "force_debug_info" }, - "force-pkg-config": { "type": "void", "name": "pkg-config" }, - "framework": "boolean", - "gc-binaries": { "type": "boolean", "name": "gc_binaries" }, - "gdb-index": { "type": "boolean", "name": "enable_gdb_index" }, - "gcc-sysroot": "boolean", - "gcov": "boolean", - "gnumake": { "type": "boolean", "name": "GNUmake" }, - "gui": "boolean", - "headersclean": "boolean", - "incredibuild-xge": { "type": "boolean", "name": "incredibuild_xge" }, - "libudev": "boolean", - "linker": { "type": "optionalString", "values": [ "bfd", "gold", "lld" ] }, - "ltcg": "boolean", - "make": { "type": "addString", "values": [ "examples", "libs", "tests", "tools" ] }, - "make-tool": "string", - "mips_dsp": "boolean", - "mips_dspr2": "boolean", - "mp": { "type": "boolean", "name": "msvc_mp" }, - "nomake": { "type": "addString", "values": [ "examples", "tests", "tools" ] }, - "opensource": { "type": "void", "name": "commercial", "value": "no" }, - "optimize-debug": { "type": "boolean", "name": "optimize_debug" }, - "optimize-size": { "type": "boolean", "name": "optimize_size" }, - "optimized-qmake": { "type": "boolean", "name": "release_tools" }, - "optimized-tools": { "type": "boolean", "name": "release_tools" }, - "pch": { "type": "boolean", "name": "precompile_header" }, - "pkg-config": "boolean", - "platform": "string", - "plugin-manifests": "boolean", - "profile": "boolean", - "qreal": "string", - "qtlibinfix": { "type": "string", "name": "qt_libinfix" }, - "qtnamespace": { "type": "string", "name": "qt_namespace" }, - "reduce-exports": { "type": "boolean", "name": "reduce_exports" }, - "reduce-relocations": { "type": "boolean", "name": "reduce_relocations" }, - "release": { "type": "enum", "name": "debug", "values": { "yes": "no", "no": "yes" } }, - "rpath": "boolean", - "sanitize": "sanitize", - "sdk": "string", - "separate-debug-info": { "type": "boolean", "name": "separate_debug_info" }, - "shared": "boolean", - "silent": "void", - "qdbus": { "type": "boolean", "name": "dbus" }, - "sse2": "boolean", - "sse3": "boolean", - "sse4.1": { "type": "boolean", "name": "sse4_1" }, - "sse4.2": { "type": "boolean", "name": "sse4_2" }, - "ssse3": "boolean", - "static": { "type": "enum", "name": "shared", "values": { "yes": "no", "no": "yes" } }, - "static-runtime": { "type": "boolean", "name": "static_runtime" }, - "strip": "boolean", - "syncqt": "boolean", - "sysroot": "string", - "testcocoon": "boolean", - "use-gold-linker": { "type": "boolean", "name": "use_gold_linker_alias" }, - "warnings-are-errors": { "type": "boolean", "name": "warnings_are_errors" }, - "Werror": { "type": "boolean", "name": "warnings_are_errors" }, - "widgets": "boolean", - "xplatform": "string", - "zlib": { "type": "enum", "name": "system-zlib", "values": { "system": "yes", "qt": "no" } }, - "zstd": "boolean" - }, - "prefix": { - "D": "defines", - "F": "fpaths", - "I": "includes", - "L": "lpaths", - "R": "rpaths", - "W": "wflags" - } - - }, - - "libraries": { - "zlib": { - "label": "zlib", - "test": { - "main": [ - "z_streamp stream = 0;", - "(void) zlibVersion();", - "(void) compress2(0, 0, 0, 0, 1); // compress2 was added in zlib version 1.0.8" - ] - }, - "headers": "zlib.h", - "sources": [ - { "libs": "-lzdll", "condition": "config.msvc" }, - { "libs": "-lzlib", "condition": "config.msvc" }, - { "libs": "-lz", "condition": "!config.msvc" }, - { "libs": "-s USE_ZLIB=1", "condition": "config.wasm" } - ] - }, - "zstd": { - "label": "Zstandard", - "test": { - "include": "zstd.h", - "main": [ - "(void) ZSTD_compress(NULL, 0, NULL, 0, 1);", - "unsigned long long n = ZSTD_getFrameContentSize(NULL, 0);", - "(void) ZSTD_decompress(NULL, 0, NULL, n);" - ] - }, - "sources": [ - { "type": "pkgConfig", "args": "libzstd >= 1.3" }, - "-lzstd" - ] - }, - "dbus": { - "label": "D-Bus >= 1.2", - "test": { - "main": "(void) dbus_bus_get_private(DBUS_BUS_SYSTEM, (DBusError *)NULL);" - }, - "headers": "dbus/dbus.h", - "sources": [ - { "type": "pkgConfig", "args": "dbus-1 >= 1.2" }, - { - "libs": "", - "builds": { - "debug": "-ldbus-1d", - "release": "-ldbus-1" - }, - "condition": "config.win32" - }, - { "libs": "-ldbus-1", "condition": "!config.win32" } - ] - }, - "host_dbus": { - "label": "D-Bus >= 1.2 (host)", - "export": "", - "sources": [ - { "type": "pkgConfig", "host": true, "args": "dbus-1 >= 1.2" }, - { "libs": "", "comment": "placeholder for DBUS_HOST_PATH" } - ] - }, - "libudev": { - "label": "udev", - "test": { - "main": "udev_unref(udev_new());" - }, - "headers": "libudev.h", - "sources": [ - { "type": "pkgConfig", "args": "libudev" }, - "-ludev" - ] - }, - "libdl": { - "label": "dlopen()", - "test": { - "main": [ - "dlclose(dlopen(0, 0));", - "dlsym(RTLD_DEFAULT, 0);", - "dlerror();" - ] - }, - "headers": "dlfcn.h", - "sources": [ - "", - "-ldl" - ] - } - }, - - "testTypeDependencies": { - "linkerSupportsFlag": [ "use_bfd_linker", "use_gold_linker", "use_lld_linker" ], - "verifySpec": [ - "shared", - "use_bfd_linker", "use_gold_linker", "use_lld_linker", - "compiler-flags", "qmakeargs", - "simulator_and_device", - "thread", - "commit" ], - "compile": [ "verifyspec" ], - "detectPkgConfig": [ "cross_compile", "machineTuple" ], - "library": [ "pkg-config", "compiler-flags" ], - "getPkgConfigVariable": [ "pkg-config" ], - "architecture" : [ "verifyspec" ] - }, - - "testTypeAliases": { - "compile": [ "library", "architecture", "x86Simd", "x86SimdAlways" ] - }, - - "tests": { - "machineTuple": { - "label": "machine tuple", - "type": "machineTuple" - }, - "verifyspec": { - "label": "valid makespec", - "type": "verifySpec", - "test": "verifyspec" - }, - "architecture": { - "label": "target architecture", - "type": "architecture", - "test": "arch", - "output": "arch", - "log": "arch" - }, - "host_architecture": { - "label": "host architecture", - "type": "architecture", - "test": "arch", - "output": "arch_host", - "host": true, - "pro": "arch_host.pro", - "log": "arch" - }, - "GNUmake": { - "label": "GNU make", - "type": "gnumake" - }, - "pkg-config": { - "label": "pkg-config", - "type": "detectPkgConfig" - }, - "stl": { - "label": "STL compatibility", - "type": "compile", - "test": "stl" - }, - "c99": { - "label": "C99 support", - "type": "compile", - "test": { - "head": [ - "#if __STDC_VERSION__ >= 199901L", - "// Compiler claims to support C99, trust it", - "#else", - "# error __STDC_VERSION__ must be >= 199901L", - "#endif" - ], - "lang": "c", - "qmake": "CONFIG += c99" - } - }, - "c11": { - "label": "C11 support", - "type": "compile", - "test": { - "head": [ - "#if __STDC_VERSION__ >= 201112L", - "// Compiler claims to support C11, trust it", - "#else", - "# error __STDC_VERSION__ must be >= 201112L", - "#endif" - ], - "lang": "c", - "qmake": "CONFIG += c11" - } - }, - "cxx14": { - "label": "C++14 support", - "type": "compile", - "test": { - "head": [ - "#if __cplusplus > 201103L", - "// Compiler claims to support C++14, trust it", - "#else", - "# error __cplusplus must be > 201103L (the value of C++11)", - "#endif" - ], - "qmake": "CONFIG += c++11 c++14" - } - }, - "cxx17": { - "label": "C++17 support", - "type": "compile", - "test": { - "head": [ - "#if __cplusplus > 201402L", - "// Compiler claims to support C++17, trust it", - "#else", - "# error __cplusplus must be > 201402L (the value for C++14)", - "#endif", - "#include // https://bugs.llvm.org//show_bug.cgi?id=33117", - "#include " - ], - "main": [ - "std::variant v(42);", - "int i = std::get(v);", - "std::visit([](const auto &) { return 1; }, v);" - ], - "qmake": "CONFIG += c++11 c++14 c++17" - } - }, - "cxx20": { - "label": "C++20 support", - "type": "compile", - "test": { - "head": [ - "#if __cplusplus > 201703L", - "// Compiler claims to support C++20, trust it", - "#else", - "# error __cplusplus must be > 201703L (the value for C++17)", - "#endif" - ], - "qmake": "CONFIG += c++11 c++14 c++17 c++20" - } - }, - "precompile_header": { - "label": "precompiled header support", - "type": "compile", - "test": { - "files": { - "header.h": "#define HEADER_H" - }, - "tail": [ - "#ifndef HEADER_H", - "#error no go", - "#endif" - ], - "qmake": [ - "CONFIG += precompile_header", - "PRECOMPILED_DIR = .pch", - "PRECOMPILED_HEADER = header.h" - ] - } - }, - "use_bfd_linker": { - "label": "bfd linker", - "type": "compilerSupportsFlag", - "flag": "-fuse-ld=bfd" - }, - "use_gold_linker": { - "label": "gold linker", - "type": "compilerSupportsFlag", - "flag": "-fuse-ld=gold" - }, - "use_lld_linker" : { - "label": "lld linker", - "type": "compilerSupportsFlag", - "flag": "-fuse-ld=lld" - }, - "optimize_debug": { - "label": "-Og support", - "type": "compilerSupportsFlag", - "flag": "-Og" - }, - "enable_new_dtags": { - "label": "new dtags support", - "type": "linkerSupportsFlag", - "flag": "--enable-new-dtags" - }, - "gdb_index": { - "label": "gdb index support", - "type": "linkerSupportsFlag", - "flag": "--gdb-index" - }, - "reduce_exports": { - "label": "symbol visibility support", - "type": "compile", - "test": { - "head": [ - "#if defined(__GNUC__)", - "__attribute((visibility(\"default\")))", - "#elif defined(__SUNPRO_CC)", - "__global", - "#else", - "# error GCC4+ or SunStudio 8+ are required to support ELF visibility", - "#endif" - ], - "qmake": [ - "TEMPLATE = lib", - "CONFIG += dll hide_symbols", - "isEmpty(QMAKE_CFLAGS_HIDESYMS): error(\"Nope\")" - ] - } - }, - "reduce_relocations": { - "label": "-Bsymbolic-functions support", - "type": "compile", - "test": { - "head": [ - "#if !(defined(__i386) || defined(__i386__) || defined(__x86_64) || defined(__x86_64__) || defined(__amd64)) || defined(__sun)", - "# error Symbolic function binding on this architecture may be broken, disabling it (see QTBUG-36129).", - "#endif" - ], - "qmake": [ - "TEMPLATE = lib", - "CONFIG += dll bsymbolic_functions", - "isEmpty(QMAKE_LFLAGS_BSYMBOLIC_FUNC): error(\"Nope\")" - ] - } - }, - "build_parts": { - "type": "buildParts" - }, - "separate_debug_info": { - "label": "separate debug information support", - "type": "compile" - }, - "gc_binaries": { - "label": "support for split sections and linker garbage collection", - "type": "compile", - "test": { - "qmake": [ - "isEmpty(QMAKE_CFLAGS_SPLIT_SECTIONS): error(\"Nope\")", - "isEmpty(QMAKE_CXXFLAGS_SPLIT_SECTIONS): error(\"Nope\")", - "isEmpty(QMAKE_LFLAGS_GCSECTIONS): error(\"Nope\")" - ] - } - }, - "signaling_nan": { - "label": "Signaling NaN for doubles", - "type": "compile", - "test": { - "head": [ "#include " ], - "main": [ - "using B = std::numeric_limits;", - "static_assert(B::has_signaling_NaN, \"System lacks signaling NaN\");" - ] - } - }, - "sse2": { - "label": "SSE2 instructions", - "type": "x86Simd" - }, - "sse3": { - "label": "SSE3 instructions", - "type": "x86Simd" - }, - "ssse3": { - "label": "SSSE3 instructions", - "type": "x86Simd" - }, - "sse4_1": { - "label": "SSE4.1 instructions", - "type": "x86Simd" - }, - "sse4_2": { - "label": "SSE4.2 instructions", - "type": "x86Simd" - }, - "aesni": { - "label": "AES new instructions", - "type": "x86Simd" - }, - "f16c": { - "label": "F16C instructions", - "type": "x86Simd" - }, - "rdrnd": { - "label": "RDRAND instruction", - "type": "x86Simd" - }, - "rdseed": { - "label": "RDSEED instruction", - "type": "x86Simd" - }, - "shani": { - "label": "SHA new instructions", - "type": "x86Simd" - }, - "avx": { - "label": "AVX instructions", - "type": "x86Simd" - }, - "avx2": { - "label": "AVX2 instructions", - "type": "x86Simd" - }, - "avx512f": { - "label": "AVX512 F instructions", - "type": "x86Simd" - }, - "avx512er": { - "label": "AVX512 ER instructions", - "type": "x86Simd" - }, - "avx512cd": { - "label": "AVX512 CD instructions", - "type": "x86Simd" - }, - "avx512pf": { - "label": "AVX512 PF instructions", - "type": "x86Simd" - }, - "avx512dq": { - "label": "AVX512 DQ instructions", - "type": "x86Simd" - }, - "avx512bw": { - "label": "AVX512 BW instructions", - "type": "x86Simd" - }, - "avx512vl": { - "label": "AVX512 VL instructions", - "type": "x86Simd" - }, - "avx512ifma": { - "label": "AVX512 IFMA instructions", - "type": "x86Simd" - }, - "avx512vbmi": { - "label": "AVX512 VBMI instructions", - "type": "x86Simd" - }, - "x86SimdAlways": { - "label": "Intrinsics without -mXXX argument", - "type": "x86SimdAlways", - "test": "x86_simd" - }, - "posix_fallocate": { - "label": "POSIX fallocate()", - "type": "compile", - "test": { - "include": [ "fcntl.h", "unistd.h" ], - "main": "(void) posix_fallocate(0, 0, 0);" - } - }, - "alloca_stdlib_h": { - "label": "alloca() in stdlib.h", - "type": "compile", - "test": { - "include": "stdlib.h", - "main": "alloca(1);" - } - }, - "alloca_h": { - "label": "alloca() in alloca.h", - "type": "compile", - "test": { - "include": "alloca.h", - "tail": [ - "#ifdef __QNXNTO__", - "// extra include needed in QNX7 to define NULL for the alloca() macro", - "# include ", - "#endif" - ], - "main": "alloca(1);" - } - }, - "alloca_malloc_h": { - "label": "alloca() in malloc.h", - "type": "compile", - "test": { - "include": "malloc.h", - "main": "alloca(1);" - } - }, - "stack_protector": { - "label": "stack protection", - "type": "compile", - "test": { - "head": [ - "#ifdef __QNXNTO__", - "# include ", - "# if _NTO_VERSION < 700", - "# error stack-protector not used (by default) before QNX 7.0.0.", - "# endif", - "#endif" - ], - "qmake": "QMAKE_CXXFLAGS += -fstack-protector-strong" - } - }, - "incredibuild_xge": { - "label": "IncrediBuild", - "type": "files", - "files": [ "BuildConsole.exe", "xgConsole.exe" ] - }, - "ccache": { - "label": "ccache", - "type": "files", - "files": [ "ccache" ] - }, - "intelcet": { - "label": "Support for Intel Control-flow Enforcement Technology", - "type": "compile", - "test": { - "main": [ - "#if !defined(__CET__)", - "# error Intel CET not available", - "#endif" - ] - } - } - }, - - "features": { - "prepare": { - "condition": "features.gcc-sysroot || true", - "output": [ "prepareSpec", "prepareOptions", "preparePaths", "reloadSpec" ] - }, - "machineTuple": { - "condition": "config.linux && !config.android && tests.machineTuple", - "output": [ "machineTuple" ] - }, - "commit": { - "condition": "features.machineTuple || true", - "output": [ "commitOptions" ] - }, - "android-style-assets": { - "label": "Android Style Assets", - "condition": "config.android", - "output": [ "privateFeature" ], - "comment": "This belongs into gui, but the license check needs it here already." - }, - "shared": { - "label": "Building shared libraries", - "autoDetect": "!config.uikit && !config.wasm", - "condition": "!config.integrity && !config.wasm && !config.rtems", - "output": [ - "shared", - "publicFeature", - "publicQtConfig", - "publicConfig" - ] - }, - "static": { - "condition": "!features.shared", - "output": [ - "publicFeature", - "publicQtConfig", - "publicConfig" - ] - }, - "cross_compile": { - "label": "Cross compiling", - "condition": "call.crossCompile", - "output": [ "publicConfig", "privateConfig", "publicFeature", "crossCompile" ] - }, - "compiler-flags": { - "output": [ "compilerFlags" ] - }, - "gc_binaries": { - "condition": "!features.shared && tests.gc_binaries", - "output": [ "privateFeature" ] - }, - "gcc-sysroot": { - "output": [ "gccSysroot" ], - "condition": "input.sysroot != ''" - }, - "qmakeargs": { - "output": [ "qmakeArgs" ], - "condition": "input.qmakeArgs != ''" - }, - "use_bfd_linker": { - "label": "bfd", - "autoDetect": "false", - "enable" : "input.linker == 'bfd'", - "disable" : "input.linker == 'gold' || input.linker == 'lld'", - "condition": "!config.win32 && !config.integrity && !config.wasm && tests.use_bfd_linker", - "output": [ "privateConfig", "useBFDLinker" ] - }, - "use_gold_linker_alias": { - "autoDetect": "false", - "condition": "!config.win32 && !config.integrity && !config.wasm && tests.use_gold_linker" - }, - "use_gold_linker": { - "label": "gold", - "autoDetect": "false", - "enable" : "input.linker == 'gold' || features.use_gold_linker_alias" , - "disable" : "input.linker == 'bfd' || input.linker == 'lld'", - "condition": "!config.win32 && !config.integrity && !config.wasm && !config.rtems && tests.use_gold_linker", - "output": [ "privateConfig", "useGoldLinker" ] - }, - "use_lld_linker": { - "label": "lld", - "autoDetect": "false", - "enable" : "input.linker == 'lld'", - "disable" : "input.linker == 'bfd' || input.linker == 'gold'", - "condition": "!config.win32 && !config.integrity && !config.wasm && tests.use_lld_linker", - "output": [ "privateConfig", "useLLDLinker" ] - }, - "optimize_debug": { - "label": "Optimize debug build", - "autoDetect": "!features.developer-build", - "condition": "!config.msvc && !config.clang && (features.debug || features.debug_and_release) && tests.optimize_debug", - "output": [ "privateConfig" ] - }, - "optimize_size": { - "label": "Optimize release build for size", - "autoDetect": false, - "condition": "!features.debug || features.debug_and_release", - "output": [ "privateConfig" ] - }, - "architecture": { - "label": "Architecture", - "output": [ "architecture", "commitConfig" ] - }, - "pkg-config": { - "label": "Using pkg-config", - "autoDetect": "!config.darwin && !config.win32 && !config.android", - "condition": "tests.pkg-config", - "output": [ - "publicFeature", - { "type": "publicQtConfig", "negative": true }, - "pkgConfig" - ] - }, - "verifyspec": { - "label": "Have valid makespec", - "condition": "tests.verifyspec" - }, - "developer-build": { - "label": "Developer build", - "autoDetect": false, - "output": [ - { "type": "define", "name": "QT_BUILD_INTERNAL" }, - { "type": "privateFeature", "name": "private_tests" }, - { "type": "publicQtConfig", "name": "private_tests" } - ] - }, - "debug": { - "label": "Build for debugging", - "autoDetect": "features.developer-build || (config.win32 && !config.gcc) || config.darwin", - "output": [ "privateFeature" ] - }, - "debug_and_release": { - "label": "Compile libs in debug and release mode", - "autoDetect": "input.debug == '' && !(config.win32 && config.gcc)", - "condition": "config.darwin || config.win32", - "output": [ "publicFeature", "publicQtConfig", "debugAndRelease" ] - }, - "force_debug_info": { - "label": "Add debug info in release mode", - "autoDetect": false, - "output": [ "privateConfig" ] - }, - "separate_debug_info": { - "label": "Split off debug information", - "autoDetect": false, - "condition": [ - "features.shared", - "features.debug || features.debug_and_release || features.force_debug_info", - "config.darwin || tests.separate_debug_info" - ], - "output": [ "publicFeature", "publicQtConfig" ] - }, - "release_tools": { - "label": "Compile tools in release mode", - "autoDetect": "features.debug", - "output": [ "privateFeature", "publicQtConfig" ] - }, - "appstore-compliant": { - "label": "App store compliance", - "purpose": "Disables code that is not allowed in platform app stores", - "autoDetect": "config.uikit || config.android", - "output": [ "publicFeature" ] - }, - "simulator_and_device": { - "label": "Build for both simulator and device", - "condition": "config.uikit && input.sdk == ''", - "output": [ "publicFeature", "publicQtConfig" ] - }, - "build_all": { - "condition": "features.debug_and_release || features.simulator_and_device", - "output": [ "publicFeature", "publicQtConfig" ] - }, - "rpath": { - "label": "Build with RPATH", - "autoDetect": "var.QMAKE_LFLAGS_RPATH != '' && features.shared", - "condition": "!config.android", - "output": [ "publicFeature", "publicQtConfig" ] - }, - "rpath_dir": { - "label": "RPATH directory", - "enable": "input.rpaths != ''", - "autoDetect": false, - "output": [ { "type": "varAppend", "name": "EXTRA_RPATHS", "value": "input.rpaths" } ] - }, - "force_asserts": { - "label": "Force assertions", - "autoDetect": false, - "output": [ "publicFeature" ] - }, - "warnings_are_errors": { - "label": "WError", - "autoDetect": "features.developer-build", - "output": [ "privateConfig" ] - }, - "headersclean": { - "label": "Check for clean headers", - "autoDetect": false, - "condition": "!config.wasm", - "output": [ "privateConfig" ] - }, - "framework": { - "label": "Build Apple Frameworks", - "condition": "config.darwin && features.shared", - "output": [ - { "type": "define", "name": "QT_MAC_FRAMEWORK_BUILD" }, - "publicFeature", - { "type": "publicQtConfig", "name": "qt_framework"}, - { "type": "publicConfig", "name": "qt_framework"} - ] - }, - "largefile": { - "label": "Large file support", - "condition": "!config.android && !config.integrity && !config.rtems", - "output": [ - "privateConfig", - { "type": "define", "name": "QT_LARGEFILE_SUPPORT", "value": 64 } - ] - }, - "testcocoon": { - "label": "Testcocoon support", - "autoDetect": false, - "output": [ "publicConfig" ] - }, - "gcov": { - "label": "gcov support", - "autoDetect": false, - "output": [ "publicConfig" ] - }, - "silent": { - "label": "Silent build", - "autoDetect": false, - "output": [ "privateConfig" ] - }, - "sanitize_address": { - "label": "Addresses", - "autoDetect": false, - "output": [ "publicConfig" ] - }, - "sanitize_thread": { - "label": "Threads", - "autoDetect": false, - "output": [ "publicConfig" ] - }, - "sanitize_memory": { - "label": "Memory", - "autoDetect": false, - "output": [ "publicConfig" ] - }, - "sanitize_fuzzer_no_link": { - "label": "Fuzzer (instrumentation only)", - "autoDetect": false, - "output": [ "publicConfig" ], - "purpose": "Adds instrumentation for fuzzing to the binaries but links to the usual main function instead of a fuzzer's." - }, - "sanitize_undefined": { - "label": "Undefined", - "autoDetect": false, - "output": [ "publicConfig" ] - }, - "sanitizer": { - "label": "Sanitizers", - "condition": "features.sanitize_address || features.sanitize_thread || features.sanitize_memory || features.sanitize_fuzzer_no_link || features.sanitize_undefined", - "output": [ "sanitizer", "publicConfig" ] - }, - "coverage_trace_pc_guard": { - "label": "trace-pc-guard", - "autoDetect": false, - "output": [ "publicConfig" ] - }, - "coverage_source_based": { - "label": "source-based", - "autoDetect": false, - "output": [ "publicConfig" ] - }, - "coverage": { - "label": "Code Coverage Instrumentation", - "condition": "features.coverage_trace_pc_guard || features.coverage_source_based", - "output": [ "publicConfig" ] - }, - "GNUmake": { - "label": "GNU make", - "autoDetect": false, - "condition": "tests.GNUmake", - "output": [ "privateConfig" ] - }, - "plugin-manifests": { - "label": "Embed manifests in plugins", - "emitIf": "config.win32", - "autoDetect": false, - "output": [ { "type": "publicConfig", "negative": true, "name": "no_plugin_manifest" } ] - }, - "profile": { - "label": "GNU profiling support", - "autoDetect": false, - "output": [ - { "type": "varAppend", "name": "QMAKE_CFLAGS", "value": "'-pg'" }, - { "type": "varAppend", "name": "QMAKE_CXXFLAGS", "value": "'-pg'" }, - { "type": "varAppend", "name": "QMAKE_LFLAGS", "value": "'-pg'" } - ] - }, - "strip": { - "label": "Strip binaries", - "condition": "!features.profile", - "output": [ { "type": "privateConfig", "negative": true, "name": "nostrip" } ] - }, - "stl": { - "label": "STL compatibility", - "condition": "tests.stl", - "output": [ "publicQtConfig" ] - }, - "c++11": { - "label": "C++11", - "output": [ "publicFeature", "publicQtConfig" ] - }, - "c++14": { - "label": "C++14", - "condition": "features.c++11 && tests.cxx14", - "output": [ "publicFeature", "publicQtConfig" ] - }, - "c++17": { - "label": "C++17", - "condition": "features.c++14 && tests.cxx17", - "output": [ "publicFeature", "publicQtConfig" ] - }, - "c++1z": { - "label": "C++17", - "condition": "features.c++17", - "output": [ "publicFeature", "publicQtConfig" ] - }, - "c++20": { - "label": "C++20", - "autoDetect": false, - "condition": "features.c++17 && tests.cxx20", - "output": [ "publicFeature", "publicQtConfig" ] - }, - "c++2a": { - "label": "C++20", - "condition": "features.c++20", - "output": [ "publicFeature", "publicQtConfig" ] - }, - "c89": { - "label": "C89" - }, - "c99": { - "label": "C99", - "condition": "tests.c99", - "output": [ "publicFeature" ] - }, - "c11": { - "label": "C11", - "condition": "features.c99 && tests.c11", - "output": [ "publicFeature" ] - }, - "precompile_header": { - "label": "Using precompiled headers", - "condition": "tests.precompile_header", - "autodetect": "!config.wasm", - "output": [ - "privateConfig", - { "type": "varRemove", "negative": true, "name": "CONFIG", "value": "'precompile_header'" } - ] - }, - "ltcg": { - "label": "Using LTCG", - "autoDetect": false, - "output": [ "privateConfig" ] - }, - "enable_new_dtags": { - "label": "Using new DTAGS", - "condition": "config.linux && tests.enable_new_dtags", - "output": [ "privateConfig" ] - }, - "enable_gdb_index": { - "label": "Generating GDB index", - "autoDetect": "features.developer-build", - "condition": "config.gcc && !config.clang && (features.debug || features.force_debug_info || features.debug_and_release) && tests.gdb_index", - "output": [ "privateConfig" ] - }, - "reduce_exports": { - "label": "Reduce amount of exported symbols", - "condition": "!config.win32 && tests.reduce_exports", - "output": [ - "privateFeature", - "publicQtConfig", - { "type": "define", "name": "QT_VISIBILITY_AVAILABLE" } - ] - }, - "reduce_relocations": { - "label": "Reduce amount of relocations", - "condition": "!config.win32 && tests.reduce_relocations", - "output": [ - "privateFeature", - "publicQtConfig", - { "type": "define", "name": "QT_REDUCE_RELOCATIONS" } - ] - }, - "signaling_nan": { - "label": "Signaling NaN", - "condition": "tests.signaling_nan", - "output": [ "publicFeature" ] - }, - "sse2": { - "label": "SSE2", - "condition": "(arch.i386 || arch.x86_64) && tests.sse2", - "output": [ - "privateConfig", - "privateFeature", - { "type": "define", "name": "QT_COMPILER_SUPPORTS_SSE2", "value": 1 } - ] - }, - "sse3": { - "label": "SSE3", - "condition": "features.sse2 && tests.sse3", - "output": [ - "privateConfig", - "privateFeature", - { "type": "define", "name": "QT_COMPILER_SUPPORTS_SSE3", "value": 1 } - ] - }, - "ssse3": { - "label": "SSSE3", - "condition": "features.sse3 && tests.ssse3", - "output": [ - "privateConfig", - "privateFeature", - { "type": "define", "name": "QT_COMPILER_SUPPORTS_SSSE3", "value": 1 } - ] - }, - "sse4_1": { - "label": "SSE4.1", - "condition": "features.ssse3 && tests.sse4_1", - "output": [ - "privateConfig", - "privateFeature", - { "type": "define", "name": "QT_COMPILER_SUPPORTS_SSE4_1", "value": 1 } - ] - }, - "sse4_2": { - "label": "SSE4.2", - "condition": "features.sse4_1 && tests.sse4_2", - "output": [ - "privateConfig", - "privateFeature", - { "type": "define", "name": "QT_COMPILER_SUPPORTS_SSE4_2", "value": 1 } - ] - }, - "avx": { - "label": "AVX", - "condition": "features.sse4_2 && tests.avx && (!config.android || !arch.x86_64)", - "output": [ - "privateConfig", - "privateFeature", - { "type": "define", "name": "QT_COMPILER_SUPPORTS_AVX", "value": 1 } - ] - }, - "f16c": { - "label": "F16C", - "condition": "features.avx && tests.f16c", - "output": [ - "privateConfig", - "privateFeature", - { "type": "define", "name": "QT_COMPILER_SUPPORTS_F16C", "value": 1 } - ] - }, - "avx2": { - "label": "AVX2", - "condition": "features.avx && tests.avx2 && (!config.android || !arch.x86_64)", - "output": [ - "privateConfig", - "privateFeature", - { "type": "define", "name": "QT_COMPILER_SUPPORTS_AVX2", "value": 1 } - ] - }, - "avx512f": { - "label": "F", - "condition": "features.avx2 && tests.avx512f", - "output": [ - "privateConfig", - "privateFeature", - { "type": "define", "name": "QT_COMPILER_SUPPORTS_AVX512F", "value": 1 } - ] - }, - "avx512er": { - "label": "ER", - "condition": "features.avx512f && tests.avx512er", - "output": [ - "privateConfig", - "privateFeature", - { "type": "define", "name": "QT_COMPILER_SUPPORTS_AVX512ER", "value": 1 } - ] - }, - "avx512cd": { - "label": "CD", - "condition": "features.avx512f && tests.avx512cd", - "output": [ - "privateConfig", - "privateFeature", - { "type": "define", "name": "QT_COMPILER_SUPPORTS_AVX512CD", "value": 1 } - ] - }, - "avx512pf": { - "label": "PF", - "condition": "features.avx512f && tests.avx512pf", - "output": [ - "privateConfig", - "privateFeature", - { "type": "define", "name": "QT_COMPILER_SUPPORTS_AVX512PF", "value": 1 } - ] - }, - "avx512dq": { - "label": "DQ", - "condition": "features.avx512f && tests.avx512dq", - "output": [ - "privateConfig", - "privateFeature", - { "type": "define", "name": "QT_COMPILER_SUPPORTS_AVX512DQ", "value": 1 } - ] - }, - "avx512bw": { - "label": "BW", - "condition": "features.avx512f && tests.avx512bw", - "output": [ - "privateConfig", - "privateFeature", - { "type": "define", "name": "QT_COMPILER_SUPPORTS_AVX512BW", "value": 1 } - ] - }, - "avx512vl": { - "label": "VL", - "condition": "features.avx512f && tests.avx512vl", - "output": [ - "privateConfig", - "privateFeature", - { "type": "define", "name": "QT_COMPILER_SUPPORTS_AVX512VL", "value": 1 } - ] - }, - "avx512ifma": { - "label": "IFMA", - "condition": "features.avx512f && tests.avx512ifma", - "output": [ - "privateConfig", - "privateFeature", - { "type": "define", "name": "QT_COMPILER_SUPPORTS_AVX512IFMA", "value": 1 } - ] - }, - "avx512vbmi": { - "label": "VBMI", - "condition": "features.avx512f && tests.avx512vbmi", - "output": [ - "privateConfig", - "privateFeature", - { "type": "define", "name": "QT_COMPILER_SUPPORTS_AVX512VBMI", "value": 1 } - ] - }, - "aesni": { - "label": "AES", - "condition": "features.sse2 && tests.aesni", - "output": [ - "privateConfig", - "privateFeature", - { "type": "define", "name": "QT_COMPILER_SUPPORTS_AES", "value": 1 } - ] - }, - "rdrnd": { - "label": "RDRAND", - "condition": "tests.rdrnd", - "output": [ - "privateConfig", - "privateFeature", - { "type": "define", "name": "QT_COMPILER_SUPPORTS_RDRND", "value": 1 } - ] - }, - "rdseed": { - "label": "RDSEED", - "condition": "tests.rdseed", - "output": [ - "privateConfig", - "privateFeature", - { "type": "define", "name": "QT_COMPILER_SUPPORTS_RDSEED", "value": 1 } - ] - }, - "shani": { - "label": "SHA", - "condition": "features.sse2 && tests.shani", - "output": [ - "privateConfig", - "privateFeature", - { "type": "define", "name": "QT_COMPILER_SUPPORTS_SHA", "value": 1 } - ] - }, - "simdAlways": { - "label": "Intrinsics without compiler architecture option", - "condition": "((arch.i386 || arch.x86_64) && tests.x86SimdAlways) || arch.arm64", - "output": [ - "privateConfig", - { "type": "define", "name": "QT_COMPILER_SUPPORTS_SIMD_ALWAYS", "value": 1 } - ] - }, - "mips_dsp": { - "label": "DSP", - "condition": "arch.mips && subarch.dsp", - "output": [ - "privateConfig", - "privateFeature", - { "type": "define", "name": "QT_COMPILER_SUPPORTS_MIPS_DSP", "value": 1 } - ] - }, - "mips_dspr2": { - "label": "DSPr2", - "condition": "arch.mips && subarch.dspr2", - "output": [ - "privateConfig", - "privateFeature", - { "type": "define", "name": "QT_COMPILER_SUPPORTS_MIPS_DSPR2", "value": 1 } - ] - }, - "neon": { - "label": "NEON", - "condition": "(arch.arm || arch.arm64) && subarch.neon", - "output": [ - "privateConfig", - "privateFeature", - { "type": "define", "name": "QT_COMPILER_SUPPORTS_NEON", "value": 1 } - ] - }, - "arm_crc32": { - "label": "CRC32", - "condition": "(arch.arm || arch.arm64) && subarch.crc32", - "output": [ - "privateConfig", - "privateFeature", - { "type": "define", "name": "QT_COMPILER_SUPPORTS_CRC32", "value": 1 } - ] - }, - "arm_crypto": { - "label": "AES", - "condition": "(arch.arm || arch.arm64) && subarch.crypto", - "output": [ - "privateConfig", - "privateFeature", - { "type": "define", "name": "QT_COMPILER_SUPPORTS_AES", "value": 1 } - ] - }, - "posix_fallocate": { - "label": "POSIX fallocate()", - "condition": "tests.posix_fallocate", - "output": [ "privateFeature" ] - }, - "alloca_h": { - "label": "alloca.h", - "condition": "tests.alloca_h", - "output": [ "privateFeature" ] - }, - "alloca_malloc_h": { - "label": "alloca() in malloc.h", - "condition": "!features.alloca_h && tests.alloca_malloc_h", - "output": [ "privateFeature" ] - }, - "alloca": { - "label": "alloca()", - "condition": "features.alloca_h || features.alloca_malloc_h || tests.alloca_stdlib_h", - "output": [ "privateFeature" ] - }, - "stack-protector-strong": { - "label": "stack protection", - "condition": "config.qnx && tests.stack_protector", - "output": [ "privateFeature" ] - }, - "system-zlib": { - "label": "Using system zlib", - "condition": "libs.zlib", - "output": [ "privateFeature" ] - }, - "zstd": { - "label": "Zstandard support", - "condition": "libs.zstd", - "output": [ "privateFeature" ] - }, - "thread": { - "label": "Thread support", - "purpose": "Provides QThread and related classes.", - "section": "Kernel", - "autoDetect": "!config.wasm", - "output": [ "publicFeature" ] - }, - "future": { - "label": "QFuture", - "purpose": "Provides QFuture and related classes.", - "section": "Kernel", - "condition": "features.thread", - "output": [ "publicFeature" ] - }, - "concurrent": { - "label": "Qt Concurrent", - "purpose": "Provides a high-level multi-threading API.", - "section": "Kernel", - "condition": "features.future", - "output": [ "publicFeature", "feature" ] - }, - "dbus": { - "label": "Qt D-Bus", - "autoDetect": "!config.uikit && !config.android", - "condition": "features.thread && !config.wasm", - "output": [ "privateFeature", "feature" ] - }, - "dbus-linked": { - "label": "Qt D-Bus directly linked to libdbus", - "enable": "input.dbus == 'linked'", - "disable": "input.dbus == 'runtime'", - "condition": "features.dbus && libs.dbus", - "output": [ "privateFeature" ] - }, - "host-dbus": { - "label": "Qt D-Bus (Host)", - "autoDetect": "!config.android", - "condition": "libs.host_dbus", - "output": [ { "type": "varAppend", "name": "QT_HOST_CFLAGS_DBUS", "value": "libs.host_dbus.cflags", "eval": "true" } ] - }, - "build_parts": { - "output": [ { "type": "varAppend", "name": "QT_BUILD_PARTS", "value": "tests.build_parts.value" } ] - }, - "qreal": { - "label": "Type for qreal", - "output": [ "qreal" ] - }, - "gui": { - "label": "Qt Gui", - "output": [ - "privateFeature", - { "type": "publicQtConfig", "negative": true } - ] - }, - "network": { - "label": "Qt Network", - "output": [ "privateFeature" ] - }, - "printsupport": { - "label": "Qt PrintSupport", - "condition": "features.widgets", - "output": [ "privateFeature" ] - }, - "sql": { - "label": "Qt Sql", - "condition": "features.thread && !config.wasm", - "output": [ "privateFeature" ] - }, - "testlib": { - "label": "Qt Testlib", - "output": [ "privateFeature" ] - }, - "widgets": { - "label": "Qt Widgets", - "autoDetect": "!config.tvos && !config.watchos", - "condition": "features.gui", - "output": [ - "privateFeature", - { "type": "define", "negative": true, "name": "QT_NO_WIDGETS" }, - { "type": "publicQtConfig", "negative": true } - ] - }, - "xml": { - "label": "Qt Xml", - "output": [ "privateFeature" ] - }, - "libudev": { - "label": "udev", - "condition": "libs.libudev", - "output": [ "privateFeature" ] - }, - "incredibuild_xge": { - "label": "IncrediBuild", - "emitIf": "var.QMAKE_HOST.os == 'Windows'", - "condition": "tests.incredibuild_xge", - "output": [ "publicConfig" ] - }, - "ccache": { - "label": "Using ccache", - "autoDetect": false, - "condition": "tests.ccache", - "output": [ "privateConfig" ] - }, - "msvc_mp": { - "label": "Use multiple processors when compiling with MSVC", - "emitIf": "config.msvc", - "autoDetect": "false", - "output": [ "privateConfig" ] - }, - "static_runtime": { - "label": "Statically link the C/C++ runtime library", - "emitIf": "config.win32", - "autoDetect": false, - "condition": "!features.shared", - "output": [ "publicConfig", "publicQtConfig" ] - }, - "dlopen": { - "label": "dlopen()", - "condition": "config.unix && libs.libdl", - "output": [ "privateFeature" ] - }, - "relocatable": { - "label": "Relocatable", - "purpose": "Enable the Qt installation to be relocated.", - "autoDetect": "features.shared", - "condition": "features.dlopen || config.win32 || !features.shared", - "output": [ "privateFeature" ] - }, - "intelcet": { - "label": "Using Intel CET", - "condition": "tests.intelcet", - "output": [ "privateFeature" ] - } - }, - - "earlyReport": [ - { - "type": "fatal", - "condition": "input.xplatform != '' && input.device != ''", - "message": "Cannot specify both -xplatform and -device." - }, - { - "condition": "!features.prepare", - "comment": "This is not an actual report - instead, it activates the early setup." - }, - { - "type": "fatal", - "condition": "!call.licenseCheck", - "message": "You are not licensed to use this software." - }, - { - "type": "warning", - "condition": "input.debug_and_release == 'yes' && !config.darwin && !config.win32", - "message": "-debug-and-release is only supported on Darwin and Windows platforms. Qt can be built in release mode with separate debug information, so -debug-and-release is no longer necessary." - }, - { - "type": "error", - "condition": "features.framework && features.debug && !features.debug_and_release", - "message": "debug-only framework builds are not supported. Configure with -no-framework if you want a pure debug build." - }, - { - "type": "error", - "condition": "(features.rpath || features.rpath_dir) && !features.shared", - "message": "Static builds don't support RPATH" - }, - { - "type": "error", - "condition": "(features.rpath || features.rpath_dir) && var.QMAKE_LFLAGS_RPATH == ''", - "message": "This platform does not support RPATH" - }, - { - "type": "error", - "condition": "features.coverage && !config.clang", - "message": "Command line option -coverage is only supported with clang compilers." - }, - { - "type": "error", - "condition": "features.sanitize_fuzzer_no_link && !config.clang", - "message": "Command line option -sanitize fuzzer-no-link is only supported with clang compilers." - } - ], - - "report": [ - { - "type": "note", - "condition": "!features.shared", - "message": "Using static linking will disable the use of dynamically loaded plugins. Make sure to import all needed static plugins, or compile needed modules into the library." - }, - { - "type": "note", - "condition": "features.release_tools && !features.debug", - "message": "-optimized-tools is not useful in -release mode." - }, - { - "type": "error", - "condition": "!features.stl", - "message": "Qt requires a compliant STL library." - }, - { - "type": "note", - "condition": "features.thread && config.wasm", - "message": "Enable thread support" - }, - { - "type": "error", - "condition": "config.ios && features.debug && !features.debug_and_release", - "message": "Debug build wihtout Release build is not currently supported on ios see QTBUG-71990. Use -debug-and-release." - } - ], - - "summary": [ - { - "type": "buildTypeAndConfig" - }, - { - "section": "Build options", - "entries": [ - { - "message": "Mode", - "type": "buildMode" - }, - { - "type": "feature", - "args": "optimize_debug", - "condition": "!config.msvc && !config.clang && (features.debug || features.debug_and_release)" - }, - { - "type": "feature", - "args": "optimize_size", - "condition": "!features.debug || features.debug_and_release" - }, - "shared", - { - "message": "Using C standard", - "type": "firstAvailableFeature", - "args": "c11 c99 c89" - }, - { - "message": "Using C++ standard", - "type": "firstAvailableFeature", - "args": "c++20 c++17 c++14 c++11" - }, - { - "type": "feature", - "args": "ccache", - "condition": "config.unix" - }, - { - "message": "Linker", - "type": "firstAvailableFeature", - "args": "use_bfd_linker use_gold_linker use_lld_linker", - "condition": "features.use_bfd_linker || features.use_gold_linker || features.use_lld_linker" - }, - { - "type": "feature", - "args": "enable_new_dtags", - "condition": "config.linux" - }, - { - "type": "feature", - "args": "enable_gdb_index", - "condition": "config.gcc && !config.clang && (features.debug || features.force_debug_info || features.debug_and_release)" - }, - "relocatable", - "precompile_header", - "ltcg", - { - "section": "Target compiler supports", - "entries": [ - { - "message": "SSE", - "type": "featureList", - "args": "sse2 sse3 ssse3 sse4_1 sse4_2", - "condition": "(arch.i386 || arch.x86_64)" - }, - { - "message": "AVX", - "type": "featureList", - "args": "avx avx2", - "condition": "(arch.i386 || arch.x86_64)" - }, - { - "message": "AVX512", - "type": "featureList", - "args": "avx512f avx512er avx512cd avx512pf avx512dq avx512bw avx512vl avx512ifma avx512vbmi", - "condition": "(arch.i386 || arch.x86_64)" - }, - { - "message": "Other x86", - "type": "featureList", - "args": "aesni f16c rdrnd shani", - "condition": "(arch.i386 || arch.x86_64)" - }, - { - "type": "feature", - "args": "simdAlways", - "condition": "(arch.i386 || arch.x86_64 || arch.arm64) && !config.msvc" - }, - { - "message": "Extensions", - "type": "featureList", - "args": "neon arm_crc32 arm_crypto", - "condition": "arch.arm || arch.arm64" - }, - { - "type": "feature", - "args": "mips_dsp", - "condition": "arch.mips" - }, - { - "type": "feature", - "args": "mips_dspr2", - "condition": "arch.mips" - } - ] - }, - { - "section": "Sanitizers", - "condition": "features.sanitizer", - "entries": [ - "sanitize_address", - "sanitize_thread", - "sanitize_memory", - "sanitize_fuzzer_no_link", - "sanitize_undefined" - ] - }, - { - "message": "Code Coverage Instrumentation", - "type": "firstAvailableFeature", - "args": "coverage_trace_pc_guard coverage_source_based", - "condition": "features.coverage" - }, - { - "message": "Build parts", - "type": "buildParts" - }, - { - "type": "feature", - "args": "appstore-compliant", - "condition": "config.darwin || config.android || config.win32" - } - ] - }, { - "section": "Qt modules and options", - "entries": [ - "concurrent", - "dbus", - "dbus-linked", - "gui", - "network", - "sql", - "testlib", - "widgets", - "xml" - ] - }, { - "section": "Support enabled for", - "entries": [ - "pkg-config", - "libudev", - "system-zlib", - "zstd", - "thread" - ] - } - ] - -} diff --git a/src/corelib/.prev_configure.cmake b/src/corelib/.prev_configure.cmake deleted file mode 100644 index 18d9120aae..0000000000 --- a/src/corelib/.prev_configure.cmake +++ /dev/null @@ -1,991 +0,0 @@ - - -#### Inputs - -# input doubleconversion -set(INPUT_doubleconversion "undefined" CACHE STRING "") -set_property(CACHE INPUT_doubleconversion PROPERTY STRINGS undefined no qt system) - -# input libb2 -set(INPUT_libb2 "undefined" CACHE STRING "") -set_property(CACHE INPUT_libb2 PROPERTY STRINGS undefined no qt system) - - - -#### Libraries - -if((UNIX) OR QT_FIND_ALL_PACKAGES_ALWAYS) - qt_find_package(WrapBacktrace PROVIDED_TARGETS WrapBacktrace::WrapBacktrace MODULE_NAME core QMAKE_LIB backtrace) -endif() -qt_find_package(WrapDoubleConversion PROVIDED_TARGETS WrapDoubleConversion::WrapDoubleConversion MODULE_NAME core QMAKE_LIB doubleconversion) -qt_find_package(GLIB2 PROVIDED_TARGETS GLIB2::GLIB2 MODULE_NAME core QMAKE_LIB glib) -qt_find_package(ICU COMPONENTS i18n uc data PROVIDED_TARGETS ICU::i18n ICU::uc ICU::data MODULE_NAME core QMAKE_LIB icu) -if(QT_FEATURE_dlopen) - qt_add_qmake_lib_dependency(icu libdl) -endif() -qt_find_package(Libsystemd PROVIDED_TARGETS PkgConfig::Libsystemd MODULE_NAME core QMAKE_LIB journald) -qt_find_package(WrapAtomic PROVIDED_TARGETS WrapAtomic::WrapAtomic MODULE_NAME core QMAKE_LIB libatomic) -qt_find_package(Libb2 PROVIDED_TARGETS Libb2::Libb2 MODULE_NAME core QMAKE_LIB libb2) -qt_find_package(WrapRt PROVIDED_TARGETS WrapRt::WrapRt MODULE_NAME core QMAKE_LIB librt) -qt_find_package(LTTngUST PROVIDED_TARGETS LTTng::UST MODULE_NAME core QMAKE_LIB lttng-ust) -qt_add_qmake_lib_dependency(lttng-ust libdl) -qt_find_package(WrapSystemPCRE2 10.20 PROVIDED_TARGETS WrapSystemPCRE2::WrapSystemPCRE2 MODULE_NAME core QMAKE_LIB pcre2) -set_package_properties(WrapPCRE2 PROPERTIES TYPE REQUIRED) -if((QNX) OR QT_FIND_ALL_PACKAGES_ALWAYS) - qt_find_package(PPS PROVIDED_TARGETS PPS::PPS MODULE_NAME core QMAKE_LIB pps) -endif() -qt_find_package(Slog2 PROVIDED_TARGETS Slog2::Slog2 MODULE_NAME core QMAKE_LIB slog2) - - -#### Tests - -# atomicfptr -qt_config_compile_test(atomicfptr - LABEL "working std::atomic for function pointers" - CODE -"#include -typedef void (*fptr)(int); -typedef std::atomic atomicfptr; -void testfunction(int) { } -void test(volatile atomicfptr &a) -{ - fptr v = a.load(std::memory_order_acquire); - while (!a.compare_exchange_strong(v, &testfunction, - std::memory_order_acq_rel, - std::memory_order_acquire)) { - v = a.exchange(&testfunction); - } - a.store(&testfunction, std::memory_order_release); -} - -int main(void) -{ - /* BEGIN TEST: */ -atomicfptr fptr(testfunction); -test(fptr); - /* END TEST: */ - return 0; -} -") - -# clock-monotonic -qt_config_compile_test(clock_monotonic - LABEL "POSIX monotonic clock" - LIBRARIES - WrapRt::WrapRt - CODE -"#include -#include - -int main(void) -{ - /* BEGIN TEST: */ -#if defined(_POSIX_MONOTONIC_CLOCK) && (_POSIX_MONOTONIC_CLOCK-0 >= 0) -timespec ts; -clock_gettime(CLOCK_MONOTONIC, &ts); -#else -# error Feature _POSIX_MONOTONIC_CLOCK not available -#endif - /* END TEST: */ - return 0; -} -") - -# cloexec -qt_config_compile_test(cloexec - LABEL "O_CLOEXEC" - CODE -"#define _GNU_SOURCE 1 -#include -#include -#include -#include - -int main(void) -{ - /* BEGIN TEST: */ -int pipes[2]; -(void) pipe2(pipes, O_CLOEXEC | O_NONBLOCK); -(void) fcntl(0, F_DUPFD_CLOEXEC, 0); -(void) dup3(0, 3, O_CLOEXEC); -#if defined(__NetBSD__) -(void) paccept(0, 0, 0, NULL, SOCK_CLOEXEC | SOCK_NONBLOCK); -#else -(void) accept4(0, 0, 0, SOCK_CLOEXEC | SOCK_NONBLOCK); -#endif - /* END TEST: */ - return 0; -} -") - -# cxx11_future -qt_config_compile_test(cxx11_future - LABEL "C++11 " - CODE -"#include - -int main(void) -{ - /* BEGIN TEST: */ -std::future f = std::async([]() { return 42; }); -(void)f.get(); - /* END TEST: */ - return 0; -} -"# FIXME: qmake: unix:!android:LIBS += -lpthread -) - -# cxx11_random -qt_config_compile_test(cxx11_random - LABEL "C++11 " - CODE -"#include - -int main(void) -{ - /* BEGIN TEST: */ -std::mt19937 mt(0); - /* END TEST: */ - return 0; -} -") - -# cxx17_bm_searcher -qt_config_compile_test(cxx17_bm_searcher - LABEL "C++17 boyer_moore_searcher" - CODE -"#include -#include - -int main(void) -{ - /* BEGIN TEST: */ -const char haystack[] = \"hello\"; -const char needle[] = \"e\"; -const auto it = -std::search(haystack + 0, haystack + std::size(haystack), -std::boyer_moore_searcher(needle + 0, needle + std::size(needle))); -(void)it; - /* END TEST: */ - return 0; -} -"# FIXME: qmake: CONFIG += c++17 -) - -# cxx17_filesystem -qt_config_compile_test(cxx17_filesystem - LABEL "C++17 " - CODE -"#include - -int main(void) -{ - /* BEGIN TEST: */ -std::filesystem::copy( - std::filesystem::path(\"./file\"), - std::filesystem::path(\"./other\")); - /* END TEST: */ - return 0; -} -"# FIXME: qmake: CONFIG += c++17 -) - -# eventfd -qt_config_compile_test(eventfd - LABEL "eventfd" - CODE -"#include - -int main(void) -{ - /* BEGIN TEST: */ -eventfd_t value; -int fd = eventfd(0, EFD_CLOEXEC); -eventfd_read(fd, &value); -eventfd_write(fd, value); - /* END TEST: */ - return 0; -} -") - -# futimens -qt_config_compile_test(futimens - LABEL "futimens()" - CODE -"#include - -int main(void) -{ - /* BEGIN TEST: */ -futimens(-1, 0); - /* END TEST: */ - return 0; -} -"# FIXME: qmake: ["# Block futimens() on Apple platforms unless it's available on ALL", '# deployment targets. This simplifies the logic at the call site', "# dramatically, as it isn't strictly needed compared to futimes().", 'darwin: QMAKE_CXXFLAGS += -Werror=unguarded-availability -Werror=unguarded-availability-new', 'CONFIG += warn_on'] -) - -# futimes -qt_config_compile_test(futimes - LABEL "futimes()" - CODE -"#include - -int main(void) -{ - /* BEGIN TEST: */ -futimes(-1, 0); - /* END TEST: */ - return 0; -} -") - -# getauxval -qt_config_compile_test(getauxval - LABEL "getauxval()" - CODE -"#include - -int main(void) -{ - /* BEGIN TEST: */ -(void) getauxval(AT_NULL); - /* END TEST: */ - return 0; -} -") - -# getentropy -qt_config_compile_test(getentropy - LABEL "getentropy()" - CODE -"#include - -int main(void) -{ - /* BEGIN TEST: */ -char buf[32]; -(void) getentropy(buf, sizeof(buf)); - /* END TEST: */ - return 0; -} -") - -# glibc -qt_config_compile_test(glibc - LABEL "GNU libc" - CODE -"#include - -int main(void) -{ - /* BEGIN TEST: */ -return __GLIBC__; - /* END TEST: */ - return 0; -} -") - -# inotify -qt_config_compile_test(inotify - LABEL "inotify" - CODE -"#include - -int main(void) -{ - /* BEGIN TEST: */ -inotify_init(); -inotify_add_watch(0, \"foobar\", IN_ACCESS); -inotify_rm_watch(0, 1); - /* END TEST: */ - return 0; -} -") - -# ipc_sysv -qt_config_compile_test(ipc_sysv - LABEL "SysV IPC" - CODE -"#include -#include -#include -#include -#include - -int main(void) -{ - /* BEGIN TEST: */ -key_t unix_key = ftok(\"test\", 'Q'); -semctl(semget(unix_key, 1, 0666 | IPC_CREAT | IPC_EXCL), 0, IPC_RMID, 0); -shmget(unix_key, 0, 0666 | IPC_CREAT | IPC_EXCL); -shmctl(0, 0, (struct shmid_ds *)(0)); - /* END TEST: */ - return 0; -} -") - -# ipc_posix -if (LINUX) - set(ipc_posix_TEST_LIBRARIES pthread rt) -endif() -qt_config_compile_test(ipc_posix - LABEL "POSIX IPC" - LIBRARIES - "${ipc_posix_TEST_LIBRARIES}" - CODE -"#include -#include -#include -#include - -int main(void) -{ - /* BEGIN TEST: */ -sem_close(sem_open(\"test\", O_CREAT | O_EXCL, 0666, 0)); -shm_open(\"test\", O_RDWR | O_CREAT | O_EXCL, 0666); -shm_unlink(\"test\"); - /* END TEST: */ - return 0; -} -") - -# linkat -qt_config_compile_test(linkat - LABEL "linkat()" - CODE -"#define _ATFILE_SOURCE 1 -#include -#include - -int main(void) -{ - /* BEGIN TEST: */ -linkat(AT_FDCWD, \"foo\", AT_FDCWD, \"bar\", AT_SYMLINK_FOLLOW); - /* END TEST: */ - return 0; -} -") - -# ppoll -qt_config_compile_test(ppoll - LABEL "ppoll()" - CODE -"#include -#include - -int main(void) -{ - /* BEGIN TEST: */ -struct pollfd pfd; -struct timespec ts; -sigset_t sig; -ppoll(&pfd, 1, &ts, &sig); - /* END TEST: */ - return 0; -} -") - -# pollts -qt_config_compile_test(pollts - LABEL "pollts()" - CODE -"#include -#include -#include - -int main(void) -{ - /* BEGIN TEST: */ -struct pollfd pfd; -struct timespec ts; -sigset_t sig; -pollts(&pfd, 1, &ts, &sig); - /* END TEST: */ - return 0; -} -") - -# poll -qt_config_compile_test(poll - LABEL "poll()" - CODE -"#include - -int main(void) -{ - /* BEGIN TEST: */ -struct pollfd pfd; -poll(&pfd, 1, 0); - /* END TEST: */ - return 0; -} -") - -# renameat2 -qt_config_compile_test(renameat2 - LABEL "renameat2()" - CODE -"#define _ATFILE_SOURCE 1 -#include -#include - -int main(void) -{ - /* BEGIN TEST: */ -renameat2(AT_FDCWD, argv[1], AT_FDCWD, argv[2], RENAME_NOREPLACE | RENAME_WHITEOUT); - /* END TEST: */ - return 0; -} -") - -# statx -qt_config_compile_test(statx - LABEL "statx() in libc" - CODE -"#define _ATFILE_SOURCE 1 -#include -#include -#include -#include - -int main(void) -{ - /* BEGIN TEST: */ -struct statx statxbuf; -unsigned int mask = STATX_BASIC_STATS; -return statx(AT_FDCWD, \"\", AT_STATX_SYNC_AS_STAT, mask, &statxbuf); - /* END TEST: */ - return 0; -} -") - -# syslog -qt_config_compile_test(syslog - LABEL "syslog" - CODE -"#include - -int main(void) -{ - /* BEGIN TEST: */ -openlog(\"qt\", 0, LOG_USER); -syslog(LOG_INFO, \"configure\"); -closelog(); - /* END TEST: */ - return 0; -} -") - -# xlocalescanprint -qt_config_compile_test(xlocalescanprint - LABEL "xlocale.h (or equivalents)" - CODE -"#define QT_BEGIN_NAMESPACE -#define QT_END_NAMESPACE - -#ifdef _MSVC_VER -#define Q_CC_MSVC _MSVC_VER -#endif - -#define QT_NO_DOUBLECONVERSION - -#include QDSP_P_H - -int main(void) -{ - /* BEGIN TEST: */ -#ifdef _MSVC_VER -_locale_t invalidLocale = NULL; -#else -locale_t invalidLocale = NULL; -#endif -double a = 3.4; -qDoubleSnprintf(argv[0], 1, invalidLocale, \"invalid format\", a); -qDoubleSscanf(argv[0], invalidLocale, \"invalid format\", &a, &argc); - /* END TEST: */ - return 0; -} -"# FIXME: qmake: DEFINES += QDSP_P_H=$$shell_quote(\"@PWD@/text/qdoublescanprint_p.h\") -) - - - -#### Features - -qt_feature("clock-gettime" PRIVATE - LABEL "clock_gettime()" - CONDITION UNIX AND WrapRt_FOUND -) -qt_feature("clock-monotonic" PUBLIC - LABEL "POSIX monotonic clock" - CONDITION QT_FEATURE_clock_gettime AND TEST_clock_monotonic -) -qt_feature_definition("clock-monotonic" "QT_NO_CLOCK_MONOTONIC" NEGATE VALUE "1") -qt_feature("doubleconversion" PUBLIC PRIVATE - LABEL "DoubleConversion" -) -qt_feature_definition("doubleconversion" "QT_NO_DOUBLECONVERSION" NEGATE VALUE "1") -qt_feature("system-doubleconversion" PRIVATE - LABEL " Using system DoubleConversion" - CONDITION QT_FEATURE_doubleconversion AND WrapDoubleConversion_FOUND - ENABLE INPUT_doubleconversion STREQUAL 'system' - DISABLE INPUT_doubleconversion STREQUAL 'qt' -) -qt_feature("cxx11_future" PUBLIC - LABEL "C++11 " - CONDITION TEST_cxx11_future -) -qt_feature("cxx17_bm_searcher" PRIVATE - LABEL "C++17 boyer_moore_searcher" - CONDITION TEST_cxx17_bm_searcher -) -qt_feature("cxx17_filesystem" PUBLIC - LABEL "C++17 " - CONDITION TEST_cxx17_filesystem -) -qt_feature("eventfd" PUBLIC - LABEL "eventfd" - CONDITION NOT WASM AND TEST_eventfd -) -qt_feature_definition("eventfd" "QT_NO_EVENTFD" NEGATE VALUE "1") -qt_feature("futimens" PRIVATE - LABEL "futimens()" - CONDITION NOT WIN32 AND TEST_futimens -) -qt_feature("futimes" PRIVATE - LABEL "futimes()" - CONDITION NOT WIN32 AND NOT QT_FEATURE_futimens AND TEST_futimes -) -qt_feature("getauxval" PRIVATE - LABEL "getauxval()" - CONDITION LINUX AND TEST_getauxval -) -qt_feature("getentropy" PRIVATE - LABEL "getentropy()" - CONDITION UNIX AND TEST_getentropy -) -qt_feature("glib" PUBLIC PRIVATE - LABEL "GLib" - AUTODETECT NOT WIN32 - CONDITION GLIB2_FOUND -) -qt_feature_definition("glib" "QT_NO_GLIB" NEGATE VALUE "1") -qt_feature("glibc" PRIVATE - LABEL "GNU libc" - AUTODETECT LINUX - CONDITION TEST_glibc -) -qt_feature("icu" PRIVATE - LABEL "ICU" - AUTODETECT NOT WIN32 - CONDITION ICU_FOUND -) -qt_feature("inotify" PUBLIC PRIVATE - LABEL "inotify" - CONDITION TEST_inotify -) -qt_feature_definition("inotify" "QT_NO_INOTIFY" NEGATE VALUE "1") -qt_feature("ipc_posix" - LABEL "Using POSIX IPC" - AUTODETECT NOT WIN32 - CONDITION NOT TEST_ipc_sysv AND TEST_ipc_posix -) -qt_feature_definition("ipc_posix" "QT_POSIX_IPC") -qt_feature("journald" PRIVATE - LABEL "journald" - AUTODETECT OFF - CONDITION Libsystemd_FOUND -) -# Used by QCryptographicHash for the BLAKE2 hashing algorithms -qt_feature("system-libb2" PRIVATE - LABEL "Using system libb2" - CONDITION Libb2_FOUND - ENABLE INPUT_libb2 STREQUAL 'system' - DISABLE INPUT_libb2 STREQUAL 'no' OR INPUT_libb2 STREQUAL 'qt' -) -# Currently only used by QTemporaryFile; linkat() exists on Android, but hardlink creation fails due to security rules -qt_feature("linkat" PRIVATE - LABEL "linkat()" - AUTODETECT LINUX AND NOT ANDROID - CONDITION TEST_linkat -) -qt_feature("std-atomic64" PUBLIC - LABEL "64 bit atomic operations" - CONDITION WrapAtomic_FOUND -) -qt_feature("mimetype" PUBLIC - SECTION "Utilities" - LABEL "Mimetype handling" - PURPOSE "Provides MIME type handling." -) -qt_feature_definition("mimetype" "QT_NO_MIMETYPE" NEGATE VALUE "1") -qt_feature("mimetype-database" PRIVATE - LABEL "Built-in copy of the MIME database" - CONDITION QT_FEATURE_mimetype -) -qt_feature("pcre2" - LABEL "PCRE2" - ENABLE INPUT_pcre STREQUAL 'qt' OR QT_FEATURE_system_pcre2 - DISABLE INPUT_pcre STREQUAL 'no' -) -qt_feature_config("pcre2" QMAKE_PRIVATE_CONFIG) -qt_feature("system-pcre2" PRIVATE - LABEL " Using system PCRE2" - CONDITION WrapSystemPCRE2_FOUND - ENABLE INPUT_pcre STREQUAL 'system' - DISABLE INPUT_pcre STREQUAL 'no' OR INPUT_pcre STREQUAL 'qt' -) -qt_feature("poll_ppoll" PRIVATE - LABEL "Native ppoll()" - CONDITION NOT WASM AND TEST_ppoll - EMIT_IF NOT WIN32 -) -qt_feature("poll_pollts" PRIVATE - LABEL "Native pollts()" - CONDITION NOT QT_FEATURE_poll_ppoll AND TEST_pollts - EMIT_IF NOT WIN32 -) -qt_feature("poll_poll" PRIVATE - LABEL "Native poll()" - CONDITION NOT QT_FEATURE_poll_ppoll AND NOT QT_FEATURE_poll_pollts AND TEST_poll - EMIT_IF NOT WIN32 -) -qt_feature("poll_select" PRIVATE - LABEL "Emulated poll()" - CONDITION NOT QT_FEATURE_poll_ppoll AND NOT QT_FEATURE_poll_pollts AND NOT QT_FEATURE_poll_poll - EMIT_IF NOT WIN32 -) -qt_feature_definition("poll_select" "QT_NO_NATIVE_POLL") -qt_feature("qqnx_pps" PRIVATE - LABEL "PPS" - CONDITION PPS_FOUND - EMIT_IF QNX -) -qt_feature("renameat2" PRIVATE - LABEL "renameat2()" - CONDITION LINUX AND TEST_renameat2 -) -qt_feature("slog2" PRIVATE - LABEL "slog2" - CONDITION Slog2_FOUND -) -qt_feature("statx" PRIVATE - LABEL "statx() in libc" - CONDITION LINUX AND TEST_statx -) -qt_feature("syslog" PRIVATE - LABEL "syslog" - AUTODETECT OFF - CONDITION TEST_syslog -) -qt_feature("threadsafe-cloexec" - LABEL "Threadsafe pipe creation" - CONDITION TEST_cloexec -) -qt_feature_definition("threadsafe-cloexec" "QT_THREADSAFE_CLOEXEC" VALUE "1") -qt_feature_config("threadsafe-cloexec" QMAKE_PUBLIC_QT_CONFIG) -qt_feature("properties" PUBLIC - SECTION "Kernel" - LABEL "Properties" - PURPOSE "Supports scripting Qt-based applications." -) -qt_feature_definition("properties" "QT_NO_PROPERTIES" NEGATE VALUE "1") -qt_feature("regularexpression" PUBLIC - SECTION "Kernel" - LABEL "QRegularExpression" - PURPOSE "Provides an API to Perl-compatible regular expressions." - CONDITION QT_FEATURE_system_pcre2 OR QT_FEATURE_pcre2 -) -qt_feature_definition("regularexpression" "QT_NO_REGULAREXPRESSION" NEGATE VALUE "1") -qt_feature("backtrace" PRIVATE - LABEL "backtrace" - CONDITION UNIX AND QT_FEATURE_regularexpression AND WrapBacktrace_FOUND -) -qt_feature("sharedmemory" PUBLIC - SECTION "Kernel" - LABEL "QSharedMemory" - PURPOSE "Provides access to a shared memory segment." - CONDITION ( ANDROID OR WIN32 OR ( NOT VXWORKS AND ( TEST_ipc_sysv OR TEST_ipc_posix ) ) ) -) -qt_feature_definition("sharedmemory" "QT_NO_SHAREDMEMORY" NEGATE VALUE "1") -qt_feature("shortcut" PUBLIC - SECTION "Kernel" - LABEL "QShortcut" - PURPOSE "Provides keyboard accelerators and shortcuts." -) -qt_feature_definition("shortcut" "QT_NO_SHORTCUT" NEGATE VALUE "1") -qt_feature("systemsemaphore" PUBLIC - SECTION "Kernel" - LABEL "QSystemSemaphore" - PURPOSE "Provides a general counting system semaphore." - CONDITION ( NOT INTEGRITY AND NOT VXWORKS AND NOT rtems ) AND ( ANDROID OR WIN32 OR TEST_ipc_sysv OR TEST_ipc_posix ) -) -qt_feature_definition("systemsemaphore" "QT_NO_SYSTEMSEMAPHORE" NEGATE VALUE "1") -qt_feature("xmlstream" PUBLIC - SECTION "Kernel" - LABEL "XML Streaming APIs" - PURPOSE "Provides a simple streaming API for XML." -) -qt_feature_definition("xmlstream" "QT_NO_XMLSTREAM" NEGATE VALUE "1") -qt_feature("xmlstreamreader" PUBLIC - SECTION "Kernel" - LABEL "QXmlStreamReader" - PURPOSE "Provides a well-formed XML parser with a simple streaming API." - CONDITION QT_FEATURE_xmlstream -) -qt_feature_definition("xmlstreamreader" "QT_NO_XMLSTREAMREADER" NEGATE VALUE "1") -qt_feature("xmlstreamwriter" PUBLIC - SECTION "Kernel" - LABEL "QXmlStreamWriter" - PURPOSE "Provides a XML writer with a simple streaming API." - CONDITION QT_FEATURE_xmlstream -) -qt_feature_definition("xmlstreamwriter" "QT_NO_XMLSTREAMWRITER" NEGATE VALUE "1") -qt_feature("textdate" PUBLIC - SECTION "Data structures" - LABEL "Text Date" - PURPOSE "Supports month and day names in dates." -) -qt_feature_definition("textdate" "QT_NO_TEXTDATE" NEGATE VALUE "1") -qt_feature("datestring" PUBLIC - SECTION "Data structures" - LABEL "QDate/QTime/QDateTime" - PURPOSE "Provides conversion between dates and strings." - CONDITION QT_FEATURE_textdate -) -qt_feature_definition("datestring" "QT_NO_DATESTRING" NEGATE VALUE "1") -qt_feature("process" PUBLIC - SECTION "File I/O" - LABEL "QProcess" - PURPOSE "Supports external process invocation." - CONDITION QT_FEATURE_processenvironment AND ( QT_FEATURE_thread OR NOT UNIX ) AND NOT UIKIT AND NOT INTEGRITY AND NOT VXWORKS AND NOT rtems -) -qt_feature_definition("process" "QT_NO_PROCESS" NEGATE VALUE "1") -qt_feature("processenvironment" PUBLIC - SECTION "File I/O" - LABEL "QProcessEnvironment" - PURPOSE "Provides a higher-level abstraction of environment variables." - CONDITION NOT INTEGRITY AND NOT rtems -) -qt_feature("temporaryfile" PUBLIC - SECTION "File I/O" - LABEL "QTemporaryFile" - PURPOSE "Provides an I/O device that operates on temporary files." -) -qt_feature_definition("temporaryfile" "QT_NO_TEMPORARYFILE" NEGATE VALUE "1") -qt_feature("library" PUBLIC - SECTION "File I/O" - LABEL "QLibrary" - PURPOSE "Provides a wrapper for dynamically loaded libraries." - CONDITION WIN32 OR HPUX OR ( NOT NACL AND QT_FEATURE_dlopen ) -) -qt_feature_definition("library" "QT_NO_LIBRARY" NEGATE VALUE "1") -qt_feature("settings" PUBLIC - SECTION "File I/O" - LABEL "QSettings" - PURPOSE "Provides persistent application settings." -) -qt_feature_definition("settings" "QT_NO_SETTINGS" NEGATE VALUE "1") -qt_feature("filesystemwatcher" PUBLIC - SECTION "File I/O" - LABEL "QFileSystemWatcher" - PURPOSE "Provides an interface for monitoring files and directories for modifications." -) -qt_feature_definition("filesystemwatcher" "QT_NO_FILESYSTEMWATCHER" NEGATE VALUE "1") -qt_feature("filesystemiterator" PUBLIC - SECTION "File I/O" - LABEL "QFileSystemIterator" - PURPOSE "Provides fast file system iteration." -) -qt_feature_definition("filesystemiterator" "QT_NO_FILESYSTEMITERATOR" NEGATE VALUE "1") -qt_feature("itemmodel" PUBLIC - SECTION "ItemViews" - LABEL "Qt Item Model" - PURPOSE "Provides the item model for item views" -) -qt_feature_definition("itemmodel" "QT_NO_ITEMMODEL" NEGATE VALUE "1") -qt_feature("proxymodel" PUBLIC - SECTION "ItemViews" - LABEL "QAbstractProxyModel" - PURPOSE "Supports processing of data passed between another model and a view." - CONDITION QT_FEATURE_itemmodel -) -qt_feature_definition("proxymodel" "QT_NO_PROXYMODEL" NEGATE VALUE "1") -qt_feature("sortfilterproxymodel" PUBLIC - SECTION "ItemViews" - LABEL "QSortFilterProxyModel" - PURPOSE "Supports sorting and filtering of data passed between another model and a view." - CONDITION QT_FEATURE_proxymodel AND QT_FEATURE_regularexpression -) -qt_feature_definition("sortfilterproxymodel" "QT_NO_SORTFILTERPROXYMODEL" NEGATE VALUE "1") -qt_feature("identityproxymodel" PUBLIC - SECTION "ItemViews" - LABEL "QIdentityProxyModel" - PURPOSE "Supports proxying a source model unmodified." - CONDITION QT_FEATURE_proxymodel -) -qt_feature_definition("identityproxymodel" "QT_NO_IDENTITYPROXYMODEL" NEGATE VALUE "1") -qt_feature("transposeproxymodel" PUBLIC - SECTION "ItemViews" - LABEL "QTransposeProxyModel" - PURPOSE "Provides a proxy to swap rows and columns of a model." - CONDITION QT_FEATURE_proxymodel -) -qt_feature_definition("transposeproxymodel" "QT_NO_TRANSPOSEPROXYMODEL" NEGATE VALUE "1") -qt_feature("concatenatetablesproxymodel" PUBLIC - SECTION "ItemViews" - LABEL "QConcatenateTablesProxyModel" - PURPOSE "Supports concatenating source models." - CONDITION QT_FEATURE_proxymodel -) -qt_feature_definition("concatenatetablesproxymodel" "QT_NO_CONCATENATETABLESPROXYMODEL" NEGATE VALUE "1") -qt_feature("stringlistmodel" PUBLIC - SECTION "ItemViews" - LABEL "QStringListModel" - PURPOSE "Provides a model that supplies strings to views." - CONDITION QT_FEATURE_itemmodel -) -qt_feature_definition("stringlistmodel" "QT_NO_STRINGLISTMODEL" NEGATE VALUE "1") -qt_feature("translation" PUBLIC - SECTION "Internationalization" - LABEL "Translation" - PURPOSE "Supports translations using QObject::tr()." -) -qt_feature_definition("translation" "QT_NO_TRANSLATION" NEGATE VALUE "1") -qt_feature("easingcurve" PUBLIC - SECTION "Utilities" - LABEL "Easing curve" - PURPOSE "Provides easing curve." -) -qt_feature("animation" PUBLIC - SECTION "Utilities" - LABEL "Animation" - PURPOSE "Provides a framework for animations." - CONDITION QT_FEATURE_properties AND QT_FEATURE_easingcurve -) -qt_feature_definition("animation" "QT_NO_ANIMATION" NEGATE VALUE "1") -qt_feature("gestures" PUBLIC - SECTION "Utilities" - LABEL "Gesture" - PURPOSE "Provides a framework for gestures." -) -qt_feature_definition("gestures" "QT_NO_GESTURES" NEGATE VALUE "1") -qt_feature("sha3-fast" PRIVATE - SECTION "Utilities" - LABEL "Speed optimized SHA3" - PURPOSE "Optimizes SHA3 for speed instead of size." -) -qt_feature("jalalicalendar" PUBLIC - SECTION "Utilities" - LABEL "QJalaliCalendar" - PURPOSE "Support the Jalali (Persian) calendar" -) -qt_feature("hijricalendar" PRIVATE - SECTION "Utilities" - LABEL "QHijriCalendar" - PURPOSE "Generic basis for Islamic calendars, providing shared locale data" -) -qt_feature("islamiccivilcalendar" PUBLIC - SECTION "Utilities" - LABEL "QIslamicCivilCalendar" - PURPOSE "Support the Islamic Civil calendar" - CONDITION QT_FEATURE_hijricalendar -) -qt_feature("timezone" PUBLIC - SECTION "Utilities" - LABEL "QTimeZone" - PURPOSE "Provides support for time-zone handling." -) -qt_feature("datetimeparser" PRIVATE - SECTION "Utilities" - LABEL "QDateTimeParser" - PURPOSE "Provides support for parsing date-time texts." - CONDITION QT_FEATURE_datestring -) -qt_feature("commandlineparser" PUBLIC - SECTION "Utilities" - LABEL "QCommandlineParser" - PURPOSE "Provides support for command line parsing." -) -qt_feature("lttng" PRIVATE - LABEL "LTTNG" - AUTODETECT OFF - CONDITION LINUX AND LTTNGUST_FOUND - ENABLE INPUT_trace STREQUAL 'lttng' OR ( INPUT_trace STREQUAL 'yes' AND LINUX ) - DISABLE INPUT_trace STREQUAL 'etw' OR INPUT_trace STREQUAL 'no' -) -qt_feature("etw" PRIVATE - LABEL "ETW" - AUTODETECT OFF - CONDITION WIN32 - ENABLE INPUT_trace STREQUAL 'etw' OR ( INPUT_trace STREQUAL 'yes' AND WIN32 ) - DISABLE INPUT_trace STREQUAL 'lttng' OR INPUT_trace STREQUAL 'no' -) -qt_feature("forkfd_pidfd" PRIVATE - LABEL "CLONE_PIDFD support in forkfd" - CONDITION LINUX -) -qt_feature("cborstreamreader" PUBLIC - SECTION "Utilities" - LABEL "CBOR stream reading" - PURPOSE "Provides support for reading the CBOR binary format. Note that this is required for plugin loading. Qt GUI needs QPA plugins for basic operation." -) -qt_feature("cborstreamwriter" PUBLIC - SECTION "Utilities" - LABEL "CBOR stream writing" - PURPOSE "Provides support for writing the CBOR binary format." -) -qt_configure_add_summary_section(NAME "Qt Core") -qt_configure_add_summary_entry(ARGS "backtrace") -qt_configure_add_summary_entry(ARGS "doubleconversion") -qt_configure_add_summary_entry(ARGS "system-doubleconversion") -qt_configure_add_summary_entry(ARGS "glib") -qt_configure_add_summary_entry(ARGS "icu") -qt_configure_add_summary_entry(ARGS "system-libb2") -qt_configure_add_summary_entry(ARGS "mimetype-database") -qt_configure_add_summary_entry( - TYPE "firstAvailableFeature" - ARGS "etw lttng" - MESSAGE "Tracing backend" -) -qt_configure_add_summary_section(NAME "Logging backends") -qt_configure_add_summary_entry(ARGS "journald") -qt_configure_add_summary_entry(ARGS "syslog") -qt_configure_add_summary_entry(ARGS "slog2") -qt_configure_end_summary_section() # end of "Logging backends" section -qt_configure_add_summary_entry( - ARGS "qqnx_pps" - CONDITION QNX -) -qt_configure_add_summary_entry(ARGS "pcre2") -qt_configure_add_summary_entry(ARGS "system-pcre2") -qt_configure_add_summary_entry( - ARGS "forkfd_pidfd" - CONDITION LINUX -) -qt_configure_end_summary_section() # end of "Qt Core" section -qt_configure_add_report_entry( - TYPE NOTE - MESSAGE "journald, syslog or slog2 integration is enabled. If your users intend to develop applications against this build, ensure that the IDEs they use either set QT_FORCE_STDERR_LOGGING to 1 or are able to read the logged output from journald, syslog or slog2." - CONDITION QT_FEATURE_journald OR QT_FEATURE_syslog OR ( QNX AND QT_FEATURE_slog2 ) -) -qt_configure_add_report_entry( - TYPE ERROR - MESSAGE "C++11 is required and is missing or failed to compile." - CONDITION NOT TEST_cxx11_random -) -qt_configure_add_report_entry( - TYPE ERROR - MESSAGE "Your C library does not provide sscanf_l or snprintf_l. You need to use libdouble-conversion for double/string conversion." - CONDITION INPUT_doubleconversion STREQUAL 'no' AND NOT TEST_xlocalescanprint -) -qt_configure_add_report_entry( - TYPE ERROR - MESSAGE "detected a std::atomic implementation that fails for function pointers. Please apply the patch corresponding to your Standard Library vendor, found in qtbase/config.tests/atomicfptr" - CONDITION NOT TEST_atomicfptr -) -qt_configure_add_report_entry( - TYPE ERROR - MESSAGE "Qt requires poll(), ppoll(), poll_ts() or select() on this platform" - CONDITION ( UNIX OR INTEGRITY ) AND ( NOT QT_FEATURE_poll_ppoll ) AND ( NOT QT_FEATURE_poll_pollts ) AND ( NOT QT_FEATURE_poll_poll ) AND ( NOT QT_FEATURE_poll_select ) -) diff --git a/src/corelib/configure.json b/src/corelib/configure.json deleted file mode 100644 index 03127a0b96..0000000000 --- a/src/corelib/configure.json +++ /dev/null @@ -1,1088 +0,0 @@ -{ - "module": "core", - "testDir": "../../config.tests", - - "commandline": { - "options": { - "doubleconversion": { "type": "enum", "values": [ "no", "qt", "system" ] }, - "eventfd": "boolean", - "glib": "boolean", - "icu": "boolean", - "inotify": "boolean", - "journald": "boolean", - "libb2": { "type": "enum", "values": [ "no", "qt", "system" ] }, - "mimetype-database": "boolean", - "pcre": { "type": "enum", "values": [ "no", "qt", "system" ] }, - "posix-ipc": { "type": "boolean", "name": "ipc_posix" }, - "pps": { "type": "boolean", "name": "qqnx_pps" }, - "slog2": "boolean", - "syslog": "boolean", - "trace": { "type": "optionalString", "values": [ "etw", "lttng", "no", "yes" ] } - } - }, - - "libraries": { - "backtrace": { - "label": "backtrace", - "test": { - "main": - [ "void *buffer[100];", - "int nptrs = backtrace(buffer, 100);" - ] - }, - "headers": "execinfo.h", - "sources": [ "-lexecinfo" ] - }, - "doubleconversion": { - "label": "DoubleConversion", - "test": { - "main": "(void) double_conversion::StringToDoubleConverter::NO_FLAGS;" - }, - "headers": "double-conversion/double-conversion.h", - "sources": [ - "-ldouble-conversion" - ] - }, - "glib": { - "label": "GLib", - "test": { - "head": "typedef struct _GMainContext GMainContext;", - "main": [ - "g_thread_init(NULL);", - "(void) g_main_context_default();", - "(void) g_source_new(0, 0);", - "g_source_add_poll(NULL, NULL);" - ] - }, - "headers": "glib.h", - "sources": [ - { "type": "pkgConfig", "args": "glib-2.0 gthread-2.0" } - ] - }, - "icu": { - "label": "ICU", - "test": { - "main": [ - "UErrorCode status = U_ZERO_ERROR;", - "UCollator *collator = ucol_open(\"ru_RU\", &status);", - "if (!U_FAILURE(status))", - " ucol_close(collator);" - ] - }, - "headers": [ "unicode/utypes.h", "unicode/ucol.h", "unicode/ustring.h" ], - "sources": [ - { - "builds": { - "debug": "-lsicuind -lsicuucd -lsicudtd", - "release": "-lsicuin -lsicuuc -lsicudt" - }, - "condition": "config.win32 && !features.shared" - }, - { "libs": "-licuin -licuuc -licudt", "condition": "config.win32 && features.shared" }, - { "libs": "-licui18n -licuuc -licudata", "condition": "!config.win32" } - ], - "use": [ - { "lib": "libdl", "condition": "features.dlopen" } - ] - }, - "journald": { - "label": "journald", - "test": { - "main": "sd_journal_send(\"PRIORITY=%i\", LOG_INFO, NULL);" - }, - "headers": [ "systemd/sd-journal.h", "syslog.h" ], - "sources": [ - { "type": "pkgConfig", "args": "libsystemd" }, - { "type": "pkgConfig", "args": "libsystemd-journal" } - ] - }, - "libatomic": { - "label": "64 bit atomics", - "test": { - "tail": [ - "void test(volatile std::atomic &a)", - "{", - " std::int64_t v = a.load(std::memory_order_acquire);", - " while (!a.compare_exchange_strong(v, v + 1,", - " std::memory_order_acq_rel,", - " std::memory_order_acquire)) {", - " v = a.exchange(v - 1);", - " }", - " a.store(v + 1, std::memory_order_release);", - "}" - ], - "main": [ - "void *ptr = (void*)0xffffffc0; // any random pointer", - "test(*reinterpret_cast *>(ptr));" - ], - "qmake": "CONFIG += c++11" - }, - "headers": [ "atomic", "cstdint" ], - "sources": [ - "", - "-latomic" - ] - }, - "libb2": { - "label": "libb2", - "test": { - "main": "BLAKE2B_BLOCKBYTES;" - }, - "headers": "blake2.h", - "sources": [ - { "type": "pkgConfig", "args": "libb2" }, - "-lb2" - ] - }, - "librt": { - "label": "clock_gettime()", - "test": { - "main": "timespec ts; clock_gettime(CLOCK_REALTIME, &ts);" - }, - "headers": [ "unistd.h", "time.h" ], - "sources": [ - "", - "-lrt" - ] - }, - "lttng-ust": { - "label": "lttng-ust", - "test": { - "main": "lttng_session_destroy(nullptr);" - }, - "headers": "lttng/ust-events.h", - "sources": [ - { "type": "pkgConfig", "args": "lttng-ust" }, - "-llttng-ust" - ], - "use": "libdl" - }, - "pcre2": { - "label": "PCRE2", - "test": { - "head": "#define PCRE2_CODE_UNIT_WIDTH 16", - "tail": [ - "#if (PCRE2_MAJOR < 10) || ((PCRE2_MAJOR == 10) && (PCRE2_MINOR < 20))", - "# error This PCRE version is not supported", - "#endif" - ] - }, - "headers": "pcre2.h", - "sources": [ - { "type": "pkgConfig", "args": "libpcre2-16" }, - "-lpcre2-16" - ] - }, - "pps": { - "label": "PPS", - "test": { - "main": [ - "pps_decoder_t decoder;", - "pps_decoder_initialize(&decoder, NULL);" - ] - }, - "headers": "sys/pps.h", - "sources": [ - "-lpps" - ] - }, - "slog2": { - "label": "slog2", - "test": { - "main": "slog2_set_default_buffer((slog2_buffer_t)-1);" - }, - "export": "", - "headers": "sys/slog2.h", - "sources": [ - "-lslog2" - ] - } - }, - - "tests": { - "atomicfptr": { - "label": "working std::atomic for function pointers", - "type": "compile", - "test": { - "include": "atomic", - "tail": [ - "typedef void (*fptr)(int);", - "typedef std::atomic atomicfptr;", - "void testfunction(int) { }", - "void test(volatile atomicfptr &a)", - "{", - " fptr v = a.load(std::memory_order_acquire);", - " while (!a.compare_exchange_strong(v, &testfunction,", - " std::memory_order_acq_rel,", - " std::memory_order_acquire)) {", - " v = a.exchange(&testfunction);", - " }", - " a.store(&testfunction, std::memory_order_release);", - "}" - ], - "main": [ - "atomicfptr fptr(testfunction);", - "test(fptr);" - ], - "qmake": "CONFIG += c++11" - } - }, - "clock-monotonic": { - "label": "POSIX monotonic clock", - "type": "compile", - "test": { - "include": [ "unistd.h", "time.h" ], - "main": [ - "#if defined(_POSIX_MONOTONIC_CLOCK) && (_POSIX_MONOTONIC_CLOCK-0 >= 0)", - "timespec ts;", - "clock_gettime(CLOCK_MONOTONIC, &ts);", - "#else", - "# error Feature _POSIX_MONOTONIC_CLOCK not available", - "#endif" - ] - }, - "use": "librt" - }, - "cloexec": { - "label": "O_CLOEXEC", - "type": "compile", - "test": { - "head": "#define _GNU_SOURCE 1", - "include": [ "sys/types.h", "sys/socket.h", "fcntl.h", "unistd.h" ], - "main": [ - "int pipes[2];", - "(void) pipe2(pipes, O_CLOEXEC | O_NONBLOCK);", - "(void) fcntl(0, F_DUPFD_CLOEXEC, 0);", - "(void) dup3(0, 3, O_CLOEXEC);", - "#if defined(__NetBSD__)", - "(void) paccept(0, 0, 0, NULL, SOCK_CLOEXEC | SOCK_NONBLOCK);", - "#else", - "(void) accept4(0, 0, 0, SOCK_CLOEXEC | SOCK_NONBLOCK);", - "#endif" - ] - } - }, - "cxx11_future": { - "label": "C++11 ", - "type": "compile", - "test": { - "include": "future", - "main": [ - "std::future f = std::async([]() { return 42; });", - "(void)f.get();" - ], - "qmake": "unix:!android:LIBS += -lpthread" - } - }, - "cxx11_random": { - "label": "C++11 ", - "type": "compile", - "test": { - "include": "random", - "main": "std::mt19937 mt(0);" - } - }, - "cxx17_bm_searcher": { - "label": "C++17 boyer_moore_searcher", - "type": "compile", - "test": { - "include": [ "algorithm", "functional" ], - "main": [ - "const char haystack[] = \"hello\";", - "const char needle[] = \"e\";", - "const auto it =", - "std::search(haystack + 0, haystack + std::size(haystack),", - "std::boyer_moore_searcher(needle + 0, needle + std::size(needle)));", - "(void)it;" - ], - "qmake": "CONFIG += c++17" - } - }, - "cxx17_filesystem": { - "label": "C++17 ", - "type": "compile", - "test": { - "include": "filesystem", - "main": [ - "std::filesystem::copy(", - " std::filesystem::path(\"./file\"),", - " std::filesystem::path(\"./other\"));" - ], - "qmake": "CONFIG += c++17" - } - }, - "eventfd": { - "label": "eventfd", - "type": "compile", - "test": { - "include": "sys/eventfd.h", - "main": [ - "eventfd_t value;", - "int fd = eventfd(0, EFD_CLOEXEC);", - "eventfd_read(fd, &value);", - "eventfd_write(fd, value);" - ] - } - }, - "futimens": { - "label": "futimens()", - "type": "compile", - "test": { - "include": "sys/stat.h", - "main": "futimens(-1, 0);", - "qmake": [ - "# Block futimens() on Apple platforms unless it's available on ALL", - "# deployment targets. This simplifies the logic at the call site", - "# dramatically, as it isn't strictly needed compared to futimes().", - "darwin: QMAKE_CXXFLAGS += -Werror=unguarded-availability -Werror=unguarded-availability-new", - "CONFIG += warn_on" - ] - } - }, - "futimes": { - "label": "futimes()", - "type": "compile", - "test": { - "include": "sys/time.h", - "main": "futimes(-1, 0);" - } - }, - "getauxval": { - "label": "getauxval()", - "type": "compile", - "test": { - "include": "sys/auxv.h", - "main": "(void) getauxval(AT_NULL);" - } - }, - "getentropy": { - "label": "getentropy()", - "type": "compile", - "test": { - "include": "unistd.h", - "main": [ - "char buf[32];", - "(void) getentropy(buf, sizeof(buf));" - ] - } - }, - "glibc": { - "label": "GNU libc", - "type": "compile", - "test": { - "include": "stdlib.h", - "main": [ - "return __GLIBC__;" - ] - } - }, - "inotify": { - "label": "inotify", - "type": "compile", - "test": { - "include": "sys/inotify.h", - "main": [ - "inotify_init();", - "inotify_add_watch(0, \"foobar\", IN_ACCESS);", - "inotify_rm_watch(0, 1);" - ] - } - }, - "ipc_sysv": { - "label": "SysV IPC", - "type": "compile", - "test": { - "include": [ "sys/types.h", "sys/ipc.h", "sys/sem.h", "sys/shm.h", "fcntl.h" ], - "main": [ - "key_t unix_key = ftok(\"test\", 'Q');", - "semctl(semget(unix_key, 1, 0666 | IPC_CREAT | IPC_EXCL), 0, IPC_RMID, 0);", - "shmget(unix_key, 0, 0666 | IPC_CREAT | IPC_EXCL);", - "shmctl(0, 0, (struct shmid_ds *)(0));" - ] - } - }, - "ipc_posix": { - "label": "POSIX IPC", - "type": "compile", - "test": { - "include": [ "sys/types.h", "sys/mman.h", "semaphore.h", "fcntl.h" ], - "main": [ - "sem_close(sem_open(\"test\", O_CREAT | O_EXCL, 0666, 0));", - "shm_open(\"test\", O_RDWR | O_CREAT | O_EXCL, 0666);", - "shm_unlink(\"test\");" - ], - "qmake": "linux: LIBS += -lpthread -lrt" - } - }, - "linkat": { - "label": "linkat()", - "type": "compile", - "test": { - "head": "#define _ATFILE_SOURCE 1", - "include": [ "fcntl.h", "unistd.h" ], - "main": "linkat(AT_FDCWD, \"foo\", AT_FDCWD, \"bar\", AT_SYMLINK_FOLLOW);" - } - }, - "ppoll": { - "label": "ppoll()", - "type": "compile", - "test": { - "include": [ "signal.h", "poll.h" ], - "main": [ - "struct pollfd pfd;", - "struct timespec ts;", - "sigset_t sig;", - "ppoll(&pfd, 1, &ts, &sig);" - ] - } - }, - "pollts": { - "label": "pollts()", - "type": "compile", - "test": { - "include": [ "poll.h", "signal.h", "time.h" ], - "main": [ - "struct pollfd pfd;", - "struct timespec ts;", - "sigset_t sig;", - "pollts(&pfd, 1, &ts, &sig);" - ] - } - }, - "poll": { - "label": "poll()", - "type": "compile", - "test": { - "include": "poll.h", - "main": [ - "struct pollfd pfd;", - "poll(&pfd, 1, 0);" - ] - } - }, - "renameat2": { - "label": "renameat2()", - "type": "compile", - "test": { - "head": "#define _ATFILE_SOURCE 1", - "include": [ "fcntl.h", "stdio.h" ], - "main": "renameat2(AT_FDCWD, argv[1], AT_FDCWD, argv[2], RENAME_NOREPLACE | RENAME_WHITEOUT);" - } - }, - "statx": { - "label": "statx() in libc", - "type": "compile", - "test": { - "head": "#define _ATFILE_SOURCE 1", - "include": [ "sys/types.h", "sys/stat.h", "unistd.h", "fcntl.h" ], - "main": [ - "struct statx statxbuf;", - "unsigned int mask = STATX_BASIC_STATS;", - "return statx(AT_FDCWD, \"\", AT_STATX_SYNC_AS_STAT, mask, &statxbuf);" - ] - } - }, - "syslog": { - "label": "syslog", - "type": "compile", - "test": { - "include": "syslog.h", - "main": [ - "openlog(\"qt\", 0, LOG_USER);", - "syslog(LOG_INFO, \"configure\");", - "closelog();" - ] - } - }, - "xlocalescanprint": { - "label": "xlocale.h (or equivalents)", - "type": "compile", - "test": { - "files": { - "qglobal.h": [ - "#ifndef QGLOBAL_H", - "#define QGLOBAL_H", - "#endif" - ] - }, - "tail": [ - "#define QT_BEGIN_NAMESPACE", - "#define QT_END_NAMESPACE", - "", - "#ifdef _MSVC_VER", - "#define Q_CC_MSVC _MSVC_VER", - "#endif", - "", - "#define QT_NO_DOUBLECONVERSION", - "", - "#include QDSP_P_H" - ], - "main": [ - "#ifdef _MSVC_VER", - "_locale_t invalidLocale = NULL;", - "#else", - "locale_t invalidLocale = NULL;", - "#endif", - "double a = 3.4;", - "qDoubleSnprintf(argv[0], 1, invalidLocale, \"invalid format\", a);", - "qDoubleSscanf(argv[0], invalidLocale, \"invalid format\", &a, &argc);" - ], - "qmake": "DEFINES += QDSP_P_H=$$shell_quote(\\\"@PWD@/text/qdoublescanprint_p.h\\\")" - } - } - }, - - "features": { - "clock-gettime": { - "label": "clock_gettime()", - "condition": "config.unix && libs.librt", - "output": [ "privateFeature" ] - }, - "clock-monotonic": { - "label": "POSIX monotonic clock", - "condition": "features.clock-gettime && tests.clock-monotonic", - "output": [ "feature" ] - }, - "doubleconversion": { - "label": "DoubleConversion", - "output": [ "privateFeature", "feature" ] - }, - "system-doubleconversion": { - "label": " Using system DoubleConversion", - "enable": "input.doubleconversion == 'system'", - "disable": "input.doubleconversion == 'qt'", - "condition": "features.doubleconversion && libs.doubleconversion", - "output": [ "privateFeature" ] - }, - "cxx11_future": { - "label": "C++11 ", - "condition": "tests.cxx11_future", - "output": [ "publicFeature" ] - }, - "cxx17_bm_searcher": { - "label": "C++17 boyer_moore_searcher", - "condition": "tests.cxx17_bm_searcher", - "output": [ - "privateFeature" - ] - }, - "cxx17_filesystem": { - "label": "C++17 ", - "condition": "tests.cxx17_filesystem", - "output": [ - "publicFeature" - ] - }, - "eventfd": { - "label": "eventfd", - "condition": "!config.wasm && tests.eventfd", - "output": [ "feature" ] - }, - "futimens": { - "label": "futimens()", - "condition": "!config.win32 && tests.futimens", - "output": [ "privateFeature" ] - }, - "futimes": { - "label": "futimes()", - "condition": "!config.win32 && !features.futimens && tests.futimes", - "output": [ "privateFeature" ] - }, - "getauxval": { - "label": "getauxval()", - "condition": "config.linux && tests.getauxval", - "output": [ "privateFeature" ] - }, - "getentropy": { - "label": "getentropy()", - "condition": "config.unix && tests.getentropy", - "output": [ "privateFeature" ] - }, - "glib": { - "label": "GLib", - "autoDetect": "!config.win32", - "condition": "libs.glib", - "output": [ "privateFeature", "feature" ] - }, - "glibc": { - "label": "GNU libc", - "autoDetect": "config.linux", - "condition": "tests.glibc", - "output": [ "privateFeature" ] - }, - "icu": { - "label": "ICU", - "autoDetect": "!config.win32", - "condition": "libs.icu", - "output": [ "privateFeature" ] - }, - "inotify": { - "label": "inotify", - "condition": "tests.inotify", - "output": [ "privateFeature", "feature" ] - }, - "ipc_posix": { - "label": "Using POSIX IPC", - "autoDetect": "!config.win32 && ((config.darwin && features.appstore-compliant) || !tests.ipc_sysv)", - "condition": "tests.ipc_posix", - "output": [ { "type": "define", "name": "QT_POSIX_IPC" } ] - }, - "journald": { - "label": "journald", - "autoDetect": false, - "condition": "libs.journald", - "output": [ "privateFeature" ] - }, - "system-libb2": { - "label": "Using system libb2", - "comment": "Used by QCryptographicHash for the BLAKE2 hashing algorithms", - "disable": "input.libb2 == 'no' || input.libb2 == 'qt'", - "enable": "input.libb2 == 'system'", - "condition": "libs.libb2", - "output": [ "privateFeature" ] - }, - "linkat": { - "label": "linkat()", - "comment": "Currently only used by QTemporaryFile; linkat() exists on Android, but hardlink creation fails due to security rules", - "autoDetect": "config.linux && !config.android", - "condition": "tests.linkat", - "output": [ "privateFeature" ] - }, - "std-atomic64": { - "label": "64 bit atomic operations", - "condition": "libs.libatomic", - "output": [ "publicFeature" ] - }, - "mimetype": { - "label": "Mimetype handling", - "purpose": "Provides MIME type handling.", - "section": "Utilities", - "output": [ "publicFeature", "feature" ] - }, - "mimetype-database": { - "label": "Built-in copy of the MIME database", - "condition": "features.mimetype", - "output": [ "privateFeature" ] - }, - "pcre2": { - "label": "PCRE2", - "disable": "input.pcre == 'no'", - "enable": "input.pcre == 'qt' || features.system-pcre2", - "output": [ "privateConfig" ] - }, - "system-pcre2": { - "label": " Using system PCRE2", - "disable": "input.pcre == 'no' || input.pcre == 'qt'", - "enable": "input.pcre == 'system'", - "condition": "libs.pcre2", - "output": [ "privateFeature" ] - }, - "poll_ppoll": { - "label": "Native ppoll()", - "emitIf": "!config.win32", - "condition": "!config.wasm && tests.ppoll", - "output": [ "privateFeature" ] - }, - "poll_pollts": { - "label": "Native pollts()", - "emitIf": "!config.win32", - "condition": "!features.poll_ppoll && tests.pollts", - "output": [ "privateFeature" ] - }, - "poll_poll": { - "label": "Native poll()", - "emitIf": "!config.win32", - "condition": "!features.poll_ppoll && !features.poll_pollts && tests.poll", - "output": [ "privateFeature" ] - }, - "poll_select": { - "label": "Emulated poll()", - "emitIf": "!config.win32", - "condition": "!features.poll_ppoll && !features.poll_pollts && !features.poll_poll", - "output": [ - "privateFeature", - { "type": "define", "name": "QT_NO_NATIVE_POLL" } - ] - }, - "qqnx_pps": { - "label": "PPS", - "emitIf": "config.qnx", - "condition": "libs.pps", - "output": [ "privateFeature" ] - }, - "renameat2": { - "label": "renameat2()", - "condition": "config.linux && tests.renameat2", - "output": [ "privateFeature" ] - }, - "slog2": { - "label": "slog2", - "condition": "libs.slog2", - "output": [ "privateFeature" ] - }, - "statx": { - "label": "statx() in libc", - "condition": "config.linux && tests.statx", - "output": [ "privateFeature" ] - }, - "syslog": { - "label": "syslog", - "autoDetect": false, - "condition": "tests.syslog", - "output": [ "privateFeature" ] - }, - "threadsafe-cloexec": { - "label": "Threadsafe pipe creation", - "condition": "tests.cloexec", - "output": [ - "publicQtConfig", - { "type": "define", "name": "QT_THREADSAFE_CLOEXEC", "value": 1 } - ] - }, - "properties": { - "label": "Properties", - "purpose": "Supports scripting Qt-based applications.", - "section": "Kernel", - "output": [ "publicFeature", "feature" ] - }, - "regularexpression": { - "label": "QRegularExpression", - "purpose": "Provides an API to Perl-compatible regular expressions.", - "section": "Kernel", - "condition": "features.system-pcre2 || features.pcre2", - "output": [ "publicFeature", "feature" ] - }, - "backtrace": { - "label": "backtrace", - "condition": "config.unix && features.regularexpression && libs.backtrace", - "output": [ "privateFeature" ] - }, - "sharedmemory": { - "label": "QSharedMemory", - "purpose": "Provides access to a shared memory segment.", - "section": "Kernel", - "condition": [ - "config.android || config.win32 || (!config.vxworks && (tests.ipc_sysv || tests.ipc_posix))" - ], - "output": [ "publicFeature", "feature" ] - }, - "shortcut": { - "label": "QShortcut", - "purpose": "Provides keyboard accelerators and shortcuts.", - "section": "Kernel", - "output": [ "publicFeature", "feature" ] - }, - "systemsemaphore": { - "label": "QSystemSemaphore", - "purpose": "Provides a general counting system semaphore.", - "section": "Kernel", - "condition": [ - "!config.integrity && !config.vxworks && !config.rtems", - "config.android || config.win32 || tests.ipc_sysv || tests.ipc_posix" - ], - "output": [ "publicFeature", "feature" ] - }, - "xmlstream": { - "label": "XML Streaming APIs", - "purpose": "Provides a simple streaming API for XML.", - "section": "Kernel", - "output": [ "publicFeature", "feature" ] - }, - "xmlstreamreader": { - "label": "QXmlStreamReader", - "purpose": "Provides a well-formed XML parser with a simple streaming API.", - "section": "Kernel", - "condition": "features.xmlstream", - "output": [ "publicFeature", "feature" ] - }, - "xmlstreamwriter": { - "label": "QXmlStreamWriter", - "purpose": "Provides a XML writer with a simple streaming API.", - "section": "Kernel", - "condition": "features.xmlstream", - "output": [ "publicFeature", "feature" ] - }, - "textdate": { - "label": "Text Date", - "purpose": "Supports month and day names in dates.", - "section": "Data structures", - "output": [ "publicFeature", "feature" ] - }, - "datestring": { - "label": "QDate/QTime/QDateTime", - "purpose": "Provides conversion between dates and strings.", - "section": "Data structures", - "condition": "features.textdate", - "output": [ "publicFeature", "feature" ] - }, - "process": { - "label": "QProcess", - "purpose": "Supports external process invocation.", - "section": "File I/O", - "condition": "features.processenvironment && (features.thread || !config.unix) && !config.uikit && !config.integrity && !config.vxworks && !config.rtems", - "output": [ "publicFeature", "feature" ] - }, - "processenvironment": { - "label": "QProcessEnvironment", - "purpose": "Provides a higher-level abstraction of environment variables.", - "section": "File I/O", - "condition": "!config.integrity && !config.rtems", - "output": [ "publicFeature" ] - }, - "temporaryfile": { - "label": "QTemporaryFile", - "purpose": "Provides an I/O device that operates on temporary files.", - "section": "File I/O", - "output": [ "publicFeature", "feature" ] - }, - "library": { - "label": "QLibrary", - "purpose": "Provides a wrapper for dynamically loaded libraries.", - "section": "File I/O", - "condition": "config.win32 || config.hpux || (!config.nacl && features.dlopen)", - "output": [ "publicFeature", "feature" ] - }, - "settings": { - "label": "QSettings", - "purpose": "Provides persistent application settings.", - "section": "File I/O", - "output": [ "publicFeature", "feature" ] - }, - "filesystemwatcher": { - "label": "QFileSystemWatcher", - "purpose": "Provides an interface for monitoring files and directories for modifications.", - "section": "File I/O", - "output": [ "publicFeature", "feature" ] - }, - "filesystemiterator": { - "label": "QFileSystemIterator", - "purpose": "Provides fast file system iteration.", - "section": "File I/O", - "output": [ "publicFeature", "feature" ] - }, - "itemmodel": { - "label": "Qt Item Model", - "purpose": "Provides the item model for item views", - "section": "ItemViews", - "output": [ "publicFeature", "feature" ] - }, - "proxymodel": { - "label": "QAbstractProxyModel", - "purpose": "Supports processing of data passed between another model and a view.", - "section": "ItemViews", - "condition": "features.itemmodel", - "output": [ "publicFeature", "feature" ] - }, - "sortfilterproxymodel": { - "label": "QSortFilterProxyModel", - "purpose": "Supports sorting and filtering of data passed between another model and a view.", - "section": "ItemViews", - "condition": "features.proxymodel && features.regularexpression", - "output": [ "publicFeature", "feature" ] - }, - "identityproxymodel": { - "label": "QIdentityProxyModel", - "purpose": "Supports proxying a source model unmodified.", - "section": "ItemViews", - "condition": "features.proxymodel", - "output": [ "publicFeature", "feature" ] - }, - "transposeproxymodel": { - "label": "QTransposeProxyModel", - "purpose": "Provides a proxy to swap rows and columns of a model.", - "section": "ItemViews", - "condition": "features.proxymodel", - "output": [ "publicFeature", "feature" ] - }, - "concatenatetablesproxymodel": { - "label": "QConcatenateTablesProxyModel", - "purpose": "Supports concatenating source models.", - "section": "ItemViews", - "condition": "features.proxymodel", - "output": [ "publicFeature", "feature" ] - }, - "stringlistmodel": { - "label": "QStringListModel", - "purpose": "Provides a model that supplies strings to views.", - "section": "ItemViews", - "condition": "features.itemmodel", - "output": [ "publicFeature", "feature" ] - }, - "translation": { - "label": "Translation", - "purpose": "Supports translations using QObject::tr().", - "section": "Internationalization", - "output": [ "publicFeature", "feature" ] - }, - "easingcurve": { - "label": "Easing curve", - "purpose": "Provides easing curve.", - "section": "Utilities", - "output": [ "publicFeature" ] - }, - "animation": { - "label": "Animation", - "purpose": "Provides a framework for animations.", - "section": "Utilities", - "condition": "features.properties && features.easingcurve", - "output": [ "publicFeature", "feature" ] - }, - "gestures": { - "label": "Gesture", - "purpose": "Provides a framework for gestures.", - "section": "Utilities", - "output": [ "publicFeature", "feature" ] - }, - "sha3-fast": { - "label": "Speed optimized SHA3", - "purpose": "Optimizes SHA3 for speed instead of size.", - "section": "Utilities", - "output": [ "privateFeature" ] - }, - "jalalicalendar": { - "label": "QJalaliCalendar", - "purpose": "Support the Jalali (Persian) calendar", - "section": "Utilities", - "output": [ "publicFeature" ] - }, - "hijricalendar": { - "label": "QHijriCalendar", - "purpose": "Generic basis for Islamic calendars, providing shared locale data", - "section": "Utilities", - "output": [ "privateFeature" ] - }, - "islamiccivilcalendar": { - "label": "QIslamicCivilCalendar", - "purpose": "Support the Islamic Civil calendar", - "section": "Utilities", - "condition": "features.hijricalendar", - "output": [ "publicFeature" ] - }, - "timezone": { - "label": "QTimeZone", - "purpose": "Provides support for time-zone handling.", - "section": "Utilities", - "output": [ "publicFeature" ] - }, - "datetimeparser": { - "label": "QDateTimeParser", - "purpose": "Provides support for parsing date-time texts.", - "section": "Utilities", - "condition": "features.datestring", - "output": [ "privateFeature" ] - }, - "commandlineparser": { - "label": "QCommandlineParser", - "purpose": "Provides support for command line parsing.", - "section": "Utilities", - "output": [ "publicFeature" ] - }, - "lttng": { - "label": "LTTNG", - "autoDetect": false, - "enable": "input.trace == 'lttng' || (input.trace =='yes' && config.linux)", - "disable": "input.trace == 'etw' || input.trace =='no'", - "condition": "config.linux && libs.lttng-ust", - "output": [ "privateFeature" ] - }, - "etw": { - "label": "ETW", - "autoDetect": false, - "enable": "input.trace == 'etw' || (input.trace == 'yes' && config.win32)", - "disable": "input.trace == 'lttng' || input.trace == 'no'", - "condition": "config.win32", - "output": [ "privateFeature" ] - }, - "forkfd_pidfd": { - "label": "CLONE_PIDFD support in forkfd", - "condition": "config.linux", - "output": [ "privateFeature" ] - }, - "cborstreamreader": { - "label": "CBOR stream reading", - "purpose": "Provides support for reading the CBOR binary format. - -Note that this is required for plugin loading. Qt GUI needs QPA plugins for basic operation.", - "section": "Utilities", - "output": [ "publicFeature" ] - }, - "cborstreamwriter": { - "label": "CBOR stream writing", - "purpose": "Provides support for writing the CBOR binary format.", - "section": "Utilities", - "output": [ "publicFeature" ] - } - }, - - "report": [ - { - "type": "note", - "condition": "features.journald || features.syslog || (config.qnx && features.slog2)", - "message": "journald, syslog or slog2 integration is enabled. If your users intend to develop applications against this build, ensure that the IDEs they use either set QT_FORCE_STDERR_LOGGING to 1 or are able to read the logged output from journald, syslog or slog2." - }, - { - "type": "error", - "condition": "!tests.cxx11_random", - "message": "C++11 is required and is missing or failed to compile." - }, - { - "type": "error", - "condition": "input.doubleconversion == 'no' && !tests.xlocalescanprint", - "message": "Your C library does not provide sscanf_l or snprintf_l. You need to use libdouble-conversion for double/string conversion." - }, - { - "type": "error", - "condition": "!tests.atomicfptr", - "message": "detected a std::atomic implementation that fails for function pointers. Please apply the patch corresponding to your Standard Library vendor, found in qtbase/config.tests/atomicfptr" - }, - { - "type": "error", - "condition": [ - "config.unix || config.integrity", - "!features.poll_ppoll", - "!features.poll_pollts", - "!features.poll_poll", - "!features.poll_select" - ], - "message": "Qt requires poll(), ppoll(), poll_ts() or select() on this platform" - } - ], - - "summary": [ - { - "section": "Qt Core", - "entries": [ - "backtrace", - "doubleconversion", - "system-doubleconversion", - "glib", - "icu", - "system-libb2", - "mimetype-database", - { - "message": "Tracing backend", - "type": "firstAvailableFeature", - "args": "etw lttng" - }, - { - "section": "Logging backends", - "entries": [ - "journald", "syslog", "slog2" - ] - }, - { - "type": "feature", - "args": "qqnx_pps", - "condition": "config.qnx" - }, - "pcre2", - "system-pcre2", - { - "type": "feature", - "args": "forkfd_pidfd", - "condition": "config.linux" - } - ] - } - ] -} diff --git a/src/gui/.prev_configure.cmake b/src/gui/.prev_configure.cmake deleted file mode 100644 index 85d9778056..0000000000 --- a/src/gui/.prev_configure.cmake +++ /dev/null @@ -1,1225 +0,0 @@ - - -#### Inputs - -# input freetype -set(INPUT_freetype "undefined" CACHE STRING "") -set_property(CACHE INPUT_freetype PROPERTY STRINGS undefined no qt system) - -# input harfbuzz -set(INPUT_harfbuzz "undefined" CACHE STRING "") -set_property(CACHE INPUT_harfbuzz PROPERTY STRINGS undefined no qt system) - -# input libjpeg -set(INPUT_libjpeg "undefined" CACHE STRING "") -set_property(CACHE INPUT_libjpeg PROPERTY STRINGS undefined no qt system) - -# input libmd4c -set(INPUT_libmd4c "undefined" CACHE STRING "") -set_property(CACHE INPUT_libmd4c PROPERTY STRINGS undefined no qt system) - -# input libpng -set(INPUT_libpng "undefined" CACHE STRING "") -set_property(CACHE INPUT_libpng PROPERTY STRINGS undefined no qt system) - - - -#### Libraries - -qt_find_package(ATSPI2 PROVIDED_TARGETS PkgConfig::ATSPI2 MODULE_NAME gui QMAKE_LIB atspi) -qt_find_package(DirectFB PROVIDED_TARGETS PkgConfig::DirectFB MODULE_NAME gui QMAKE_LIB directfb) -qt_find_package(Libdrm PROVIDED_TARGETS Libdrm::Libdrm MODULE_NAME gui QMAKE_LIB drm) -qt_find_package(EGL PROVIDED_TARGETS EGL::EGL MODULE_NAME gui QMAKE_LIB egl) -qt_find_package(WrapSystemFreetype 2.2.0 PROVIDED_TARGETS WrapSystemFreetype::WrapSystemFreetype MODULE_NAME gui QMAKE_LIB freetype) -set_package_properties(WrapFreetype PROPERTIES TYPE REQUIRED) -if(QT_FEATURE_system_zlib) - qt_add_qmake_lib_dependency(freetype zlib) -endif() -qt_find_package(Fontconfig PROVIDED_TARGETS Fontconfig::Fontconfig MODULE_NAME gui QMAKE_LIB fontconfig) -qt_add_qmake_lib_dependency(fontconfig freetype) -qt_find_package(gbm PROVIDED_TARGETS gbm::gbm MODULE_NAME gui QMAKE_LIB gbm) -qt_find_package(WrapSystemHarfbuzz 2.6.0 PROVIDED_TARGETS WrapSystemHarfbuzz::WrapSystemHarfbuzz MODULE_NAME gui QMAKE_LIB harfbuzz) -qt_find_package(Libinput PROVIDED_TARGETS Libinput::Libinput MODULE_NAME gui QMAKE_LIB libinput) -qt_find_package(JPEG PROVIDED_TARGETS JPEG::JPEG MODULE_NAME gui QMAKE_LIB libjpeg) -qt_find_package(WrapSystemPNG PROVIDED_TARGETS WrapSystemPNG::WrapSystemPNG MODULE_NAME gui QMAKE_LIB libpng) -if(QT_FEATURE_system_zlib) - qt_add_qmake_lib_dependency(libpng zlib) -endif() -qt_find_package(Mtdev PROVIDED_TARGETS PkgConfig::Mtdev MODULE_NAME gui QMAKE_LIB mtdev) -qt_find_package(WrapOpenGL PROVIDED_TARGETS WrapOpenGL::WrapOpenGL MODULE_NAME gui QMAKE_LIB opengl) -qt_find_package(GLESv2 PROVIDED_TARGETS GLESv2::GLESv2 MODULE_NAME gui QMAKE_LIB opengl_es2) -qt_find_package(Tslib PROVIDED_TARGETS PkgConfig::Tslib MODULE_NAME gui QMAKE_LIB tslib) -qt_find_package(Vulkan PROVIDED_TARGETS Vulkan::Vulkan MODULE_NAME gui QMAKE_LIB vulkan) -if((LINUX) OR QT_FIND_ALL_PACKAGES_ALWAYS) - qt_find_package(Wayland PROVIDED_TARGETS Wayland::Server MODULE_NAME gui QMAKE_LIB wayland_server) -endif() -if((X11_SUPPORTED) OR QT_FIND_ALL_PACKAGES_ALWAYS) - qt_find_package(X11 PROVIDED_TARGETS X11::X11 MODULE_NAME gui QMAKE_LIB xlib) -endif() -if((X11_SUPPORTED) OR QT_FIND_ALL_PACKAGES_ALWAYS) - qt_find_package(X11 PROVIDED_TARGETS ${X11_SM_LIB} ${X11_ICE_LIB} MODULE_NAME gui QMAKE_LIB x11sm) -endif() -if((X11_SUPPORTED) OR QT_FIND_ALL_PACKAGES_ALWAYS) - qt_find_package(XCB 1.11 PROVIDED_TARGETS XCB::XCB MODULE_NAME gui QMAKE_LIB xcb) -endif() -if((X11_SUPPORTED) OR QT_FIND_ALL_PACKAGES_ALWAYS) - qt_find_package(XCB 0.3.9 COMPONENTS ICCCM PROVIDED_TARGETS XCB::ICCCM MODULE_NAME gui QMAKE_LIB xcb_icccm) -endif() -qt_add_qmake_lib_dependency(xcb_icccm xcb) -if((X11_SUPPORTED) OR QT_FIND_ALL_PACKAGES_ALWAYS) - qt_find_package(XCB 0.3.9 COMPONENTS IMAGE PROVIDED_TARGETS XCB::IMAGE MODULE_NAME gui QMAKE_LIB xcb_image) -endif() -qt_add_qmake_lib_dependency(xcb_image xcb_shm xcb) -if((X11_SUPPORTED) OR QT_FIND_ALL_PACKAGES_ALWAYS) - qt_find_package(XCB 0.3.9 COMPONENTS KEYSYMS PROVIDED_TARGETS XCB::KEYSYMS MODULE_NAME gui QMAKE_LIB xcb_keysyms) -endif() -qt_add_qmake_lib_dependency(xcb_keysyms xcb) -if((X11_SUPPORTED) OR QT_FIND_ALL_PACKAGES_ALWAYS) - qt_find_package(XCB 0.3.9 COMPONENTS RENDERUTIL PROVIDED_TARGETS XCB::RENDERUTIL MODULE_NAME gui QMAKE_LIB xcb_renderutil) -endif() -qt_add_qmake_lib_dependency(xcb_renderutil xcb xcb_render) -if((X11_SUPPORTED) OR QT_FIND_ALL_PACKAGES_ALWAYS) - qt_find_package(XCB COMPONENTS RANDR PROVIDED_TARGETS XCB::RANDR MODULE_NAME gui QMAKE_LIB xcb_randr) -endif() -qt_add_qmake_lib_dependency(xcb_randr xcb) -if((X11_SUPPORTED) OR QT_FIND_ALL_PACKAGES_ALWAYS) - qt_find_package(XCB COMPONENTS SHAPE PROVIDED_TARGETS XCB::SHAPE MODULE_NAME gui QMAKE_LIB xcb_shape) -endif() -qt_add_qmake_lib_dependency(xcb_shape xcb) -if((X11_SUPPORTED) OR QT_FIND_ALL_PACKAGES_ALWAYS) - qt_find_package(XCB COMPONENTS SHM PROVIDED_TARGETS XCB::SHM MODULE_NAME gui QMAKE_LIB xcb_shm) -endif() -qt_add_qmake_lib_dependency(xcb_shm xcb) -if((X11_SUPPORTED) OR QT_FIND_ALL_PACKAGES_ALWAYS) - qt_find_package(XCB COMPONENTS SYNC PROVIDED_TARGETS XCB::SYNC MODULE_NAME gui QMAKE_LIB xcb_sync) -endif() -qt_add_qmake_lib_dependency(xcb_sync xcb) -if((X11_SUPPORTED) OR QT_FIND_ALL_PACKAGES_ALWAYS) - qt_find_package(XCB COMPONENTS XFIXES PROVIDED_TARGETS XCB::XFIXES MODULE_NAME gui QMAKE_LIB xcb_xfixes) -endif() -qt_add_qmake_lib_dependency(xcb_xfixes xcb) -if((X11_SUPPORTED) OR QT_FIND_ALL_PACKAGES_ALWAYS) - qt_find_package(X11_XCB PROVIDED_TARGETS X11::XCB MODULE_NAME gui QMAKE_LIB xcb_xlib) -endif() -qt_add_qmake_lib_dependency(xcb_xlib xcb xlib) -if((X11_SUPPORTED) OR QT_FIND_ALL_PACKAGES_ALWAYS) - qt_find_package(XCB COMPONENTS XKB PROVIDED_TARGETS XCB::XKB MODULE_NAME gui QMAKE_LIB xcb_xkb) -endif() -qt_add_qmake_lib_dependency(xcb_xkb xcb) -if((X11_SUPPORTED) OR QT_FIND_ALL_PACKAGES_ALWAYS) - qt_find_package(XCB COMPONENTS RENDER PROVIDED_TARGETS XCB::RENDER MODULE_NAME gui QMAKE_LIB xcb_render) -endif() -qt_add_qmake_lib_dependency(xcb_render xcb) -if((X11_SUPPORTED) OR QT_FIND_ALL_PACKAGES_ALWAYS) - qt_find_package(XCB COMPONENTS GLX PROVIDED_TARGETS XCB::GLX MODULE_NAME gui QMAKE_LIB xcb_glx) -endif() -qt_add_qmake_lib_dependency(xcb_glx xcb) -if((X11_SUPPORTED) OR QT_FIND_ALL_PACKAGES_ALWAYS) - qt_find_package(XCB 1.12 COMPONENTS XINPUT PROVIDED_TARGETS XCB::XINPUT MODULE_NAME gui QMAKE_LIB xcb_xinput) -endif() -qt_add_qmake_lib_dependency(xcb_xinput xcb) -if((X11_SUPPORTED) OR QT_FIND_ALL_PACKAGES_ALWAYS) - qt_find_package(XKB 0.5.0 PROVIDED_TARGETS XKB::XKB MODULE_NAME gui QMAKE_LIB xkbcommon) -endif() -if((X11_SUPPORTED) OR QT_FIND_ALL_PACKAGES_ALWAYS) - qt_find_package(XKB_COMMON_X11 0.5.0 PROVIDED_TARGETS PkgConfig::XKB_COMMON_X11 MODULE_NAME gui QMAKE_LIB xkbcommon_x11) -endif() -if((X11_SUPPORTED) OR QT_FIND_ALL_PACKAGES_ALWAYS) - qt_find_package(XRender 0.6 PROVIDED_TARGETS PkgConfig::XRender MODULE_NAME gui QMAKE_LIB xrender) -endif() -qt_add_qmake_lib_dependency(xrender xlib) - - -#### Tests - -# drm_atomic -qt_config_compile_test(drm_atomic - LABEL "DRM Atomic API" - LIBRARIES - Libdrm::Libdrm - CODE -"#include -#include -extern \"C\" { -#include -#include -} - -int main(void) -{ - /* BEGIN TEST: */ -drmModeAtomicReq *request; - /* END TEST: */ - return 0; -} -") - -# egl-x11 -qt_config_compile_test(egl_x11 - LABEL "EGL on X11" - LIBRARIES - EGL::EGL - X11::X11 - CODE -"// Check if EGL is compatible with X. Some EGL implementations, typically on -// embedded devices, are not intended to be used together with X. EGL support -// has to be disabled in plugins like xcb in this case since the native display, -// window and pixmap types will be different than what an X-based platform -// plugin would expect. -#include -#include - -int main(void) -{ - /* BEGIN TEST: */ -Display *dpy = EGL_DEFAULT_DISPLAY; -EGLNativeDisplayType egldpy = XOpenDisplay(\"\"); -dpy = egldpy; -EGLNativeWindowType w = XCreateWindow(dpy, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0); -XDestroyWindow(dpy, w); -XCloseDisplay(dpy); - /* END TEST: */ - return 0; -} -") - -# egl-brcm -qt_config_compile_test(egl_brcm - LABEL "Broadcom EGL (Raspberry Pi)" - LIBRARIES - EGL::EGL - CODE -"#include -#include - -int main(void) -{ - /* BEGIN TEST: */ -vc_dispmanx_display_open(0); - /* END TEST: */ - return 0; -} -"# FIXME: use: unmapped library: bcm_host -) - -# egl-egldevice -qt_config_compile_test(egl_egldevice - LABEL "EGLDevice" - LIBRARIES - EGL::EGL - CODE -"#include -#include - -int main(void) -{ - /* BEGIN TEST: */ -EGLDeviceEXT device = 0; -EGLStreamKHR stream = 0; -EGLOutputLayerEXT layer = 0; -(void) EGL_DRM_CRTC_EXT; - /* END TEST: */ - return 0; -} -") - -# egl-mali -qt_config_compile_test(egl_mali - LABEL "Mali EGL" - LIBRARIES - EGL::EGL - CODE -"#include -#include -#include - -int main(void) -{ - /* BEGIN TEST: */ -fbdev_window *w = 0; - /* END TEST: */ - return 0; -} -") - -# egl-mali-2 -qt_config_compile_test(egl_mali_2 - LABEL "Mali 2 EGL" - LIBRARIES - EGL::EGL - CODE -"#include -#include - -int main(void) -{ - /* BEGIN TEST: */ -mali_native_window *w = 0; - /* END TEST: */ - return 0; -} -") - -# egl-viv -qt_config_compile_test(egl_viv - LABEL "i.Mx6 EGL" - LIBRARIES - EGL::EGL - CODE -"#include -#include - -int main(void) -{ - /* BEGIN TEST: */ -#ifdef __INTEGRITY -fbGetDisplay(); -#else -// Do not rely on fbGetDisplay(), since the signature has changed over time. -// Stick to fbGetDisplayByIndex(). -fbGetDisplayByIndex(0); -#endif - /* END TEST: */ - return 0; -} -"# FIXME: qmake: ['DEFINES += EGL_API_FB=1', '!integrity: DEFINES += LINUX=1'] -) - -# egl-openwfd -qt_config_compile_test(egl_openwfd - LABEL "OpenWFD EGL" - LIBRARIES - EGL::EGL - CODE -"#include - -int main(void) -{ - /* BEGIN TEST: */ -wfdEnumerateDevices(nullptr, 0, nullptr); - /* END TEST: */ - return 0; -} -") - -# egl-rcar -qt_config_compile_test(egl_rcar - LABEL "RCAR EGL" - LIBRARIES - EGL::EGL - GLESv2::GLESv2 - CODE -"#include -extern \"C\" { -extern unsigned long PVRGrfxServerInit(void); -} - -int main(void) -{ - /* BEGIN TEST: */ -PVRGrfxServerInit(); - /* END TEST: */ - return 0; -} -") - -# evdev -qt_config_compile_test(evdev - LABEL "evdev" - CODE -"#if defined(__FreeBSD__) -# include -#else -# include -# include -#endif -enum { - e1 = ABS_PRESSURE, - e2 = ABS_X, - e3 = REL_X, - e4 = SYN_REPORT, -}; - -int main(void) -{ - /* BEGIN TEST: */ -input_event buf[32]; -(void) buf; - /* END TEST: */ - return 0; -} -") - -# integrityfb -qt_config_compile_test(integrityfb - LABEL "INTEGRITY framebuffer" - CODE -"#include - -int main(void) -{ - /* BEGIN TEST: */ -FBDriver *driver = 0; - /* END TEST: */ - return 0; -} -") - -# linuxfb -qt_config_compile_test(linuxfb - LABEL "LinuxFB" - CODE -"#include -#include -#include - -int main(void) -{ - /* BEGIN TEST: */ -fb_fix_screeninfo finfo; -fb_var_screeninfo vinfo; -int fd = 3; -ioctl(fd, FBIOGET_FSCREENINFO, &finfo); -ioctl(fd, FBIOGET_VSCREENINFO, &vinfo); - /* END TEST: */ - return 0; -} -") - -# opengles3 -qt_config_compile_test(opengles3 - LABEL "OpenGL ES 3.0" - LIBRARIES - GLESv2::GLESv2 - CODE -"#ifdef __APPLE__ -# include -#else -# define GL_GLEXT_PROTOTYPES -# include -#endif - -int main(void) -{ - /* BEGIN TEST: */ -static GLfloat f[6]; -glGetStringi(GL_EXTENSIONS, 0); -glReadBuffer(GL_COLOR_ATTACHMENT1); -glUniformMatrix2x3fv(0, 0, GL_FALSE, f); -glMapBufferRange(GL_ARRAY_BUFFER, 0, 0, GL_MAP_READ_BIT); - /* END TEST: */ - return 0; -} -") - -# opengles31 -qt_config_compile_test(opengles31 - LABEL "OpenGL ES 3.1" - LIBRARIES - GLESv2::GLESv2 - CODE -"#include - -int main(void) -{ - /* BEGIN TEST: */ -glDispatchCompute(1, 1, 1); -glProgramUniform1i(0, 0, 0); - /* END TEST: */ - return 0; -} -") - -# opengles32 -qt_config_compile_test(opengles32 - LABEL "OpenGL ES 3.2" - LIBRARIES - GLESv2::GLESv2 - CODE -"#include - -int main(void) -{ - /* BEGIN TEST: */ -glFramebufferTexture(GL_TEXTURE_2D, GL_DEPTH_STENCIL_ATTACHMENT, 1, 0); - /* END TEST: */ - return 0; -} -") - -# xcb_syslibs -qt_config_compile_test(xcb_syslibs - LABEL "XCB (extensions)" - LIBRARIES - XCB::ICCCM - XCB::IMAGE - XCB::KEYSYMS - XCB::RANDR - XCB::RENDER - XCB::RENDERUTIL - XCB::SHAPE - XCB::SHM - XCB::SYNC - XCB::XFIXES - XCB::XKB - XCB::XCB - CODE -"// xkb.h is using a variable called 'explicit', which is a reserved keyword in C++ -#define explicit dont_use_cxx_explicit -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#undef explicit - -int main(void) -{ - /* BEGIN TEST: */ -int primaryScreen = 0; -xcb_connection_t *c = xcb_connect(\"\", &primaryScreen); -/* RENDER */ -xcb_generic_error_t *error = nullptr; -xcb_render_query_pict_formats_cookie_t formatsCookie = - xcb_render_query_pict_formats(c); -xcb_render_query_pict_formats_reply_t *formatsReply = - xcb_render_query_pict_formats_reply(c, formatsCookie, &error); -/* RENDERUTIL: xcb_renderutil.h include won't compile unless version >= 0.3.9 */ -xcb_render_util_find_standard_format(nullptr, XCB_PICT_STANDARD_ARGB_32); -/* XKB: This takes more arguments in xcb-xkb < 1.11 */ -xcb_xkb_get_kbd_by_name_replies_key_names_value_list_sizeof(nullptr, 0, 0, 0, 0, 0, 0, 0, 0); - /* END TEST: */ - return 0; -} -") - - - -#### Features - -qt_feature("accessibility-atspi-bridge" PUBLIC PRIVATE - LABEL "ATSPI Bridge" - CONDITION QT_FEATURE_accessibility AND QT_FEATURE_xcb AND QT_FEATURE_dbus AND ATSPI2_FOUND -) -qt_feature_definition("accessibility-atspi-bridge" "QT_NO_ACCESSIBILITY_ATSPI_BRIDGE" NEGATE VALUE "1") -qt_feature("directfb" PRIVATE - SECTION "Platform plugins" - LABEL "DirectFB" - AUTODETECT OFF - CONDITION DirectFB_FOUND -) -qt_feature("directwrite" PRIVATE - LABEL "DirectWrite" - CONDITION libs.dwrite_2 OR FIXME - EMIT_IF WIN32 -) -qt_feature("directwrite3" PRIVATE - LABEL "DirectWrite 3" - CONDITION QT_FEATURE_directwrite AND libs.dwrite_3 OR FIXME - EMIT_IF WIN32 -) -qt_feature("direct2d" PRIVATE - LABEL "Direct 2D" - CONDITION WIN32 AND libs.d2d1 OR FIXME -) -qt_feature("direct2d1_1" PRIVATE - LABEL "Direct 2D 1.1" - CONDITION QT_FEATURE_direct2d AND libs.d2d1_1 OR FIXME -) -qt_feature("evdev" PRIVATE - LABEL "evdev" - CONDITION QT_FEATURE_thread AND TEST_evdev -) -qt_feature("freetype" PUBLIC PRIVATE - SECTION "Fonts" - LABEL "FreeType" - PURPOSE "Supports the FreeType 2 font engine (and its supported font formats)." -) -qt_feature_definition("freetype" "QT_NO_FREETYPE" NEGATE VALUE "1") -qt_feature("system-freetype" PRIVATE - LABEL " Using system FreeType" - AUTODETECT NOT MSVC - CONDITION QT_FEATURE_freetype AND WrapSystemFreetype_FOUND - ENABLE INPUT_freetype STREQUAL 'system' - DISABLE INPUT_freetype STREQUAL 'qt' -) -qt_feature("fontconfig" PUBLIC PRIVATE - LABEL "Fontconfig" - AUTODETECT NOT APPLE - CONDITION NOT WIN32 AND QT_FEATURE_system_freetype AND FONTCONFIG_FOUND -) -qt_feature_definition("fontconfig" "QT_NO_FONTCONFIG" NEGATE VALUE "1") -qt_feature("gbm" - LABEL "GBM" - CONDITION gbm_FOUND -) -qt_feature_config("gbm" QMAKE_PUBLIC_QT_CONFIG) -qt_feature("harfbuzz" PUBLIC PRIVATE - LABEL "HarfBuzz" -) -qt_feature_definition("harfbuzz" "QT_NO_HARFBUZZ" NEGATE VALUE "1") -qt_feature("system-harfbuzz" PRIVATE - LABEL " Using system HarfBuzz" - AUTODETECT NOT APPLE AND NOT WIN32 - CONDITION QT_FEATURE_harfbuzz AND WrapSystemHarfbuzz_FOUND - ENABLE INPUT_harfbuzz STREQUAL 'system' - DISABLE INPUT_harfbuzz STREQUAL 'qt' -) -qt_feature("qqnx_imf" PRIVATE - LABEL "IMF" - CONDITION libs.imf OR FIXME - EMIT_IF QNX -) -qt_feature("integrityfb" PRIVATE - SECTION "Platform plugins" - LABEL "INTEGRITY framebuffer" - CONDITION INTEGRITY AND TEST_integrityfb -) -qt_feature("kms" PRIVATE - LABEL "KMS" - CONDITION Libdrm_FOUND -) -qt_feature_config("kms" QMAKE_PUBLIC_QT_CONFIG) -qt_feature("drm_atomic" PRIVATE - LABEL "DRM Atomic API" - CONDITION Libdrm_FOUND AND TEST_drm_atomic -) -qt_feature("libinput" PRIVATE - LABEL "libinput" - CONDITION QT_FEATURE_libudev AND Libinput_FOUND -) -qt_feature("integrityhid" PRIVATE - LABEL "INTEGRITY HID" - CONDITION INTEGRITY AND libs.integrityhid OR FIXME -) -qt_feature("libinput-axis-api" PRIVATE - LABEL "axis API in libinput" - CONDITION QT_FEATURE_libinput AND ON -) -qt_feature("lgmon" - LABEL "lgmon" - CONDITION libs.lgmon OR FIXME - EMIT_IF QNX -) -qt_feature_config("lgmon" QMAKE_PRIVATE_CONFIG) -qt_feature("linuxfb" PRIVATE - SECTION "Platform plugins" - LABEL "LinuxFB" - CONDITION TEST_linuxfb AND QT_FEATURE_regularexpression -) -qt_feature("vsp2" PRIVATE - LABEL "VSP2" - AUTODETECT OFF - CONDITION libs.v4l2 OR FIXME -) -qt_feature("vnc" PRIVATE - SECTION "Platform plugins" - LABEL "VNC" - CONDITION ( UNIX AND NOT ANDROID AND NOT APPLE AND NOT WASM ) AND ( QT_FEATURE_regularexpression AND QT_FEATURE_network ) -) -qt_feature("mtdev" PRIVATE - LABEL "mtdev" - CONDITION Mtdev_FOUND -) -qt_feature("opengles2" PUBLIC - LABEL "OpenGL ES 2.0" - CONDITION NOT WIN32 AND NOT WATCHOS AND NOT QT_FEATURE_opengl_desktop AND GLESv2_FOUND - ENABLE INPUT_opengl STREQUAL 'es2' - DISABLE INPUT_opengl STREQUAL 'desktop' OR INPUT_opengl STREQUAL 'dynamic' OR INPUT_opengl STREQUAL 'no' -) -qt_feature_config("opengles2" QMAKE_PUBLIC_QT_CONFIG) -qt_feature("opengles3" PUBLIC - LABEL "OpenGL ES 3.0" - CONDITION QT_FEATURE_opengles2 AND TEST_opengles3 -) -qt_feature("opengles31" PUBLIC - LABEL "OpenGL ES 3.1" - CONDITION QT_FEATURE_opengles3 AND TEST_opengles31 -) -qt_feature("opengles32" PUBLIC - LABEL "OpenGL ES 3.2" - CONDITION QT_FEATURE_opengles31 AND TEST_opengles32 -) -qt_feature("opengl-desktop" - LABEL "Desktop OpenGL" - AUTODETECT NOT WIN32 - CONDITION ( WIN32 AND ( MSVC OR WrapOpenGL_FOUND ) ) OR ( NOT WATCHOS AND NOT WIN32 AND NOT WASM AND WrapOpenGL_FOUND ) - ENABLE INPUT_opengl STREQUAL 'desktop' - DISABLE INPUT_opengl STREQUAL 'es2' OR INPUT_opengl STREQUAL 'dynamic' OR INPUT_opengl STREQUAL 'no' -) -qt_feature("opengl-dynamic" - LABEL "Dynamic OpenGL" - CONDITION WIN32 - DISABLE INPUT_opengl STREQUAL 'no' OR INPUT_opengl STREQUAL 'desktop' -) -qt_feature("dynamicgl" PUBLIC - LABEL "Dynamic OpenGL: dynamicgl" - CONDITION QT_FEATURE_opengl_dynamic - DISABLE INPUT_opengl STREQUAL 'no' OR INPUT_opengl STREQUAL 'desktop' -) -qt_feature_definition("opengl-dynamic" "QT_OPENGL_DYNAMIC") -qt_feature("opengl" PUBLIC - LABEL "OpenGL" - CONDITION QT_FEATURE_opengl_desktop OR QT_FEATURE_opengl_dynamic OR QT_FEATURE_opengles2 -) -qt_feature_definition("opengl" "QT_NO_OPENGL" NEGATE VALUE "1") -qt_feature("vkgen" PRIVATE - LABEL "vkgen" - CONDITION QT_FEATURE_xmlstreamreader -) -qt_feature("vulkan" PUBLIC - LABEL "Vulkan" - CONDITION QT_FEATURE_library AND QT_FEATURE_vkgen AND Vulkan_FOUND -) -qt_feature("openvg" PUBLIC - LABEL "OpenVG" - CONDITION libs.openvg OR FIXME -) -qt_feature("egl" PUBLIC - LABEL "EGL" - CONDITION ( QT_FEATURE_opengl OR QT_FEATURE_openvg ) AND EGL_FOUND AND ( QT_FEATURE_dlopen OR NOT UNIX OR INTEGRITY ) -) -qt_feature_definition("egl" "QT_NO_EGL" NEGATE VALUE "1") -qt_feature("egl_x11" PRIVATE - LABEL "EGL on X11" - CONDITION QT_FEATURE_thread AND QT_FEATURE_egl AND TEST_egl_x11 -) -qt_feature("eglfs" PRIVATE - SECTION "Platform plugins" - LABEL "EGLFS" - CONDITION NOT ANDROID AND NOT APPLE AND NOT WIN32 AND NOT WASM AND QT_FEATURE_egl -) -qt_feature("eglfs_brcm" PRIVATE - LABEL "EGLFS Raspberry Pi" - CONDITION QT_FEATURE_eglfs AND TEST_egl_brcm -) -qt_feature("eglfs_egldevice" PRIVATE - LABEL "EGLFS EGLDevice" - CONDITION QT_FEATURE_eglfs AND TEST_egl_egldevice AND QT_FEATURE_kms -) -qt_feature("eglfs_gbm" PRIVATE - LABEL "EGLFS GBM" - CONDITION QT_FEATURE_eglfs AND gbm_FOUND AND QT_FEATURE_kms -) -qt_feature("eglfs_vsp2" PRIVATE - LABEL "EGLFS VSP2" - CONDITION QT_FEATURE_eglfs AND gbm_FOUND AND QT_FEATURE_kms AND QT_FEATURE_vsp2 -) -qt_feature("eglfs_mali" PRIVATE - LABEL "EGLFS Mali" - CONDITION QT_FEATURE_eglfs AND ( TEST_egl_mali OR TEST_egl_mali_2 ) -) -qt_feature("eglfs_viv" PRIVATE - LABEL "EGLFS i.Mx6" - CONDITION QT_FEATURE_eglfs AND TEST_egl_viv -) -qt_feature("eglfs_rcar" PRIVATE - LABEL "EGLFS RCAR" - CONDITION INTEGRITY AND QT_FEATURE_eglfs AND TEST_egl_rcar -) -qt_feature("eglfs_viv_wl" PRIVATE - LABEL "EGLFS i.Mx6 Wayland" - CONDITION QT_FEATURE_eglfs_viv AND Wayland_FOUND -) -qt_feature("eglfs_openwfd" PRIVATE - LABEL "EGLFS OpenWFD" - CONDITION INTEGRITY AND QT_FEATURE_eglfs AND TEST_egl_openwfd -) -qt_feature("eglfs_x11" PRIVATE - LABEL "EGLFS X11" - CONDITION QT_FEATURE_eglfs AND QT_FEATURE_xcb_xlib AND QT_FEATURE_egl_x11 -) -qt_feature("gif" PRIVATE - LABEL "GIF" - CONDITION QT_FEATURE_imageformatplugin -) -qt_feature_definition("gif" "QT_NO_IMAGEFORMAT_GIF" NEGATE) -qt_feature("ico" PUBLIC PRIVATE - LABEL "ICO" - CONDITION QT_FEATURE_imageformatplugin -) -qt_feature_definition("ico" "QT_NO_ICO" NEGATE VALUE "1") -qt_feature("jpeg" PRIVATE - LABEL "JPEG" - CONDITION QT_FEATURE_imageformatplugin - DISABLE INPUT_libjpeg STREQUAL 'no' -) -qt_feature_definition("jpeg" "QT_NO_IMAGEFORMAT_JPEG" NEGATE) -qt_feature("system-jpeg" PRIVATE - LABEL " Using system libjpeg" - CONDITION QT_FEATURE_jpeg AND JPEG_FOUND - ENABLE INPUT_libjpeg STREQUAL 'system' - DISABLE INPUT_libjpeg STREQUAL 'qt' -) -qt_feature("png" PRIVATE - LABEL "PNG" - DISABLE INPUT_libpng STREQUAL 'no' -) -qt_feature_definition("png" "QT_NO_IMAGEFORMAT_PNG" NEGATE) -qt_feature("system-png" PRIVATE - LABEL " Using system libpng" - AUTODETECT QT_FEATURE_system_zlib - CONDITION QT_FEATURE_png AND WrapSystemPNG_FOUND - ENABLE INPUT_libpng STREQUAL 'system' - DISABLE INPUT_libpng STREQUAL 'qt' -) -qt_feature("imageio-text-loading" PRIVATE - LABEL "Image Text section loading" -) -qt_feature_definition("imageio-text-loading" "QT_NO_IMAGEIO_TEXT_LOADING" NEGATE) -qt_feature("sessionmanager" PUBLIC - SECTION "Kernel" - LABEL "Session Management" - PURPOSE "Provides an interface to the windowing system's session management." -) -qt_feature_definition("sessionmanager" "QT_NO_SESSIONMANAGER" NEGATE VALUE "1") -qt_feature("tslib" PRIVATE - LABEL "tslib" - CONDITION Tslib_FOUND -) -qt_feature("tuiotouch" PRIVATE - LABEL "TuioTouch" - PURPOSE "Provides the TuioTouch input plugin." - CONDITION QT_FEATURE_network AND QT_FEATURE_udpsocket -) -qt_feature("xcb" PRIVATE - SECTION "Platform plugins" - LABEL "XCB" - AUTODETECT NOT APPLE - CONDITION QT_FEATURE_thread AND TARGET XCB::XCB AND TEST_xcb_syslibs AND QT_FEATURE_xkbcommon_x11 -) -qt_feature("xcb-glx-plugin" PUBLIC - LABEL "GLX Plugin" - CONDITION QT_FEATURE_xcb_xlib AND QT_FEATURE_opengl AND NOT QT_FEATURE_opengles2 - EMIT_IF QT_FEATURE_xcb -) -qt_feature("xcb-glx" PRIVATE - LABEL " XCB GLX" - CONDITION XCB_GLX_FOUND - EMIT_IF QT_FEATURE_xcb AND QT_FEATURE_xcb_glx_plugin -) -qt_feature("xcb-egl-plugin" PRIVATE - LABEL "EGL-X11 Plugin" - CONDITION QT_FEATURE_egl_x11 AND QT_FEATURE_opengl - EMIT_IF QT_FEATURE_xcb -) -qt_feature("xcb-native-painting" PRIVATE - LABEL "Native painting (experimental)" - AUTODETECT OFF - CONDITION QT_FEATURE_xcb_xlib AND QT_FEATURE_fontconfig AND XRender_FOUND - EMIT_IF QT_FEATURE_xcb -) -qt_feature("xrender" PRIVATE - LABEL "XRender for native painting" - CONDITION QT_FEATURE_xcb_native_painting - EMIT_IF QT_FEATURE_xcb AND QT_FEATURE_xcb_native_painting -) -qt_feature("xcb-xlib" PRIVATE - LABEL "XCB Xlib" - CONDITION QT_FEATURE_xlib AND X11_XCB_FOUND -) -qt_feature("xcb-sm" PRIVATE - LABEL "xcb-sm" - CONDITION QT_FEATURE_sessionmanager AND X11_SM_FOUND - EMIT_IF QT_FEATURE_xcb -) -qt_feature("system-xcb-xinput" PRIVATE - LABEL "Using system-provided xcb-xinput" - CONDITION XCB_XINPUT_FOUND - ENABLE INPUT_bundled_xcb_xinput STREQUAL 'no' - DISABLE INPUT_bundled_xcb_xinput STREQUAL 'yes' - EMIT_IF QT_FEATURE_xcb -) -qt_feature("xkbcommon" PRIVATE - LABEL "xkbcommon" - CONDITION XKB_FOUND -) -qt_feature("xkbcommon-x11" PRIVATE - LABEL "xkbcommon-x11" - CONDITION QT_FEATURE_xkbcommon AND XKB_COMMON_X11_FOUND -) -qt_feature("xlib" PRIVATE - LABEL "XLib" - AUTODETECT NOT APPLE OR QT_FEATURE_xcb - CONDITION X11_FOUND -) -qt_feature("texthtmlparser" PUBLIC - SECTION "Kernel" - LABEL "HtmlParser" - PURPOSE "Provides a parser for HTML." -) -qt_feature_definition("texthtmlparser" "QT_NO_TEXTHTMLPARSER" NEGATE VALUE "1") -qt_feature("textmarkdownreader" PUBLIC - SECTION "Kernel" - LABEL "MarkdownReader" - PURPOSE "Provides a Markdown (CommonMark and GitHub) reader" - ENABLE INPUT_libmd4c STREQUAL 'system' OR INPUT_libmd4c STREQUAL 'qt' OR INPUT_libmd4c STREQUAL 'yes' - DISABLE INPUT_libmd4c STREQUAL 'no' -) -qt_feature("system-textmarkdownreader" PUBLIC - SECTION "Kernel" - LABEL " Using system libmd4c" - CONDITION libs.libmd4c OR FIXME - ENABLE INPUT_libmd4c STREQUAL 'system' - DISABLE INPUT_libmd4c STREQUAL 'qt' -) -qt_feature("textmarkdownwriter" PUBLIC - SECTION "Kernel" - LABEL "MarkdownWriter" - PURPOSE "Provides a Markdown (CommonMark) writer" -) -qt_feature("textodfwriter" PUBLIC - SECTION "Kernel" - LABEL "OdfWriter" - PURPOSE "Provides an ODF writer." - CONDITION QT_FEATURE_xmlstreamwriter -) -qt_feature_definition("textodfwriter" "QT_NO_TEXTODFWRITER" NEGATE VALUE "1") -qt_feature("cssparser" PUBLIC - SECTION "Kernel" - LABEL "CssParser" - PURPOSE "Provides a parser for Cascading Style Sheets." -) -qt_feature_definition("cssparser" "QT_NO_CSSPARSER" NEGATE VALUE "1") -qt_feature("draganddrop" PUBLIC - SECTION "Kernel" - LABEL "Drag and Drop" - PURPOSE "Supports the drag and drop mechansim." - CONDITION QT_FEATURE_imageformat_xpm -) -qt_feature_definition("draganddrop" "QT_NO_DRAGANDDROP" NEGATE VALUE "1") -qt_feature("action" PUBLIC - SECTION "Kernel" - LABEL "Q(Gui)Action(Group)" - PURPOSE "Provides abstract user interface actions." -) -qt_feature_definition("action" "QT_NO_ACTION" NEGATE VALUE "1") -qt_feature("cursor" PUBLIC - SECTION "Kernel" - LABEL "QCursor" - PURPOSE "Provides mouse cursors." -) -qt_feature_definition("cursor" "QT_NO_CURSOR" NEGATE VALUE "1") -qt_feature("clipboard" PUBLIC - SECTION "Kernel" - LABEL "QClipboard" - PURPOSE "Provides cut and paste operations." - CONDITION NOT INTEGRITY AND NOT QNX AND NOT rtems -) -qt_feature_definition("clipboard" "QT_NO_CLIPBOARD" NEGATE VALUE "1") -qt_feature("wheelevent" PUBLIC - SECTION "Kernel" - LABEL "QWheelEvent" - PURPOSE "Supports wheel events." -) -qt_feature_definition("wheelevent" "QT_NO_WHEELEVENT" NEGATE VALUE "1") -qt_feature("tabletevent" PUBLIC - SECTION "Kernel" - LABEL "QTabletEvent" - PURPOSE "Supports tablet events." -) -qt_feature_definition("tabletevent" "QT_NO_TABLETEVENT" NEGATE VALUE "1") -qt_feature("im" PUBLIC - SECTION "Kernel" - LABEL "QInputContext" - PURPOSE "Provides complex input methods." - CONDITION QT_FEATURE_library -) -qt_feature_definition("im" "QT_NO_IM" NEGATE VALUE "1") -qt_feature("highdpiscaling" PUBLIC - SECTION "Kernel" - LABEL "High DPI Scaling" - PURPOSE "Provides automatic scaling of DPI-unaware applications on high-DPI displays." -) -qt_feature_definition("highdpiscaling" "QT_NO_HIGHDPISCALING" NEGATE VALUE "1") -qt_feature("validator" PUBLIC - SECTION "Widgets" - LABEL "QValidator" - PURPOSE "Supports validation of input text." -) -qt_feature_definition("validator" "QT_NO_VALIDATOR" NEGATE VALUE "1") -qt_feature("standarditemmodel" PUBLIC - SECTION "ItemViews" - LABEL "QStandardItemModel" - PURPOSE "Provides a generic model for storing custom data." - CONDITION QT_FEATURE_itemmodel -) -qt_feature_definition("standarditemmodel" "QT_NO_STANDARDITEMMODEL" NEGATE VALUE "1") -qt_feature("filesystemmodel" PUBLIC - SECTION "File I/O" - LABEL "QFileSystemModel" - PURPOSE "Provides a data model for the local filesystem." - CONDITION QT_FEATURE_itemmodel -) -qt_feature_definition("filesystemmodel" "QT_NO_FILESYSTEMMODEL" NEGATE VALUE "1") -qt_feature("imageformatplugin" PUBLIC - SECTION "Images" - LABEL "QImageIOPlugin" - PURPOSE "Provides a base for writing a image format plugins." -) -qt_feature_definition("imageformatplugin" "QT_NO_IMAGEFORMATPLUGIN" NEGATE VALUE "1") -qt_feature("movie" PUBLIC - SECTION "Images" - LABEL "QMovie" - PURPOSE "Supports animated images." -) -qt_feature_definition("movie" "QT_NO_MOVIE" NEGATE VALUE "1") -qt_feature("imageformat_bmp" PUBLIC - SECTION "Images" - LABEL "BMP Image Format" - PURPOSE "Supports Microsoft's Bitmap image file format." -) -qt_feature_definition("imageformat_bmp" "QT_NO_IMAGEFORMAT_BMP" NEGATE VALUE "1") -qt_feature("imageformat_ppm" PUBLIC - SECTION "Images" - LABEL "PPM Image Format" - PURPOSE "Supports the Portable Pixmap image file format." -) -qt_feature_definition("imageformat_ppm" "QT_NO_IMAGEFORMAT_PPM" NEGATE VALUE "1") -qt_feature("imageformat_xbm" PUBLIC - SECTION "Images" - LABEL "XBM Image Format" - PURPOSE "Supports the X11 Bitmap image file format." -) -qt_feature_definition("imageformat_xbm" "QT_NO_IMAGEFORMAT_XBM" NEGATE VALUE "1") -qt_feature("imageformat_xpm" PUBLIC - SECTION "Images" - LABEL "XPM Image Format" - PURPOSE "Supports the X11 Pixmap image file format." -) -qt_feature_definition("imageformat_xpm" "QT_NO_IMAGEFORMAT_XPM" NEGATE VALUE "1") -qt_feature("imageformat_png" PUBLIC - SECTION "Images" - LABEL "PNG Image Format" - PURPOSE "Supports the Portable Network Graphics image file format." -) -qt_feature_definition("imageformat_png" "QT_NO_IMAGEFORMAT_PNG" NEGATE VALUE "1") -qt_feature("imageformat_jpeg" PUBLIC - SECTION "Images" - LABEL "JPEG Image Format" - PURPOSE "Supports the Joint Photographic Experts Group image file format." -) -qt_feature_definition("imageformat_jpeg" "QT_NO_IMAGEFORMAT_JPEG" NEGATE VALUE "1") -qt_feature("image_heuristic_mask" PUBLIC - SECTION "Images" - LABEL "QImage::createHeuristicMask()" - PURPOSE "Supports creating a 1-bpp heuristic mask for images." -) -qt_feature_definition("image_heuristic_mask" "QT_NO_IMAGE_HEURISTIC_MASK" NEGATE VALUE "1") -qt_feature("image_text" PUBLIC - SECTION "Images" - LABEL "Image Text" - PURPOSE "Supports image file text strings." -) -qt_feature_definition("image_text" "QT_NO_IMAGE_TEXT" NEGATE VALUE "1") -qt_feature("picture" PUBLIC - SECTION "Painting" - LABEL "QPicture" - PURPOSE "Supports recording and replaying QPainter commands." -) -qt_feature_definition("picture" "QT_NO_PICTURE" NEGATE VALUE "1") -qt_feature("colornames" PUBLIC - SECTION "Painting" - LABEL "Color Names" - PURPOSE "Supports color names such as \"red\", used by QColor and by some HTML documents." -) -qt_feature_definition("colornames" "QT_NO_COLORNAMES" NEGATE VALUE "1") -qt_feature("pdf" PUBLIC - SECTION "Painting" - LABEL "QPdf" - PURPOSE "Provides a PDF backend for QPainter." - CONDITION QT_FEATURE_temporaryfile -) -qt_feature_definition("pdf" "QT_NO_PDF" NEGATE VALUE "1") -qt_feature("desktopservices" PUBLIC - SECTION "Utilities" - LABEL "QDesktopServices" - PURPOSE "Provides methods for accessing common desktop services." -) -qt_feature_definition("desktopservices" "QT_NO_DESKTOPSERVICES" NEGATE VALUE "1") -qt_feature("systemtrayicon" PUBLIC - SECTION "Utilities" - LABEL "QSystemTrayIcon" - PURPOSE "Provides an icon for an application in the system tray." - CONDITION QT_FEATURE_temporaryfile -) -qt_feature_definition("systemtrayicon" "QT_NO_SYSTEMTRAYICON" NEGATE VALUE "1") -qt_feature("accessibility" PUBLIC - SECTION "Utilities" - LABEL "Accessibility" - PURPOSE "Provides accessibility support." - CONDITION QT_FEATURE_properties -) -qt_feature_definition("accessibility" "QT_NO_ACCESSIBILITY" NEGATE VALUE "1") -qt_feature("multiprocess" PRIVATE - SECTION "Utilities" - LABEL "Multi process" - PURPOSE "Provides support for detecting the desktop environment, launching external processes and opening URLs." - CONDITION NOT INTEGRITY AND NOT rtems -) -qt_feature("whatsthis" PUBLIC - SECTION "Widget Support" - LABEL "QWhatsThis" - PURPOSE "Supports displaying \"What's this\" help." -) -qt_feature_definition("whatsthis" "QT_NO_WHATSTHIS" NEGATE VALUE "1") -qt_feature("raster-64bit" PRIVATE - SECTION "Painting" - LABEL "QPainter - 64 bit raster" - PURPOSE "Internal painting support for 64 bit (16 bpc) rasterization." -) -qt_feature("undocommand" PUBLIC - SECTION "Utilities" - LABEL "QUndoCommand" - PURPOSE "Applies (redo or) undo of a single change in a document." -) -qt_feature_definition("undocommand" "QT_NO_UNDOCOMMAND" NEGATE VALUE "1") -qt_feature("undostack" PUBLIC - SECTION "Utilities" - LABEL "QUndoStack" - PURPOSE "Provides the ability to (redo or) undo a list of changes in a document." - CONDITION QT_FEATURE_undocommand -) -qt_feature_definition("undostack" "QT_NO_UNDOSTACK" NEGATE VALUE "1") -qt_feature("undogroup" PUBLIC - SECTION "Utilities" - LABEL "QUndoGroup" - PURPOSE "Provides the ability to cluster QUndoCommands." - CONDITION QT_FEATURE_undostack -) -qt_feature_definition("undogroup" "QT_NO_UNDOGROUP" NEGATE VALUE "1") -qt_configure_add_summary_section(NAME "Qt Gui") -qt_configure_add_summary_entry(ARGS "accessibility") -qt_configure_add_summary_entry(ARGS "freetype") -qt_configure_add_summary_entry(ARGS "system-freetype") -qt_configure_add_summary_entry(ARGS "harfbuzz") -qt_configure_add_summary_entry(ARGS "system-harfbuzz") -qt_configure_add_summary_entry(ARGS "fontconfig") -qt_configure_add_summary_section(NAME "Image formats") -qt_configure_add_summary_entry(ARGS "gif") -qt_configure_add_summary_entry(ARGS "ico") -qt_configure_add_summary_entry(ARGS "jpeg") -qt_configure_add_summary_entry(ARGS "system-jpeg") -qt_configure_add_summary_entry(ARGS "png") -qt_configure_add_summary_entry(ARGS "system-png") -qt_configure_end_summary_section() # end of "Image formats" section -qt_configure_add_summary_section(NAME "Text formats") -qt_configure_add_summary_entry(ARGS "texthtmlparser") -qt_configure_add_summary_entry(ARGS "cssparser") -qt_configure_add_summary_entry(ARGS "textodfwriter") -qt_configure_add_summary_entry(ARGS "textmarkdownreader") -qt_configure_add_summary_entry(ARGS "system-textmarkdownreader") -qt_configure_add_summary_entry(ARGS "textmarkdownwriter") -qt_configure_end_summary_section() # end of "Text formats" section -qt_configure_add_summary_entry(ARGS "egl") -qt_configure_add_summary_entry(ARGS "openvg") -qt_configure_add_summary_section(NAME "OpenGL") -qt_configure_add_summary_entry(ARGS "opengl-desktop") -qt_configure_add_summary_entry( - ARGS "opengl-dynamic" - CONDITION WIN32 -) -qt_configure_add_summary_entry(ARGS "opengles2") -qt_configure_add_summary_entry(ARGS "opengles3") -qt_configure_add_summary_entry(ARGS "opengles31") -qt_configure_add_summary_entry(ARGS "opengles32") -qt_configure_end_summary_section() # end of "OpenGL" section -qt_configure_add_summary_entry(ARGS "vulkan") -qt_configure_add_summary_entry(ARGS "sessionmanager") -qt_configure_end_summary_section() # end of "Qt Gui" section -qt_configure_add_summary_section(NAME "Features used by QPA backends") -qt_configure_add_summary_entry(ARGS "evdev") -qt_configure_add_summary_entry(ARGS "libinput") -qt_configure_add_summary_entry(ARGS "integrityhid") -qt_configure_add_summary_entry(ARGS "mtdev") -qt_configure_add_summary_entry(ARGS "tslib") -qt_configure_add_summary_entry(ARGS "xkbcommon") -qt_configure_add_summary_section(NAME "X11 specific") -qt_configure_add_summary_entry(ARGS "xlib") -qt_configure_add_summary_entry(ARGS "xcb-xlib") -qt_configure_add_summary_entry(ARGS "egl_x11") -qt_configure_add_summary_entry(ARGS "xkbcommon-x11") -qt_configure_end_summary_section() # end of "X11 specific" section -qt_configure_end_summary_section() # end of "Features used by QPA backends" section -qt_configure_add_summary_section(NAME "QPA backends") -qt_configure_add_summary_entry(ARGS "directfb") -qt_configure_add_summary_entry(ARGS "eglfs") -qt_configure_add_summary_section(NAME "EGLFS details") -qt_configure_add_summary_entry(ARGS "eglfs_openwfd") -qt_configure_add_summary_entry(ARGS "eglfs_viv") -qt_configure_add_summary_entry(ARGS "eglfs_viv_wl") -qt_configure_add_summary_entry(ARGS "eglfs_rcar") -qt_configure_add_summary_entry(ARGS "eglfs_egldevice") -qt_configure_add_summary_entry(ARGS "eglfs_gbm") -qt_configure_add_summary_entry(ARGS "eglfs_vsp2") -qt_configure_add_summary_entry(ARGS "eglfs_mali") -qt_configure_add_summary_entry(ARGS "eglfs_brcm") -qt_configure_add_summary_entry(ARGS "eglfs_x11") -qt_configure_end_summary_section() # end of "EGLFS details" section -qt_configure_add_summary_entry(ARGS "linuxfb") -qt_configure_add_summary_entry(ARGS "vnc") -qt_configure_add_summary_entry( - ARGS "integrityfb" - CONDITION INTEGRITY -) -qt_configure_add_summary_section(NAME "QNX") -qt_configure_add_summary_entry(ARGS "lgmon") -qt_configure_add_summary_entry(ARGS "qqnx_imf") -qt_configure_end_summary_section() # end of "QNX" section -qt_configure_add_summary_section(NAME "XCB") -qt_configure_add_summary_entry(ARGS "system-xcb-xinput") -qt_configure_add_summary_entry(ARGS "xcb-native-painting") -qt_configure_add_summary_section(NAME "GL integrations") -qt_configure_add_summary_entry(ARGS "xcb-glx-plugin") -qt_configure_add_summary_entry(ARGS "xcb-glx") -qt_configure_add_summary_entry(ARGS "xcb-egl-plugin") -qt_configure_end_summary_section() # end of "GL integrations" section -qt_configure_end_summary_section() # end of "XCB" section -qt_configure_add_summary_section(NAME "Windows") -qt_configure_add_summary_entry(ARGS "direct2d") -qt_configure_add_summary_entry(ARGS "directwrite") -qt_configure_add_summary_entry(ARGS "directwrite3") -qt_configure_end_summary_section() # end of "Windows" section -qt_configure_end_summary_section() # end of "QPA backends" section -qt_configure_add_report_entry( - TYPE NOTE - MESSAGE "XCB support on macOS is minimal and untested. Some features will not work properly or at all (e.g. OpenGL, desktop services or accessibility), or may depend on your system and XQuartz setup." - CONDITION QT_FEATURE_xcb AND APPLE -) -qt_configure_add_report_entry( - TYPE NOTE - MESSAGE "Disabling X11 Accessibility Bridge: D-Bus or AT-SPI is missing." - CONDITION QT_FEATURE_accessibility AND QT_FEATURE_xcb AND NOT QT_FEATURE_accessibility_atspi_bridge -) -qt_configure_add_report_entry( - TYPE WARNING - MESSAGE "No QPA platform plugin enabled! This will produce a Qt that cannot run GUI applications. See \"Platform backends\" in the output of --help." - CONDITION QT_FEATURE_gui AND LINUX AND NOT ANDROID AND NOT QT_FEATURE_xcb AND NOT QT_FEATURE_eglfs AND NOT QT_FEATURE_directfb AND NOT QT_FEATURE_linuxfb -) -qt_configure_add_report_entry( - TYPE WARNING - MESSAGE "On OS X, AAT is supported only with -qt-harfbuzz." - CONDITION APPLE AND QT_FEATURE_system_harfbuzz -) -qt_configure_add_report_entry( - TYPE ERROR - MESSAGE "The OpenGL functionality tests failed! You might need to modify the include and library search paths by editing QMAKE_INCDIR_OPENGL[_ES2], QMAKE_LIBDIR_OPENGL[_ES2] and QMAKE_LIBS_OPENGL[_ES2] in the mkspec for your platform." - CONDITION QT_FEATURE_gui AND NOT WATCHOS AND ( NOT INPUT_opengl STREQUAL 'no' ) AND NOT QT_FEATURE_opengl_desktop AND NOT QT_FEATURE_opengles2 AND NOT QT_FEATURE_opengl_dynamic -) -qt_configure_add_report_entry( - TYPE WARNING - MESSAGE "Accessibility disabled. This configuration of Qt is unsupported." - CONDITION NOT QT_FEATURE_accessibility -) -qt_configure_add_report_entry( - TYPE ERROR - MESSAGE "XCB plugin requires xkbcommon and xkbcommon-x11, but -no-xkbcommon was provided." - CONDITION ( NOT INPUT_xcb STREQUAL '' ) AND ( NOT INPUT_xcb STREQUAL 'no' ) AND INPUT_xkbcommon STREQUAL 'no' -) diff --git a/src/gui/configure.json b/src/gui/configure.json deleted file mode 100644 index 8e3d647df6..0000000000 --- a/src/gui/configure.json +++ /dev/null @@ -1,1847 +0,0 @@ -{ - "module": "gui", - "depends": [ - "core-private", - "network" - ], - "testDir": "../../config.tests", - - "commandline": { - "options": { - "accessibility": "boolean", - "direct2d": "boolean", - "directfb": "boolean", - "directwrite": "boolean", - "egl": "boolean", - "eglfs": "boolean", - "evdev": "boolean", - "fontconfig": "boolean", - "freetype": { "type": "enum", "values": [ "no", "qt", "system" ] }, - "gbm": "boolean", - "gif": "boolean", - "harfbuzz": { "type": "enum", "values": [ "no", "qt", "system" ] }, - "ico": "boolean", - "imf": { "type": "boolean", "name": "qqnx_imf" }, - "kms": "boolean", - "lgmon": "boolean", - "libinput": "boolean", - "libjpeg": { "type": "enum", "values": [ "no", "qt", "system" ] }, - "libmd4c": { "type": "enum", "values": [ "no", "qt", "system" ] }, - "libpng": { "type": "enum", "values": [ "no", "qt", "system" ] }, - "linuxfb": "boolean", - "mtdev": "boolean", - "opengl": { "type": "optionalString", "values": [ "no", "yes", "desktop", "es2", "dynamic" ] }, - "opengl-es-2": { "type": "void", "name": "opengl", "value": "es2" }, - "opengles3": "boolean", - "openvg": "boolean", - "qpa": { "type": "string", "name": "qpa_default_platform" }, - "sm": { "type": "boolean", "name": "sessionmanager" }, - "tslib": "boolean", - "vulkan": "boolean", - "xcb": "boolean", - "bundled-xcb-xinput": "boolean", - "xcb-native-painting": "boolean", - "xcb-xlib": "boolean", - "xkbcommon": "boolean" - } - }, - - "libraries": { - "atspi": { - "label": "atspi", - "sources": [ - { "type": "pkgConfig", "args": "atspi-2" } - ] - }, - "bcm_host": { - "export": "", - "headers": ["bcm_host.h"], - "sources": [ - { "type": "pkgConfig", "args": "bcm_host" }, - { "type": "makeSpec", "spec": "BCM_HOST" } - ] - }, - "d2d1": { - "label": "Direct2D 1", - "headers": [ "d2d1.h", "d2d1helper.h" ], - "sources": [ - "-ld2d1" - ] - }, - "d2d1_1": { - "label": "Direct2D 1.1", - "test": { - "main": [ - "ID2D1Factory1 *d2dFactory;", - "D2D1CreateFactory(D2D1_FACTORY_TYPE_SINGLE_THREADED, &d2dFactory);" - ] - }, - "headers": [ "d2d1_1.h", "d2d1_1helper.h" ], - "sources": [ - "-ld2d1" - ] - }, - "directfb": { - "label": "DirectFB", - "test": { - "tail": [ - "#ifdef __typeof__", - "# error DirectFB headers are unclean and cannot compile", - "#endif" - ] - }, - "headers": "directfb.h", - "sources": [ - { "type": "pkgConfig", "args": "directfb" } - ] - }, - "dwrite_2": { - "label": "DirectWrite 2", - "test": { - "main": [ - "IUnknown *factory = 0;", - "(void)(size_t(DWRITE_E_NOCOLOR) + sizeof(IDWriteFontFace2));", - "DWriteCreateFactory(DWRITE_FACTORY_TYPE_SHARED, __uuidof(IDWriteFactory2),", - " &factory);" - ] - }, - "headers": "dwrite_2.h", - "sources": [ - "-ldwrite" - ] - }, - "dwrite_3": { - "label": "DirectWrite 3", - "test": { - "main": [ - "IUnknown *factory = 0;", - "DWriteCreateFactory(DWRITE_FACTORY_TYPE_SHARED, __uuidof(IDWriteFactory3),", - " &factory);" - ] - }, - "headers": "dwrite_3.h", - "sources": [ - "-ldwrite" - ] - }, - "drm": { - "label": "KMS", - "test": { - "head": [ - "#include ", - "#include ", - "extern \"C\" {" - ], - "tail": [ - "}" - ], - "main": "(void) drmModeGetCrtc(0, 0);" - }, - "headers": [ "xf86drmMode.h", "xf86drm.h" ], - "sources": [ - { "type": "pkgConfig", "args": "libdrm" }, - { "libs": "-ldrm", "condition": "!config.integrity" }, - { "libs": "-ldrm-nvdc -lposix -livfs -lnvll -lnvdc -lnvrm -lnvrm_graphics -lnvos -lnvtegrahv", "condition": "config.integrity" } - ] - }, - "egl": { - "label": "EGL", - "test": { - "main": [ - "EGLint x = 0; EGLDisplay dpy = 0; EGLContext ctx = 0;", - "eglDestroyContext(dpy, ctx);" - ] - }, - "headers": "EGL/egl.h", - "sources": [ - { "type": "pkgConfig", "args": "egl" }, - { "type": "makeSpec", "spec": "EGL" } - ] - }, - "freetype": { - "label": "FreeType", - "test": { - "tail": [ - "#include FT_FREETYPE_H", - "#if ((FREETYPE_MAJOR*10000 + FREETYPE_MINOR*100 + FREETYPE_PATCH) < 20200)", - "# error This version of freetype is too old.", - "#endif" - ], - "main": [ - "FT_Face face = 0;" - ] - }, - "headers": "ft2build.h", - "sources": [ - { "type": "pkgConfig", "args": "freetype2" }, - { "type": "freetype", "libs": "-lfreetype", "condition": "!config.wasm" }, - { "libs": "-s USE_FREETYPE=1", "condition": "config.wasm" }, - { "libs": "-lfreetype" } - ], - "use": [ - { "lib": "zlib", "condition": "features.system-zlib" } - ] - }, - "fontconfig": { - "label": "Fontconfig", - "test": { - "tail": [ - "#ifndef FC_RGBA_UNKNOWN", - "# error This version of fontconfig is too old, it is missing the FC_RGBA_UNKNOWN define", - "#endif" - ], - "main": [ - "FcPattern *pattern = 0;" - ] - }, - "headers": "fontconfig/fontconfig.h", - "sources": [ - { "type": "pkgConfig", "args": "fontconfig" }, - { "type": "freetype", "libs": "-lfontconfig" } - ], - "use": "freetype" - }, - "gbm": { - "label": "GBM", - "test": { - "head": [ - "#include ", - "#include ", - "extern \"C\" {" - ], - "tail": [ - "}" - ], - "main": "gbm_surface *surface = 0;" - }, - "headers": "gbm.h", - "sources": [ - { "type": "pkgConfig", "args": "gbm" } - ] - }, - "harfbuzz": { - "label": "HarfBuzz", - "test": { - "tail": [ - "#if !HB_VERSION_ATLEAST(2, 6, 0)", - "# error This version of harfbuzz is too old.", - "#endif" - ], - "main": [ - "hb_buffer_t *buffer = hb_buffer_create();", - "const uint16_t string[] = { 'A', 'b', 'c' };", - "hb_buffer_add_utf16(buffer, string, 3, 0, 3);", - "hb_buffer_guess_segment_properties(buffer);", - "hb_buffer_set_flags(buffer, hb_buffer_flags_t(HB_BUFFER_FLAG_PRESERVE_DEFAULT_IGNORABLES));", - "hb_buffer_destroy(buffer);" - ] - }, - "headers": "hb.h", - "sources": [ - "-lharfbuzz" - ] - }, - "imf": { - "label": "IMF", - "export": "", - "test": { - "main": "imf_client_init();" - }, - "headers": "imf/imf_client.h", - "sources": [ - "-linput_client" - ] - }, - "lgmon": { - "label": "lgmon", - "test": { - "main": "lgmon_supported(getpid());" - }, - "headers": "lgmon.h", - "sources": [ - "-llgmon" - ] - }, - "libinput": { - "label": "libinput", - "test": { - "main": "libinput_udev_create_context(NULL, NULL, NULL);" - }, - "headers": "libinput.h", - "sources": [ - { "type": "pkgConfig", "args": "libinput" } - ] - }, - "integrityhid": { - "label": "integrityhid", - "test": { - "head": [ - "#include ", - "#include " - ], - "main": [ - "HIDDriver *driver;", - "uintptr_t devicecontext;", - "uint32_t device_id;", - "gh_hid_enum_devices(driver, &device_id, &devicecontext);" - ] - }, - "headers": "device/hiddriver.h", - "sources": [ - { "libs": "-lhiddev -lusbhid -lusb" } - ] - }, - "libjpeg": { - "label": "libjpeg", - "test": { - "head": [ - "#include ", - "#include ", - "extern \"C\" {" - ], - "tail": [ - "}", - "", - "j_compress_ptr cinfo;" - ], - "main": "jpeg_create_compress(cinfo);" - }, - "headers": "jpeglib.h", - "sources": [ - { "type": "pkgConfig", "args": "libjpeg" }, - { "libs": "-llibjpeg", "condition": "config.msvc" }, - "-ljpeg" - ] - }, - "libmd4c": { - "label": "libmd4c", - "test": { - "main": "md_parse(\"hello\", 5, nullptr, nullptr);" - }, - "headers": "md4c.h", - "sources": [ - { "type": "pkgConfig", "args": "md4c" }, - { "libs": "-lmd4c" } - ] - }, - "libpng": { - "label": "libpng", - "test": { - "main": "(void) png_create_read_struct(PNG_LIBPNG_VER_STRING,0,0,0);" - }, - "headers": "png.h", - "sources": [ - { "type": "pkgConfig", "args": "libpng" }, - { "libs": "-llibpng16", "condition": "config.msvc" }, - { "libs": "-llibpng", "condition": "config.msvc" }, - { "libs": "-lpng16", "condition": "!config.msvc" }, - { "libs": "-lpng", "condition": "!config.msvc" }, - { "libs": "-s USE_LIBPNG=1", "condition": "config.wasm" } - ], - "use": [ - { "lib": "zlib", "condition": "features.system-zlib" } - ] - }, - "mtdev": { - "label": "mtdev", - "test": { - "main": [ - "mtdev m;", - "mtdev_open(&m, 0);" - ] - }, - "headers": "mtdev.h", - "sources": [ - { "type": "pkgConfig", "args": "mtdev" } - ] - }, - "opengl": { - "label": "Desktop OpenGL", - "test": { - "head": [ - "#ifdef __APPLE__", - "# include ", - "#else", - "# define GL_GLEXT_PROTOTYPES", - "# include ", - "#endif" - ], - "main": [ - "glBegin(GL_TRIANGLES);", - " glVertex2f(20.0f, 10.0f);", - " glVertex2f(10.0f, 30.0f);", - " glVertex2f(20.0f, 50.0f);", - "glEnd();" - ] - }, - "sources": [ - { "type": "pkgConfig", "args": "gl", "condition": "!config.darwin" }, - { "type": "makeSpec", "spec": "OPENGL" } - ] - }, - "opengl_es2": { - "label": "OpenGL ES 2.0", - "test": { - "head": [ - "#ifdef __APPLE__", - "# include ", - "#else", - "# define GL_GLEXT_PROTOTYPES", - "# include ", - "#endif" - ], - "main": [ - "glUniform1f(1, GLfloat(1.0));", - "glClear(GL_COLOR_BUFFER_BIT);" - ] - }, - "sources": [ - { "type": "pkgConfig", "args": "glesv2", "condition": "!config.darwin" }, - { "type": "makeSpec", "spec": "OPENGL_ES2" } - ] - }, - "openvg": { - "label": "OpenVG", - "test": { - "main": "VGint i = 2; vgFlush();" - }, - "headers": "VG/openvg.h", - "sources": [ - { "type": "pkgConfig", "args": "vg" }, - { "type": "makeSpec", "spec": "OPENVG" } - ] - }, - "tslib": { - "label": "tslib", - "test": { - "main": "ts_setup(nullptr, 0);" - }, - "headers": "tslib.h", - "sources": [ - "-lts" - ] - }, - "v4l2": { - "label": "V4L2", - "test": { - "head": [ - "#include ", - "extern \"C\" {" - ], - "tail": [ - "}" - ], - "main": [ - "v4l2_format fmt;", - "media_pad *pad = nullptr;", - "media_device *device = media_device_new(\"/dev/media\");", - "v4l2_subdev_set_format(nullptr, nullptr, 0, V4L2_SUBDEV_FORMAT_ACTIVE);" - ] - }, - "headers": [ "mediactl/mediactl.h", "mediactl/v4l2subdev.h" ], - "sources": [ - { "type": "pkgConfig", "args": "libv4l2 libmediactl" }, - "-lmediactl -lv4l2 -lv4l2subdev" - ] - }, - "vulkan": { - "label": "Vulkan", - "test": { - "comment": "Note: Qt does not rely on linking to a Vulkan library directly.", - "tail": [ - "// The pData parameter has changed from uint32_t* to void* at some point.", - "// Ensure the headers have the updated one to prevent compile errors later on.", - "PFN_vkCmdUpdateBuffer cmdUpdBuf;", - "void testUpdateBuffer(VkCommandBuffer commandBuffer, VkBuffer dstBuffer, VkDeviceSize dstOffset, VkDeviceSize dataSize, const void* pData)", - "{", - " cmdUpdBuf(commandBuffer, dstBuffer, dstOffset, dataSize, pData);", - "}" - ], - "main": [ - "VkInstanceCreateInfo info;", - "testUpdateBuffer(0, 0, 0, 0, 0);" - ] - }, - "headers": "vulkan/vulkan.h", - "sources": [ - { "type": "pkgConfig", "args": "vulkan" }, - { "type": "makeSpec", "spec": "VULKAN" } - ] - }, - "wayland_server": { - "label": "Wayland Server", - "test": { - "main": "wl_display_create();" - }, - "headers": "wayland-server.h", - "sources": [ - { "type": "pkgConfig", "args": "wayland-server" } - ] - }, - "xlib": { - "label": "XLib", - "test": { - "main": [ - "Display *d = XOpenDisplay(NULL);", - "XCloseDisplay(d);" - ] - }, - "headers": "X11/Xlib.h", - "sources": [ - { "type": "makeSpec", "spec": "X11" } - ] - }, - "x11sm": { - "label": "X11 session management", - "sources": [ - { "type": "pkgConfig", "args": "sm ice" } - ] - }, - "xcb": { - "label": "XCB >= 1.11", - "test": { - "main": [ - "int primaryScreen = 0;", - "(void)xcb_connect(\"\", &primaryScreen);", - "/* XCB_PACKED define was added in libxcb 1.11 */", - "#ifdef XCB_PACKED", - " return 0;", - "#else", - " return -1;", - "#endif" - ] - }, - "headers": "xcb/xcb.h", - "sources": [ - { "type": "pkgConfig", "args": "xcb >= 1.11" }, - "-lxcb" - ] - }, - "xcb_icccm": { - "label": "XCB ICCCM >= 0.3.9", - "headers": "xcb/xcb_icccm.h", - "sources": [ - { "type": "pkgConfig", "args": "xcb-icccm >= 0.3.9" }, - "-lxcb-icccm" - ], - "use": "xcb" - }, - "xcb_image": { - "label": "XCB Image >= 0.3.9", - "headers": "xcb/xcb_image.h", - "sources": [ - { "type": "pkgConfig", "args": "xcb-image >= 0.3.9" }, - "-lxcb-image" - ], - "use": "xcb_shm xcb" - }, - "xcb_keysyms": { - "label": "XCB Keysyms >= 0.3.9", - "headers": "xcb/xcb_keysyms.h", - "sources": [ - { "type": "pkgConfig", "args": "xcb-keysyms >= 0.3.9" }, - "-lxcb-keysyms" - ], - "use": "xcb" - }, - "xcb_renderutil": { - "label": "XCB Renderutil >= 0.3.9", - "headers": "xcb/xcb_renderutil.h", - "sources": [ - { "type": "pkgConfig", "args": "xcb-renderutil >= 0.3.9" }, - "-lxcb-render-util" - ], - "use": "xcb xcb_render" - }, - "xcb_randr": { - "label": "XCB RandR", - "headers": "xcb/randr.h", - "sources": [ - { "type": "pkgConfig", "args": "xcb-randr" }, - "-lxcb-randr" - ], - "use": "xcb" - }, - "xcb_shape": { - "label": "XCB Shape", - "headers": "xcb/shape.h", - "sources": [ - { "type": "pkgConfig", "args": "xcb-shape" }, - "-lxcb-shape" - ], - "use": "xcb" - }, - "xcb_shm": { - "label": "XCB SHM", - "headers": "xcb/shm.h", - "sources": [ - { "type": "pkgConfig", "args": "xcb-shm" }, - "-lxcb-shm" - ], - "use": "xcb" - }, - "xcb_sync": { - "label": "XCB Sync", - "headers": "xcb/sync.h", - "sources": [ - { "type": "pkgConfig", "args": "xcb-sync" }, - "-lxcb-sync" - ], - "use": "xcb" - }, - "xcb_xfixes": { - "label": "XCB Xfixes", - "headers": "xcb/xfixes.h", - "sources": [ - { "type": "pkgConfig", "args": "xcb-xfixes" }, - "-lxcb-xfixes" - ], - "use": "xcb" - }, - "xcb_xlib": { - "label": "XCB Xlib", - "test": { - "main": "(void) XGetXCBConnection((Display *)0);" - }, - "headers": "X11/Xlib-xcb.h", - "sources": [ - { "type": "pkgConfig", "args": "x11-xcb" }, - "-lX11-xcb" - ], - "use": "xcb xlib" - }, - "xcb_xkb": { - "label": "XCB XKB", - "headers": "xcb/xkb.h", - "sources": [ - { "type": "pkgConfig", "args": "xcb-xkb" }, - "-lxcb-xkb" - ], - "use": "xcb" - }, - "xcb_render": { - "label": "XCB XRender", - "headers": "xcb/render.h", - "sources": [ - { "type": "pkgConfig", "args": "xcb-render" }, - "-lxcb-render" - ], - "use": "xcb" - }, - "xcb_glx": { - "label": "XCB GLX", - "test": { - "main": [ - "xcb_connection_t *connection = 0;", - "xcb_generic_error_t *error = 0;", - "xcb_glx_query_version_cookie_t xglx_query_cookie = xcb_glx_query_version(", - " connection, XCB_GLX_MAJOR_VERSION, XCB_GLX_MINOR_VERSION);", - "xcb_glx_query_version_reply(connection, xglx_query_cookie, &error);" - ] - }, - "headers": "xcb/glx.h", - "sources": [ - { "type": "pkgConfig", "args": "xcb-glx" }, - "-lxcb-glx" - ], - "use": "xcb" - }, - "xcb_xinput": { - "label": "XCB XInput", - "test": { - "main": [ - "xcb_connection_t *connection = 0;", - "xcb_generic_error_t *error = 0;", - "xcb_input_xi_query_version_cookie_t xinput_query_cookie = xcb_input_xi_query_version(", - " connection, XCB_INPUT_MAJOR_VERSION, XCB_INPUT_MINOR_VERSION);", - "xcb_input_xi_query_version_reply(connection, xinput_query_cookie, &error);" - ] - }, - "headers": "xcb/xinput.h", - "sources": [ - { "type": "pkgConfig", "args": "xcb-xinput >= 1.12" }, - "-lxcb-xinput" - ], - "use": "xcb" - }, - "xkbcommon": { - "label": "xkbcommon >= 0.5.0", - "test": { - "main": "xkb_context_new(XKB_CONTEXT_NO_FLAGS);" - }, - "headers": [ "xkbcommon/xkbcommon.h" ], - "sources": [ - { "type": "pkgConfig", "args": "xkbcommon >= 0.5.0" }, - "-lxkbcommon" - ] - }, - "xkbcommon_x11": { - "label": "xkbcommon-x11", - "test": { - "main": "xkb_x11_setup_xkb_extension_flags flag = XKB_X11_SETUP_XKB_EXTENSION_NO_FLAGS;" - }, - "headers": [ "xkbcommon/xkbcommon-x11.h" ], - "sources": [ - { "type": "pkgConfig", "args": "xkbcommon-x11" }, - "-lxkbcommon -lxkbcommon-x11" - ] - }, - "xrender": { - "label": "XRender for native painting", - "test": { - "tail": [ - "#if RENDER_MAJOR == 0 && RENDER_MINOR < 5", - "# error Required Xrender version 0.6 not found.", - "#endif" - ], - "main": "XRenderPictFormat *format = 0;" - }, - "headers": "X11/extensions/Xrender.h", - "sources": [ - "-lXrender" - ], - "use": "xlib" - } - }, - - "tests": { - "drm_atomic": { - "label": "DRM Atomic API", - "type": "compile", - "test": { - "head": [ - "#include ", - "#include ", - "extern \"C\" {" - ], - "include": [ - "xf86drmMode.h", - "xf86drm.h" - ], - "tail": [ - "}" - ], - "main": "drmModeAtomicReq *request;" - }, - "use": "drm" - }, - "egl-x11": { - "label": "EGL on X11", - "type": "compile", - "test": { - "head": [ - "// Check if EGL is compatible with X. Some EGL implementations, typically on", - "// embedded devices, are not intended to be used together with X. EGL support", - "// has to be disabled in plugins like xcb in this case since the native display,", - "// window and pixmap types will be different than what an X-based platform", - "// plugin would expect." - ], - "include": [ "EGL/egl.h", "X11/Xlib.h" ], - "main": [ - "Display *dpy = EGL_DEFAULT_DISPLAY;", - "EGLNativeDisplayType egldpy = XOpenDisplay(\"\");", - "dpy = egldpy;", - "EGLNativeWindowType w = XCreateWindow(dpy, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);", - "XDestroyWindow(dpy, w);", - "XCloseDisplay(dpy);" - ] - }, - "use": "egl xlib" - }, - "egl-brcm": { - "label": "Broadcom EGL (Raspberry Pi)", - "type": "compile", - "test": { - "include": [ "EGL/egl.h", "bcm_host.h" ], - "main": "vc_dispmanx_display_open(0);" - }, - "use": "egl bcm_host" - }, - "egl-egldevice": { - "label": "EGLDevice", - "type": "compile", - "test": { - "include": [ "EGL/egl.h", "EGL/eglext.h" ], - "main": [ - "EGLDeviceEXT device = 0;", - "EGLStreamKHR stream = 0;", - "EGLOutputLayerEXT layer = 0;", - "(void) EGL_DRM_CRTC_EXT;" - ] - }, - "use": "egl" - }, - "egl-mali": { - "label": "Mali EGL", - "type": "compile", - "test": { - "include": [ "EGL/fbdev_window.h", "EGL/egl.h", "GLES2/gl2.h" ], - "main": "fbdev_window *w = 0;" - }, - "use": "egl" - }, - "egl-mali-2": { - "label": "Mali 2 EGL", - "type": "compile", - "test": { - "include": [ "EGL/egl.h", "GLES2/gl2.h" ], - "main": "mali_native_window *w = 0;" - }, - "use": "egl" - }, - "egl-viv": { - "label": "i.Mx6 EGL", - "type": "compile", - "test": { - "include": [ "EGL/egl.h", "EGL/eglvivante.h" ], - "main": [ - "#ifdef __INTEGRITY", - "fbGetDisplay();", - "#else", - "// Do not rely on fbGetDisplay(), since the signature has changed over time.", - "// Stick to fbGetDisplayByIndex().", - "fbGetDisplayByIndex(0);", - "#endif" - ], - "qmake": [ - "DEFINES += EGL_API_FB=1", - "!integrity: DEFINES += LINUX=1" - ] - }, - "use": "egl" - }, - "egl-openwfd": { - "label": "OpenWFD EGL", - "type": "compile", - "test": { - "include": [ "wfd.h" ], - "main": [ - "wfdEnumerateDevices(nullptr, 0, nullptr);" - ] - }, - "use": "egl" - }, - "egl-rcar": { - "label": "RCAR EGL", - "type": "compile", - "test": { - "include": [ "EGL/egl.h" ], - "tail": [ - "extern \"C\" {", - "extern unsigned long PVRGrfxServerInit(void);", - "}" - ], - "main": [ - "PVRGrfxServerInit();" - ] - }, - "use": "egl opengl_es2" - }, - "evdev": { - "label": "evdev", - "type": "compile", - "test": { - "head": [ - "#if defined(__FreeBSD__)", - "# include ", - "#else", - "# include ", - "# include ", - "#endif", - "enum {", - " e1 = ABS_PRESSURE,", - " e2 = ABS_X,", - " e3 = REL_X,", - " e4 = SYN_REPORT,", - "};" - ], - "main": [ - "input_event buf[32];", - "(void) buf;" - ] - } - }, - "integrityfb": { - "label": "INTEGRITY framebuffer", - "type": "compile", - "test": { - "include": "device/fbdriver.h", - "main": "FBDriver *driver = 0;" - } - }, - "libinput_axis_api": { - "label": "axis API in libinput", - "type": "compile", - "test": { - "include": "libinput.h", - "main": "libinput_event_pointer_has_axis(nullptr, LIBINPUT_POINTER_AXIS_SCROLL_VERTICAL);" - }, - "use": "libinput" - }, - "linuxfb": { - "label": "LinuxFB", - "type": "compile", - "test": { - "include": [ "linux/fb.h", "sys/kd.h", "sys/ioctl.h" ], - "main": [ - "fb_fix_screeninfo finfo;", - "fb_var_screeninfo vinfo;", - "int fd = 3;", - "ioctl(fd, FBIOGET_FSCREENINFO, &finfo);", - "ioctl(fd, FBIOGET_VSCREENINFO, &vinfo);" - ] - } - }, - "opengles3": { - "label": "OpenGL ES 3.0", - "type": "compile", - "test": { - "head": [ - "#ifdef __APPLE__", - "# include ", - "#else", - "# define GL_GLEXT_PROTOTYPES", - "# include ", - "#endif" - ], - "main": [ - "static GLfloat f[6];", - "glGetStringi(GL_EXTENSIONS, 0);", - "glReadBuffer(GL_COLOR_ATTACHMENT1);", - "glUniformMatrix2x3fv(0, 0, GL_FALSE, f);", - "glMapBufferRange(GL_ARRAY_BUFFER, 0, 0, GL_MAP_READ_BIT);" - ] - }, - "comment": [ - "The library is expected to be the same as in ES 2.0 (libGLESv2).", - "The difference is the header and the presence of the functions in", - "the library." - ], - "use": "opengl_es2" - }, - "opengles31": { - "label": "OpenGL ES 3.1", - "type": "compile", - "test": { - "include": "GLES3/gl31.h", - "main": [ - "glDispatchCompute(1, 1, 1);", - "glProgramUniform1i(0, 0, 0);" - ] - }, - "use": "opengl_es2" - }, - "opengles32": { - "label": "OpenGL ES 3.2", - "type": "compile", - "test": { - "include": "GLES3/gl32.h", - "main": "glFramebufferTexture(GL_TEXTURE_2D, GL_DEPTH_STENCIL_ATTACHMENT, 1, 0);" - }, - "use": "opengl_es2" - }, - "qpa_default_platform": { - "label": "default QPA platform", - "type": "qpaDefaultPlatform", - "log": "value" - }, - "xcb_syslibs": { - "label": "XCB (extensions)", - "type": "compile", - "test": { - "head": [ - "// xkb.h is using a variable called 'explicit', which is a reserved keyword in C++", - "#define explicit dont_use_cxx_explicit" - ], - "tail": "#undef explicit", - "include": [ - "xcb/xcb.h", - "xcb/xcb_image.h", - "xcb/xcb_keysyms.h", - "xcb/randr.h", - "xcb/render.h", - "xcb/shape.h", - "xcb/shm.h", - "xcb/sync.h", - "xcb/xfixes.h", - "xcb/xcb_icccm.h", - "xcb/xcb_renderutil.h", - "xcb/xkb.h" - ], - "main": [ - "int primaryScreen = 0;", - "xcb_connection_t *c = xcb_connect(\"\", &primaryScreen);", - - "/* RENDER */", - "xcb_generic_error_t *error = nullptr;", - "xcb_render_query_pict_formats_cookie_t formatsCookie =", - " xcb_render_query_pict_formats(c);", - "xcb_render_query_pict_formats_reply_t *formatsReply =", - " xcb_render_query_pict_formats_reply(c, formatsCookie, &error);", - - "/* RENDERUTIL: xcb_renderutil.h include won't compile unless version >= 0.3.9 */", - "xcb_render_util_find_standard_format(nullptr, XCB_PICT_STANDARD_ARGB_32);", - - "/* XKB: This takes more arguments in xcb-xkb < 1.11 */", - "xcb_xkb_get_kbd_by_name_replies_key_names_value_list_sizeof(nullptr, 0, 0, 0, 0, 0, 0, 0, 0);" - ] - }, - "use": "xcb_icccm xcb_image xcb_keysyms xcb_randr xcb_render xcb_renderutil xcb_shape xcb_shm xcb_sync xcb_xfixes xcb_xkb xcb" - }, - "x11prefix": { - "label": "X11 prefix", - "type": "getPkgConfigVariable", - "pkg-config-args": "x11", - "pkg-config-variable": "prefix", - "value": "/usr", - "log": "value" - } - }, - - "features": { - "accessibility-atspi-bridge": { - "label": "ATSPI Bridge", - "condition": "features.accessibility && features.xcb && features.dbus && libs.atspi", - "output": [ "privateFeature", "feature" ] - }, - "directfb": { - "label": "DirectFB", - "section": "Platform plugins", - "autoDetect": false, - "condition": "libs.directfb", - "output": [ "privateFeature" ] - }, - "directwrite": { - "label": "DirectWrite", - "emitIf": "config.win32", - "condition": "libs.dwrite_2", - "output": [ "privateFeature" ] - }, - "directwrite3": { - "label": "DirectWrite 3", - "emitIf": "config.win32", - "condition": "features.directwrite && libs.dwrite_3", - "output": [ "privateFeature" ] - }, - "direct2d": { - "label": "Direct 2D", - "condition": "config.win32 && libs.d2d1", - "output": [ "privateFeature" ] - }, - "direct2d1_1": { - "label": "Direct 2D 1.1", - "condition": "features.direct2d && libs.d2d1_1", - "output": [ "privateFeature" ] - }, - "evdev": { - "label": "evdev", - "condition": "features.thread && tests.evdev", - "output": [ "privateFeature" ] - }, - "freetype": { - "label": "FreeType", - "purpose": "Supports the FreeType 2 font engine (and its supported font formats).", - "section": "Fonts", - "output": [ "privateFeature", "feature" ] - }, - "system-freetype": { - "label": " Using system FreeType", - "enable": "input.freetype == 'system'", - "disable": "input.freetype == 'qt'", - "autoDetect": "!config.msvc", - "condition": "features.freetype && libs.freetype", - "output": [ "privateFeature" ] - }, - "fontconfig": { - "label": "Fontconfig", - "autoDetect": "!config.darwin", - "condition": "!config.win32 && features.system-freetype && libs.fontconfig", - "output": [ "privateFeature", "feature" ] - }, - "gbm": { - "label": "GBM", - "condition": "libs.gbm", - "output": [ "publicQtConfig" ] - }, - "harfbuzz": { - "label": "HarfBuzz", - "output": [ "privateFeature", "feature" ] - }, - "system-harfbuzz": { - "label": " Using system HarfBuzz", - "enable": "input.harfbuzz == 'system'", - "disable": "input.harfbuzz == 'qt'", - "autoDetect": "!config.darwin && !config.win32", - "condition": "features.harfbuzz && libs.harfbuzz", - "output": [ "privateFeature" ] - }, - "qqnx_imf": { - "label": "IMF", - "emitIf": "config.qnx", - "condition": "libs.imf", - "output": [ "privateFeature" ] - }, - "integrityfb": { - "label": "INTEGRITY framebuffer", - "section": "Platform plugins", - "condition": "config.integrity && tests.integrityfb", - "output": [ "privateFeature" ] - }, - "kms": { - "label": "KMS", - "condition": "libs.drm", - "output": [ "publicQtConfig", "privateFeature" ] - }, - "drm_atomic": { - "label": "DRM Atomic API", - "condition": "libs.drm && tests.drm_atomic", - "output": [ "privateFeature" ] - }, - "libinput": { - "label": "libinput", - "condition": "features.libudev && libs.libinput", - "output": [ "privateFeature" ] - }, - "integrityhid": { - "label": "INTEGRITY HID", - "condition": "config.integrity && libs.integrityhid", - "output": [ "privateFeature" ] - }, - "libinput-axis-api": { - "label": "axis API in libinput", - "condition": "features.libinput && tests.libinput_axis_api", - "output": [ "privateFeature" ] - }, - "lgmon": { - "label": "lgmon", - "emitIf": "config.qnx", - "condition": "libs.lgmon", - "output": [ "privateConfig" ] - }, - "linuxfb": { - "label": "LinuxFB", - "section": "Platform plugins", - "condition": "tests.linuxfb && features.regularexpression", - "output": [ "privateFeature" ] - }, - "vsp2": { - "label": "VSP2", - "condition": "libs.v4l2", - "autoDetect": false, - "output": [ "privateFeature" ] - }, - "vnc": { - "label": "VNC", - "section": "Platform plugins", - "condition": [ - "config.unix && !config.android && !config.darwin && !config.wasm", - "features.regularexpression && features.network" - ], - "output": [ "privateFeature" ] - }, - "mtdev": { - "label": "mtdev", - "condition": "libs.mtdev", - "output": [ "privateFeature" ] - }, - "opengles2": { - "label": "OpenGL ES 2.0", - "enable": "input.opengl == 'es2'", - "disable": "input.opengl == 'desktop' || input.opengl == 'dynamic' || input.opengl == 'no'", - "condition": "!config.win32 && !config.watchos && !features.opengl-desktop && libs.opengl_es2", - "output": [ - "publicFeature", - "publicQtConfig" - ] - }, - "opengles3": { - "label": "OpenGL ES 3.0", - "condition": "features.opengles2 && tests.opengles3", - "output": [ - "publicFeature" - ] - }, - "opengles31": { - "label": "OpenGL ES 3.1", - "condition": "features.opengles3 && tests.opengles31", - "output": [ - "publicFeature" - ] - }, - "opengles32": { - "label": "OpenGL ES 3.2", - "condition": "features.opengles31 && tests.opengles32", - "output": [ - "publicFeature" - ] - }, - "opengl-desktop": { - "label": "Desktop OpenGL", - "autoDetect": "!config.win32", - "enable": "input.opengl == 'desktop'", - "disable": "input.opengl == 'es2' || input.opengl == 'dynamic' || input.opengl == 'no'", - "condition": "(config.win32 && (config.msvc || libs.opengl)) || (!config.watchos && !config.win32 && !config.wasm && libs.opengl)" - }, - "opengl-dynamic": { - "label": "Dynamic OpenGL", - "disable": "input.opengl == 'no' || input.opengl == 'desktop'", - "condition": "config.win32", - "output": [ - { "type": "publicFeature", "name": "dynamicgl" }, - { "type": "define", "name": "QT_OPENGL_DYNAMIC" } - ] - }, - "opengl": { - "label": "OpenGL", - "condition": "features.opengl-desktop || features.opengl-dynamic || features.opengles2", - "output": [ "publicFeature", "feature" ] - }, - "vkgen": { - "label": "vkgen", - "condition": "features.xmlstreamreader", - "output": [ "privateFeature" ] - }, - "vulkan": { - "label": "Vulkan", - "condition": "features.library && features.vkgen && libs.vulkan", - "output": [ "publicFeature" ] - }, - "openvg": { - "label": "OpenVG", - "condition": "libs.openvg", - "output": [ "publicFeature" ] - }, - "egl": { - "label": "EGL", - "condition": "(features.opengl || features.openvg) && libs.egl && (features.dlopen || !config.unix || config.integrity)", - "output": [ "publicFeature", "feature" ] - }, - "egl_x11": { - "label": "EGL on X11", - "condition": "features.thread && features.egl && tests.egl-x11", - "output": [ "privateFeature" ] - }, - "eglfs": { - "label": "EGLFS", - "section": "Platform plugins", - "condition": "!config.android && !config.darwin && !config.win32 && !config.wasm && features.egl", - "output": [ "privateFeature" ] - }, - "eglfs_brcm": { - "label": "EGLFS Raspberry Pi", - "condition": "features.eglfs && tests.egl-brcm", - "output": [ "privateFeature" ] - }, - "eglfs_egldevice": { - "label": "EGLFS EGLDevice", - "condition": "features.eglfs && tests.egl-egldevice && features.kms", - "output": [ "privateFeature" ] - }, - "eglfs_gbm": { - "label": "EGLFS GBM", - "condition": "features.eglfs && features.gbm && features.kms", - "output": [ "privateFeature" ] - }, - "eglfs_vsp2": { - "label": "EGLFS VSP2", - "condition": "features.eglfs && features.gbm && features.kms && features.vsp2", - "output": [ "privateFeature" ] - }, - "eglfs_mali": { - "label": "EGLFS Mali", - "condition": "features.eglfs && (tests.egl-mali || tests.egl-mali-2)", - "output": [ "privateFeature" ] - }, - "eglfs_viv": { - "label": "EGLFS i.Mx6", - "condition": "features.eglfs && tests.egl-viv", - "output": [ "privateFeature" ] - }, - "eglfs_rcar": { - "label": "EGLFS RCAR", - "condition": "config.integrity && features.eglfs && tests.egl-rcar", - "output": [ "privateFeature" ] - }, - "eglfs_viv_wl": { - "label": "EGLFS i.Mx6 Wayland", - "condition": "features.eglfs_viv && libs.wayland_server", - "output": [ "privateFeature" ] - }, - "eglfs_openwfd": { - "label": "EGLFS OpenWFD", - "condition": "config.integrity && features.eglfs && tests.egl-openwfd", - "output": [ "privateFeature" ] - }, - "eglfs_x11": { - "label": "EGLFS X11", - "condition": "features.eglfs && features.xcb-xlib && features.egl_x11", - "output": [ "privateFeature" ] - }, - "gif": { - "label": "GIF", - "condition": "features.imageformatplugin", - "output": [ - "privateFeature", - { "type": "define", "negative": true, "name": "QT_NO_IMAGEFORMAT_GIF" } - ] - }, - "ico": { - "label": "ICO", - "condition": "features.imageformatplugin", - "output": [ "privateFeature", "feature" ] - }, - "jpeg": { - "label": "JPEG", - "disable": "input.libjpeg == 'no'", - "condition": "features.imageformatplugin", - "output": [ - "privateFeature", - { "type": "define", "negative": true, "name": "QT_NO_IMAGEFORMAT_JPEG" } - ] - }, - "system-jpeg": { - "label": " Using system libjpeg", - "disable": "input.libjpeg == 'qt'", - "enable": "input.libjpeg == 'system'", - "condition": "features.jpeg && libs.libjpeg", - "output": [ "privateFeature" ] - }, - "png": { - "label": "PNG", - "disable": "input.libpng == 'no'", - "output": [ - "privateFeature", - { "type": "define", "negative": true, "name": "QT_NO_IMAGEFORMAT_PNG" } - ] - }, - "system-png": { - "label": " Using system libpng", - "disable": "input.libpng == 'qt'", - "enable": "input.libpng == 'system'", - "autoDetect": "features.system-zlib", - "condition": "features.png && libs.libpng", - "output": [ "privateFeature" ] - }, - "imageio-text-loading": { - "label": "Image Text section loading", - "output": [ - "privateFeature", - { "type": "define", "negative": true, "name": "QT_NO_IMAGEIO_TEXT_LOADING" } - ] - }, - "qpa_default_platform": { - "label": "QPA default platform", - "condition": "features.gui", - "output": [ - { "type": "define", "name": "QT_QPA_DEFAULT_PLATFORM_NAME", "value": "tests.qpa_default_platform.name" }, - { "type": "varAssign", "public": true, "name": "QT_DEFAULT_QPA_PLUGIN", "value": "tests.qpa_default_platform.plugin", - "condition": "!features.shared" } - ] - }, - "sessionmanager": { - "label": "Session Management", - "purpose": "Provides an interface to the windowing system's session management.", - "section": "Kernel", - "output": [ "publicFeature", "feature" ] - }, - "tslib": { - "label": "tslib", - "condition": "libs.tslib", - "output": [ "privateFeature" ] - }, - "tuiotouch": { - "label": "TuioTouch", - "purpose": "Provides the TuioTouch input plugin.", - "condition": "features.network && features.udpsocket", - "output": [ "privateFeature" ] - }, - "xcb": { - "label": "XCB", - "section": "Platform plugins", - "autoDetect": "!config.darwin", - "condition": "features.thread && libs.xcb && tests.xcb_syslibs && features.xkbcommon-x11", - "output": [ "privateFeature" ] - }, - "x11-prefix": { - "label": "X11 prefix", - "emitIf": "features.xcb", - "output": [ { "type": "varAssign", "name": "QMAKE_X11_PREFIX", "value": "tests.x11prefix.value" } ] - }, - "xcb-glx-plugin": { - "label": "GLX Plugin", - "emitIf": "features.xcb", - "condition": "features.xcb-xlib && features.opengl && !features.opengles2", - "output": [ "publicFeature" ] - }, - "xcb-glx": { - "label": " XCB GLX", - "emitIf": "features.xcb && features.xcb-glx-plugin", - "condition": "libs.xcb_glx", - "output": [ "privateFeature" ] - }, - "xcb-egl-plugin": { - "label": "EGL-X11 Plugin", - "emitIf": "features.xcb", - "condition": "features.egl_x11 && features.opengl", - "output": [ "privateFeature" ] - }, - "xcb-native-painting": { - "label": "Native painting (experimental)", - "autoDetect": false, - "emitIf": "features.xcb", - "condition": "features.xcb-xlib && features.fontconfig && libs.xrender", - "output": [ "privateFeature" ] - }, - "xrender": { - "label": "XRender for native painting", - "emitIf": "features.xcb && features.xcb-native-painting", - "condition": "features.xcb-native-painting", - "output": [ "privateFeature" ] - }, - "xcb-xlib": { - "label": "XCB Xlib", - "condition": "features.xlib && libs.xcb_xlib", - "output": [ "privateFeature" ] - }, - "xcb-sm": { - "label": "xcb-sm", - "emitIf": "features.xcb", - "condition": "features.sessionmanager && libs.x11sm", - "output": [ "privateFeature" ] - }, - "system-xcb-xinput": { - "label": "Using system-provided xcb-xinput", - "emitIf": "features.xcb", - "disable": "input.bundled-xcb-xinput == 'yes'", - "enable": "input.bundled-xcb-xinput == 'no'", - "condition": "libs.xcb_xinput", - "output": [ "privateFeature" ] - }, - "xkbcommon": { - "label": "xkbcommon", - "condition": "libs.xkbcommon", - "output": [ "privateFeature" ] - }, - "xkbcommon-x11": { - "label": "xkbcommon-x11", - "condition": "features.xkbcommon && libs.xkbcommon_x11", - "output": [ "privateFeature" ] - }, - "xlib": { - "label": "XLib", - "autoDetect": "!config.darwin || features.xcb", - "condition": "libs.xlib", - "output": [ "privateFeature" ] - }, - "texthtmlparser": { - "label": "HtmlParser", - "purpose": "Provides a parser for HTML.", - "section": "Kernel", - "output": [ "publicFeature", "feature" ] - }, - "textmarkdownreader": { - "label": "MarkdownReader", - "disable": "input.libmd4c == 'no'", - "enable": "input.libmd4c == 'system' || input.libmd4c == 'qt' || input.libmd4c == 'yes'", - "purpose": "Provides a Markdown (CommonMark and GitHub) reader", - "section": "Kernel", - "output": [ "publicFeature" ] - }, - "system-textmarkdownreader": { - "label": " Using system libmd4c", - "disable": "input.libmd4c == 'qt'", - "enable": "input.libmd4c == 'system'", - "section": "Kernel", - "condition": "features.textmarkdownreader && libs.libmd4c", - "output": [ "publicFeature" ] - }, - "textmarkdownwriter": { - "label": "MarkdownWriter", - "purpose": "Provides a Markdown (CommonMark) writer", - "section": "Kernel", - "output": [ "publicFeature" ] - }, - "textodfwriter": { - "label": "OdfWriter", - "purpose": "Provides an ODF writer.", - "section": "Kernel", - "condition": "features.xmlstreamwriter", - "output": [ "publicFeature", "feature" ] - }, - "cssparser": { - "label": "CssParser", - "purpose": "Provides a parser for Cascading Style Sheets.", - "section": "Kernel", - "output": [ "publicFeature", "feature" ] - }, - "draganddrop": { - "label": "Drag and Drop", - "purpose": "Supports the drag and drop mechansim.", - "section": "Kernel", - "condition": "features.imageformat_xpm", - "output": [ "publicFeature", "feature" ] - }, - "action": { - "label": "Q(Gui)Action(Group)", - "purpose": "Provides abstract user interface actions.", - "section": "Kernel", - "output": [ "publicFeature", "feature" ] - }, - "cursor": { - "label": "QCursor", - "purpose": "Provides mouse cursors.", - "section": "Kernel", - "output": [ "publicFeature", "feature" ] - }, - "clipboard": { - "label": "QClipboard", - "purpose": "Provides cut and paste operations.", - "section": "Kernel", - "condition": "!config.integrity && !config.qnx && !config.rtems", - "output": [ "publicFeature", "feature" ] - }, - "wheelevent": { - "label": "QWheelEvent", - "purpose": "Supports wheel events.", - "section": "Kernel", - "output": [ "publicFeature", "feature" ] - }, - "tabletevent": { - "label": "QTabletEvent", - "purpose": "Supports tablet events.", - "section": "Kernel", - "output": [ "publicFeature", "feature" ] - }, - "im": { - "label": "QInputContext", - "purpose": "Provides complex input methods.", - "section": "Kernel", - "condition": "features.library", - "output": [ "publicFeature", "feature" ] - }, - "highdpiscaling": { - "label": "High DPI Scaling", - "purpose": "Provides automatic scaling of DPI-unaware applications on high-DPI displays.", - "section": "Kernel", - "output": [ "publicFeature", "feature" ] - }, - "validator": { - "label": "QValidator", - "purpose": "Supports validation of input text.", - "section": "Widgets", - "output": [ "publicFeature", "feature" ] - }, - "standarditemmodel": { - "label": "QStandardItemModel", - "purpose": "Provides a generic model for storing custom data.", - "section": "ItemViews", - "condition": "features.itemmodel", - "output": [ "publicFeature", "feature" ] - }, - "filesystemmodel": { - "label": "QFileSystemModel", - "purpose": "Provides a data model for the local filesystem.", - "section": "File I/O", - "condition": "features.itemmodel", - "output": [ "publicFeature", "feature" ] - }, - "imageformatplugin": { - "label": "QImageIOPlugin", - "purpose": "Provides a base for writing a image format plugins.", - "section": "Images", - "output": [ "publicFeature", "feature" ] - }, - "movie": { - "label": "QMovie", - "purpose": "Supports animated images.", - "section": "Images", - "output": [ "publicFeature", "feature" ] - }, - "imageformat_bmp": { - "label": "BMP Image Format", - "purpose": "Supports Microsoft's Bitmap image file format.", - "section": "Images", - "output": [ "publicFeature", "feature" ] - }, - "imageformat_ppm": { - "label": "PPM Image Format", - "purpose": "Supports the Portable Pixmap image file format.", - "section": "Images", - "output": [ "publicFeature", "feature" ] - }, - "imageformat_xbm": { - "label": "XBM Image Format", - "purpose": "Supports the X11 Bitmap image file format.", - "section": "Images", - "output": [ "publicFeature", "feature" ] - }, - "imageformat_xpm": { - "label": "XPM Image Format", - "purpose": "Supports the X11 Pixmap image file format.", - "section": "Images", - "output": [ "publicFeature", "feature" ] - }, - "imageformat_png": { - "label": "PNG Image Format", - "purpose": "Supports the Portable Network Graphics image file format.", - "section": "Images", - "output": [ "publicFeature", "feature" ] - }, - "imageformat_jpeg": { - "label": "JPEG Image Format", - "purpose": "Supports the Joint Photographic Experts Group image file format.", - "section": "Images", - "output": [ "publicFeature", "feature" ] - }, - "image_heuristic_mask": { - "label": "QImage::createHeuristicMask()", - "purpose": "Supports creating a 1-bpp heuristic mask for images.", - "section": "Images", - "output": [ "publicFeature", "feature" ] - }, - "image_text": { - "label": "Image Text", - "purpose": "Supports image file text strings.", - "section": "Images", - "output": [ "publicFeature", "feature" ] - }, - "picture": { - "label": "QPicture", - "purpose": "Supports recording and replaying QPainter commands.", - "section": "Painting", - "output": [ "publicFeature", "feature" ] - }, - "colornames": { - "label": "Color Names", - "purpose": "Supports color names such as \"red\", used by QColor and by some HTML documents.", - "section": "Painting", - "output": [ "publicFeature", "feature" ] - }, - "pdf": { - "label": "QPdf", - "purpose": "Provides a PDF backend for QPainter.", - "section": "Painting", - "condition": "features.temporaryfile", - "output": [ "publicFeature", "feature" ] - }, - "desktopservices": { - "label": "QDesktopServices", - "purpose": "Provides methods for accessing common desktop services.", - "section": "Utilities", - "output": [ "publicFeature", "feature" ] - }, - "systemtrayicon": { - "label": "QSystemTrayIcon", - "purpose": "Provides an icon for an application in the system tray.", - "section": "Utilities", - "condition": "features.temporaryfile", - "output": [ "publicFeature", "feature" ] - }, - "accessibility": { - "label": "Accessibility", - "purpose": "Provides accessibility support.", - "section": "Utilities", - "condition": "features.properties", - "output": [ "publicFeature", "feature" ] - }, - "multiprocess": { - "label": "Multi process", - "purpose": "Provides support for detecting the desktop environment, launching external processes and opening URLs.", - "section": "Utilities", - "condition": "!config.integrity && !config.rtems", - "output": [ "privateFeature" ] - }, - "whatsthis": { - "label": "QWhatsThis", - "purpose": "Supports displaying \"What's this\" help.", - "section": "Widget Support", - "output": [ "publicFeature", "feature" ] - }, - "raster-64bit": { - "label": "QPainter - 64 bit raster", - "purpose": "Internal painting support for 64 bit (16 bpc) rasterization.", - "section": "Painting", - "output": [ "privateFeature" ] - }, - "raster-fp": { - "label": "QPainter - floating point raster", - "purpose": "Internal painting support for floating point rasterization.", - "section": "Painting", - "output": [ "privateFeature" ] - }, - "undocommand": { - "label": "QUndoCommand", - "purpose": "Applies (redo or) undo of a single change in a document.", - "section": "Utilities", - "output": [ "publicFeature", "feature" ] - }, - "undostack": { - "label": "QUndoStack", - "purpose": "Provides the ability to (redo or) undo a list of changes in a document.", - "section": "Utilities", - "condition": "features.undocommand", - "output": [ "publicFeature", "feature" ] - }, - "undogroup": { - "label": "QUndoGroup", - "purpose": "Provides the ability to cluster QUndoCommands.", - "section": "Utilities", - "condition": "features.undostack", - "output": [ "publicFeature", "feature" ] - } - }, - - "earlyReport": [ - { - "type": "error", - "condition": "input.xcb != '' && input.xcb != 'no' && input.xkbcommon == 'no'", - "message": "XCB plugin requires xkbcommon and xkbcommon-x11, but -no-xkbcommon was provided." - } - ], - - "report": [ - { - "type": "note", - "condition": "features.xcb && config.darwin", - "message": "XCB support on macOS is minimal and untested. Some features will not work properly or at all (e.g. OpenGL, desktop services or accessibility), or may depend on your system and XQuartz setup." - }, - { - "type": "note", - "condition": "features.accessibility && features.xcb && !features.accessibility-atspi-bridge", - "message": "Disabling X11 Accessibility Bridge: D-Bus or AT-SPI is missing." - }, - { - "type": "warning", - "condition": "features.gui && config.linux && !config.android && !features.xcb && !features.eglfs && !features.directfb && !features.linuxfb", - "message": "No QPA platform plugin enabled! This will produce a Qt that cannot run GUI applications. See \"Platform backends\" in the output of --help." - }, - { - "type": "warning", - "condition": "config.darwin && features.system-harfbuzz", - "message": "On OS X, AAT is supported only with -qt-harfbuzz." - }, - { - "type": "error", - "condition": "features.gui && !config.watchos && input.opengl != 'no' && !features.opengl-desktop && !features.opengles2 && !features.opengl-dynamic", - "message": "The OpenGL functionality tests failed! You might need to modify the include and library search paths by editing QMAKE_INCDIR_OPENGL[_ES2], QMAKE_LIBDIR_OPENGL[_ES2] and QMAKE_LIBS_OPENGL[_ES2] in the mkspec for your platform." - }, - { - "type": "warning", - "condition": "!features.accessibility", - "message": "Accessibility disabled. This configuration of Qt is unsupported." - } - ], - - "summary": [ - { - "section": "Qt Gui", - "entries": [ - "accessibility", - "freetype", - "system-freetype", - "harfbuzz", - "system-harfbuzz", - "fontconfig", - { - "section": "Image formats", - "entries": [ - "gif", "ico", "jpeg", "system-jpeg", "png", "system-png" - ] - }, - { - "section": "Text formats", - "entries": [ - "texthtmlparser", "cssparser", "textodfwriter", "textmarkdownreader", "system-textmarkdownreader", "textmarkdownwriter" - ] - }, - "egl", - "openvg", - { - "section": "OpenGL", - "entries": [ - "opengl-desktop", - { - "type": "feature", - "args": "opengl-dynamic", - "condition": "config.win32" - }, - "opengles2", - "opengles3", - "opengles31", - "opengles32" - ] - }, - "vulkan", - "sessionmanager" - ] - }, - { - "section": "Features used by QPA backends", - "entries": [ - "evdev", - "libinput", - "integrityhid", - "mtdev", - "tslib", - "xkbcommon", - { - "section": "X11 specific", - "entries": [ - "xlib", - "xcb-xlib", - "egl_x11", - "xkbcommon-x11" - ] - } - ] - }, - { - "section": "QPA backends", - "entries": [ - "directfb", "eglfs", - { - "section": "EGLFS details", - "condition": "features.eglfs", - "entries": [ - "eglfs_openwfd", "eglfs_viv", "eglfs_viv_wl", "eglfs_rcar", "eglfs_egldevice", "eglfs_gbm", "eglfs_vsp2", "eglfs_mali", "eglfs_brcm", "eglfs_x11" - ] - }, - "linuxfb", "vnc", - { - "type": "feature", - "condition": "config.integrity", - "args": "integrityfb" - }, - { - "section": "QNX", - "condition": "config.qnx", - "entries": [ - "lgmon", "qqnx_imf" - ] - }, - { - "section": "XCB", - "condition": "features.xcb", - "entries": [ - "system-xcb-xinput", "xcb-native-painting", - { - "section": "GL integrations", - "entries": [ - "xcb-glx-plugin", - "xcb-glx", - "xcb-egl-plugin" - ] - } - ] - }, - { - "section": "Windows", - "condition": "config.win32", - "entries": [ - "direct2d", "directwrite", "directwrite3" - ] - } - ] - } - ] -} diff --git a/src/network/.prev_configure.cmake b/src/network/.prev_configure.cmake deleted file mode 100644 index 4cb10dea70..0000000000 --- a/src/network/.prev_configure.cmake +++ /dev/null @@ -1,433 +0,0 @@ - - -#### Inputs - - - -#### Libraries - -qt_find_package(WrapBrotli PROVIDED_TARGETS WrapBrotli::WrapBrotliDec MODULE_NAME network QMAKE_LIB brotli) -qt_find_package(Libproxy PROVIDED_TARGETS PkgConfig::Libproxy MODULE_NAME network QMAKE_LIB libproxy) -qt_find_package(WrapOpenSSLHeaders PROVIDED_TARGETS WrapOpenSSLHeaders::WrapOpenSSLHeaders MODULE_NAME network QMAKE_LIB openssl/nolink) -# openssl_headers -qt_config_compile_test(openssl_headers - LIBRARIES - WrapOpenSSLHeaders::WrapOpenSSLHeaders - CODE -"#include -#include -#if !defined(OPENSSL_VERSION_NUMBER) || OPENSSL_VERSION_NUMBER-0 < 0x10101000L -# error OpenSSL >= 1.1.1 is required -#endif -#if !defined(OPENSSL_NO_EC) && !defined(SSL_CTRL_SET_CURVES) -# error OpenSSL was reported as >= 1.1.1 but is missing required features, possibly it is libressl which is unsupported -#endif - -int main(void) -{ - /* BEGIN TEST: */ - /* END TEST: */ - return 0; -} -") - -qt_find_package(WrapOpenSSL PROVIDED_TARGETS WrapOpenSSL::WrapOpenSSL MODULE_NAME network QMAKE_LIB openssl) -# openssl -qt_config_compile_test(openssl - LIBRARIES - WrapOpenSSL::WrapOpenSSL - CODE -"#include -#include -#if !defined(OPENSSL_VERSION_NUMBER) || OPENSSL_VERSION_NUMBER-0 < 0x10101000L -# error OpenSSL >= 1.1.1 is required -#endif -#if !defined(OPENSSL_NO_EC) && !defined(SSL_CTRL_SET_CURVES) -# error OpenSSL was reported as >= 1.1.1 but is missing required features, possibly it is libressl which is unsupported -#endif - -int main(void) -{ - /* BEGIN TEST: */ -SSL_free(SSL_new(0)); - /* END TEST: */ - return 0; -} -") - -qt_find_package(GSSAPI PROVIDED_TARGETS GSSAPI::GSSAPI MODULE_NAME network QMAKE_LIB gssapi) - - -#### Tests - -# getifaddrs -qt_config_compile_test(getifaddrs - LABEL "getifaddrs()" - CODE -"#include -#include -#include -#include - -int main(void) -{ - /* BEGIN TEST: */ -ifaddrs *list; -getifaddrs(&list); -freeifaddrs(list); - /* END TEST: */ - return 0; -} -"# FIXME: use: unmapped library: network -) - -# ifr_index -qt_config_compile_test(ifr_index - LABEL "ifr_index" - CODE -"#include - -int main(void) -{ - /* BEGIN TEST: */ -struct ifreq req; -req.ifr_index = 0; - /* END TEST: */ - return 0; -} -") - -# ipv6ifname -qt_config_compile_test(ipv6ifname - LABEL "IPv6 ifname" - CODE -"#include -#include -#include - -int main(void) -{ - /* BEGIN TEST: */ -char buf[IFNAMSIZ]; -if_nametoindex(\"eth0\"); -if_indextoname(1, buf); -if_freenameindex(if_nameindex()); - /* END TEST: */ - return 0; -} -"# FIXME: use: unmapped library: network -) - -# linux-netlink -qt_config_compile_test(linux_netlink - LABEL "Linux AF_NETLINK sockets" - CODE -"#include -#include -#include -#include - -int main(void) -{ - /* BEGIN TEST: */ -struct rtattr rta = { }; -struct ifinfomsg ifi = {}; -struct ifaddrmsg ifa = {}; -struct ifa_cacheinfo ci; -ci.ifa_prefered = ci.ifa_valid = 0; -(void)RTM_NEWLINK; (void)RTM_NEWADDR; -(void)IFLA_ADDRESS; (void)IFLA_IFNAME; -(void)IFA_ADDRESS; (void)IFA_LABEL; (void)IFA_CACHEINFO; -(void)(IFA_F_SECONDARY | IFA_F_DEPRECATED | IFA_F_PERMANENT | IFA_F_MANAGETEMPADDR); - /* END TEST: */ - return 0; -} -") - -# sctp -qt_config_compile_test(sctp - LABEL "SCTP support" - CODE -"#include -#include -#include -#include - -int main(void) -{ - /* BEGIN TEST: */ -sctp_initmsg sctpInitMsg; -socklen_t sctpInitMsgSize = sizeof(sctpInitMsg); -(void) socket(PF_INET, SOCK_STREAM, IPPROTO_SCTP); -(void) getsockopt(-1, SOL_SCTP, SCTP_INITMSG, &sctpInitMsg, &sctpInitMsgSize); - /* END TEST: */ - return 0; -} -"# FIXME: use: unmapped library: network -) - -# dtls -qt_config_compile_test(dtls - LABEL "DTLS support in OpenSSL" - LIBRARIES - WrapOpenSSLHeaders::WrapOpenSSLHeaders - CODE -"#include -#if defined(OPENSSL_NO_DTLS) || !defined(DTLS1_2_VERSION) -# error OpenSSL without DTLS support -#endif - -int main(void) -{ - /* BEGIN TEST: */ - /* END TEST: */ - return 0; -} -") - -# ocsp -qt_config_compile_test(ocsp - LABEL "OCSP stapling support in OpenSSL" - LIBRARIES - WrapOpenSSLHeaders::WrapOpenSSLHeaders - CODE -"#include -#include -#if defined(OPENSSL_NO_OCSP) || defined(OPENSSL_NO_TLSEXT) -# error OpenSSL without OCSP stapling -#endif - -int main(void) -{ - /* BEGIN TEST: */ - /* END TEST: */ - return 0; -} -") - -# networklistmanager -qt_config_compile_test(networklistmanager - LABEL "Network List Manager" - CODE -"#include -#include - -int main(void) -{ - /* BEGIN TEST: */ -using namespace Microsoft::WRL; -ComPtr networkListManager; -ComPtr connectionPoint; -ComPtr connectionPointContainer; -networkListManager.As(&connectionPointContainer); -connectionPointContainer->FindConnectionPoint(IID_INetworkConnectionEvents, &connectionPoint); - /* END TEST: */ - return 0; -} -"# FIXME: qmake: LIBS += -lOle32 -) - - - -#### Features - -qt_feature("getifaddrs" PUBLIC - LABEL "getifaddrs()" - CONDITION TEST_getifaddrs -) -qt_feature_definition("getifaddrs" "QT_NO_GETIFADDRS" NEGATE VALUE "1") -qt_feature("ifr_index" PRIVATE - LABEL "ifr_index" - CONDITION TEST_ifr_index -) -qt_feature("ipv6ifname" PUBLIC - LABEL "IPv6 ifname" - CONDITION TEST_ipv6ifname -) -qt_feature_definition("ipv6ifname" "QT_NO_IPV6IFNAME" NEGATE VALUE "1") -qt_feature("libproxy" PRIVATE - LABEL "libproxy" - AUTODETECT OFF - CONDITION Libproxy_FOUND -) -qt_feature("linux-netlink" PRIVATE - LABEL "Linux AF_NETLINK" - CONDITION LINUX AND NOT ANDROID AND TEST_linux_netlink -) -qt_feature("openssl" PRIVATE - LABEL "OpenSSL" - CONDITION QT_FEATURE_openssl_runtime OR QT_FEATURE_openssl_linked - ENABLE false -) -qt_feature_definition("openssl" "QT_NO_OPENSSL" NEGATE) -qt_feature_config("openssl" QMAKE_PUBLIC_QT_CONFIG) -qt_feature("openssl-runtime" - AUTODETECT NOT WASM - CONDITION TEST_openssl_headers - ENABLE INPUT_openssl STREQUAL 'yes' OR INPUT_openssl STREQUAL 'runtime' - DISABLE INPUT_openssl STREQUAL 'no' OR INPUT_openssl STREQUAL 'linked' OR INPUT_ssl STREQUAL 'no' -) -qt_feature("openssl-linked" PRIVATE - LABEL " Qt directly linked to OpenSSL" - AUTODETECT OFF - CONDITION TEST_openssl - ENABLE INPUT_openssl STREQUAL 'linked' -) -qt_feature_definition("openssl-linked" "QT_LINKED_OPENSSL") -qt_feature("securetransport" PUBLIC - LABEL "SecureTransport" - CONDITION APPLE - DISABLE INPUT_ssl STREQUAL 'no' -) -qt_feature_definition("securetransport" "QT_SECURETRANSPORT") -qt_feature("schannel" PUBLIC - LABEL "Schannel" - CONDITION WIN32 - DISABLE INPUT_ssl STREQUAL 'no' -) -qt_feature_definition("schannel" "QT_SCHANNEL") -qt_feature("ssl" PUBLIC - LABEL "SSL" - CONDITION QT_FEATURE_securetransport OR QT_FEATURE_openssl OR QT_FEATURE_schannel -) -qt_feature_definition("ssl" "QT_NO_SSL" NEGATE VALUE "1") -qt_feature("dtls" PUBLIC - SECTION "Networking" - LABEL "DTLS" - PURPOSE "Provides a DTLS implementation" - CONDITION QT_FEATURE_openssl AND QT_FEATURE_udpsocket AND TEST_dtls -) -qt_feature("ocsp" PUBLIC - SECTION "Networking" - LABEL "OCSP-stapling" - PURPOSE "Provides OCSP stapling support" - CONDITION QT_FEATURE_opensslv11 AND TEST_ocsp -) -qt_feature("opensslv11" PUBLIC - LABEL "OpenSSL 1.1" - CONDITION QT_FEATURE_openssl -) -qt_feature("sctp" PUBLIC - LABEL "SCTP" - AUTODETECT OFF - CONDITION TEST_sctp -) -qt_feature_definition("sctp" "QT_NO_SCTP" NEGATE VALUE "1") -qt_feature("system-proxies" PRIVATE - LABEL "Use system proxies" -) -qt_feature("http" PUBLIC - SECTION "Networking" - LABEL "HTTP" - PURPOSE "Provides support for the Hypertext Transfer Protocol in QNetworkAccessManager." - CONDITION QT_FEATURE_thread -) -qt_feature_definition("http" "QT_NO_HTTP" NEGATE VALUE "1") -qt_feature("udpsocket" PUBLIC - SECTION "Networking" - LABEL "QUdpSocket" - PURPOSE "Provides access to UDP sockets." -) -qt_feature_definition("udpsocket" "QT_NO_UDPSOCKET" NEGATE VALUE "1") -qt_feature("networkproxy" PUBLIC - SECTION "Networking" - LABEL "QNetworkProxy" - PURPOSE "Provides network proxy support." -) -qt_feature_definition("networkproxy" "QT_NO_NETWORKPROXY" NEGATE VALUE "1") -qt_feature("socks5" PUBLIC - SECTION "Networking" - LABEL "SOCKS5" - PURPOSE "Provides SOCKS5 support in QNetworkProxy." - CONDITION QT_FEATURE_networkproxy -) -qt_feature_definition("socks5" "QT_NO_SOCKS5" NEGATE VALUE "1") -qt_feature("networkinterface" PUBLIC - SECTION "Networking" - LABEL "QNetworkInterface" - PURPOSE "Supports enumerating a host's IP addresses and network interfaces." - CONDITION NOT WASM -) -qt_feature_definition("networkinterface" "QT_NO_NETWORKINTERFACE" NEGATE VALUE "1") -qt_feature("networkdiskcache" PUBLIC - SECTION "Networking" - LABEL "QNetworkDiskCache" - PURPOSE "Provides a disk cache for network resources." - CONDITION QT_FEATURE_temporaryfile -) -qt_feature_definition("networkdiskcache" "QT_NO_NETWORKDISKCACHE" NEGATE VALUE "1") -qt_feature("brotli" PUBLIC - SECTION "Networking" - LABEL "Brotli Decompression Support" - PURPOSE "Support for downloading and decompressing resources compressed with Brotli through QNetworkAccessManager." - CONDITION WrapBrotli_FOUND -) -qt_feature_definition("brotli" "QT_NO_BROTLI" NEGATE VALUE "1") -qt_feature("localserver" PUBLIC - SECTION "Networking" - LABEL "QLocalServer" - PURPOSE "Provides a local socket based server." - CONDITION QT_FEATURE_temporaryfile -) -qt_feature_definition("localserver" "QT_NO_LOCALSERVER" NEGATE VALUE "1") -qt_feature("dnslookup" PUBLIC - SECTION "Networking" - LABEL "QDnsLookup" - PURPOSE "Provides API for DNS lookups." -) -qt_feature("gssapi" PUBLIC - SECTION "Networking" - LABEL "GSSAPI" - PURPOSE "Enable SPNEGO authentication through GSSAPI" - CONDITION NOT WIN32 AND GSSAPI_FOUND -) -qt_feature_definition("gssapi" "QT_NO_GSSAPI" NEGATE VALUE "1") -qt_feature("sspi" PUBLIC - SECTION "Networking" - LABEL "SSPI" - PURPOSE "Enable NTLM/SPNEGO authentication through SSPI" - CONDITION WIN32 -) -qt_feature_definition("sspi" "QT_NO_SSPI" NEGATE VALUE "1") -qt_feature("networklistmanager" PRIVATE - SECTION "Networking" - LABEL "Network List Manager" - PURPOSE "Use Network List Manager to keep track of network connectivity" - CONDITION WIN32 AND TEST_networklistmanager -) -qt_feature("topleveldomain" PUBLIC - SECTION "Networking" - LABEL "qTopLevelDomain()" - PURPOSE "Provides support for extracting the top level domain from URLs. If enabled, a binary dump of the Public Suffix List (http://www.publicsuffix.org, Mozilla License) is included. The data is then also used in QNetworkCookieJar::validateCookie." -) -qt_configure_add_summary_section(NAME "Qt Network") -qt_configure_add_summary_entry(ARGS "getifaddrs") -qt_configure_add_summary_entry(ARGS "ipv6ifname") -qt_configure_add_summary_entry(ARGS "libproxy") -qt_configure_add_summary_entry( - ARGS "linux-netlink" - CONDITION LINUX -) -qt_configure_add_summary_entry( - ARGS "securetransport" - CONDITION APPLE -) -qt_configure_add_summary_entry( - ARGS "schannel" - CONDITION WIN32 -) -qt_configure_add_summary_entry(ARGS "openssl") -qt_configure_add_summary_entry(ARGS "openssl-linked") -qt_configure_add_summary_entry(ARGS "opensslv11") -qt_configure_add_summary_entry(ARGS "dtls") -qt_configure_add_summary_entry(ARGS "ocsp") -qt_configure_add_summary_entry(ARGS "sctp") -qt_configure_add_summary_entry(ARGS "system-proxies") -qt_configure_add_summary_entry(ARGS "gssapi") -qt_configure_add_summary_entry(ARGS "brotli") -qt_configure_end_summary_section() # end of "Qt Network" section -qt_configure_add_report_entry( - TYPE NOTE - MESSAGE "When linking against OpenSSL, you can override the default library names through OPENSSL_LIBS. For example: OPENSSL_LIBS='-L/opt/ssl/lib -lssl -lcrypto' ./configure -openssl-linked" - CONDITION QT_FEATURE_openssl_linked AND ( NOT TEST_openssl.source EQUAL 0 ) AND INPUT_openssl.prefix STREQUAL '' AND INPUT_openssl.libs STREQUAL '' AND INPUT_openssl.libs.debug STREQUAL '' OR FIXME -) diff --git a/src/network/configure.json b/src/network/configure.json deleted file mode 100644 index 54a323eb7a..0000000000 --- a/src/network/configure.json +++ /dev/null @@ -1,484 +0,0 @@ -{ - "module": "network", - "depends": [ - "core" - ], - "testDir": "../../config.tests", - - "commandline": { - "assignments": { - "OPENSSL_PATH": "openssl.prefix" - }, - "options": { - "libproxy": "boolean", - "openssl": { "type": "optionalString", "values": [ "no", "yes", "linked", "runtime" ] }, - "openssl-linked": { "type": "void", "name": "openssl", "value": "linked" }, - "openssl-runtime": { "type": "void", "name": "openssl", "value": "runtime" }, - "dtls": "boolean", - "ocsp": "boolean", - "sctp": "boolean", - "securetransport": "boolean", - "schannel": "boolean", - "ssl": "boolean", - "system-proxies": "boolean" - } - }, - - "libraries": { - "brotli": { - "label": "Brotli Decompression", - "test": { - "main": [ - "BrotliDecoderState *state = BrotliDecoderCreateInstance(nullptr, nullptr, nullptr);" - ] - }, - "headers": [ - "brotli/decode.h" - ], - "sources": [ - { "type": "pkgConfig", "args": "libbrotlidec" }, - "-lbrotlidec" - ] - }, - "network": { - "sources": [ - { "type": "makeSpec", "spec": "NETWORK" } - ] - }, - "libproxy": { - "label": "libproxy", - "test": { - "main": [ - "pxProxyFactory *factory = px_proxy_factory_new();", - "px_proxy_factory_get_proxies(factory, \"http://qt-project.org\");", - "px_proxy_factory_free(factory);" - ] - }, - "headers": "proxy.h", - "sources": [ - "-lproxy" - ] - }, - "openssl_headers": { - "label": "OpenSSL Headers", - "export": "openssl", - "test": { - "tail": [ - "#if !defined(OPENSSL_VERSION_NUMBER) || OPENSSL_VERSION_NUMBER-0 < 0x10101000L", - "# error OpenSSL >= 1.1.1 is required", - "#endif", - "#if !defined(OPENSSL_NO_EC) && !defined(SSL_CTRL_SET_CURVES)", - "# error OpenSSL was reported as >= 1.1.1 but is missing required features, possibly it is libressl which is unsupported", - "#endif" - ] - }, - "headers": [ "openssl/ssl.h", "openssl/opensslv.h" ], - "sources": [ - { - "comment": "placeholder for OPENSSL_PATH", - "libs": "" - } - ] - }, - "openssl": { - "label": "OpenSSL", - "test": { - "inherit": "openssl_headers", - "main": "SSL_free(SSL_new(0));" - }, - "sources": [ - { "type": "openssl" }, - { - "libs": "-lssleay32 -llibeay32 -luser32 -lws2_32 -ladvapi32 -lgdi32", - "condition": "config.win32" - }, - { - "libs": "-llibssl -llibcrypto -luser32 -lws2_32 -ladvapi32 -lcrypt32", - "condition": "config.msvc" - }, - { - "libs": "-lssl -lcrypto", - "condition": "!config.msvc" - } - ] - }, - "gssapi": { - "label": "KRB5 GSSAPI Support", - "test": { - "head": [ - "#if defined(__APPLE__) && (defined(__GNUC__) || defined(__xlC__) || defined(__xlc__))", - "# include ", - "# if defined(TARGET_OS_MAC) && TARGET_OS_MAC", - "# include ", - "# endif", - "#else", - "# include ", - "#endif" - ], - "main": [ - "gss_ctx_id_t ctx;", - "gss_context_time(nullptr, ctx, nullptr);" - ] - }, - "sources": [ - { "libs": "-framework GSS", "condition": "config.darwin" }, - { "type": "pkgConfig", "args": "krb5-gssapi" }, - "-lgssapi_krb5" - ] - } - }, - - "tests": { - "getifaddrs": { - "label": "getifaddrs()", - "type": "compile", - "test": { - "include": [ "sys/types.h", "sys/socket.h", "net/if.h", "ifaddrs.h" ], - "main": [ - "ifaddrs *list;", - "getifaddrs(&list);", - "freeifaddrs(list);" - ] - }, - "use": "network" - }, - "ifr_index": { - "label": "ifr_index", - "type": "compile", - "test": { - "include": "net/if.h", - "main": [ - "struct ifreq req;", - "req.ifr_index = 0;" - ] - } - }, - "ipv6ifname": { - "label": "IPv6 ifname", - "type": "compile", - "test": { - "include": [ "sys/types.h", "sys/socket.h", "net/if.h" ], - "main": [ - "char buf[IFNAMSIZ];", - "if_nametoindex(\"eth0\");", - "if_indextoname(1, buf);", - "if_freenameindex(if_nameindex());" - ] - }, - "use": "network" - }, - "linux-netlink": { - "label": "Linux AF_NETLINK sockets", - "type": "compile", - "test": { - "include": [ "asm/types.h", "linux/netlink.h", "linux/rtnetlink.h", "sys/socket.h" ], - "main": [ - "struct rtattr rta = { };", - "struct ifinfomsg ifi = {};", - "struct ifaddrmsg ifa = {};", - "struct ifa_cacheinfo ci;", - "ci.ifa_prefered = ci.ifa_valid = 0;", - "(void)RTM_NEWLINK; (void)RTM_NEWADDR;", - "(void)IFLA_ADDRESS; (void)IFLA_IFNAME;", - "(void)IFA_ADDRESS; (void)IFA_LABEL; (void)IFA_CACHEINFO;", - "(void)(IFA_F_SECONDARY | IFA_F_DEPRECATED | IFA_F_PERMANENT | IFA_F_MANAGETEMPADDR);" - ] - } - }, - "sctp": { - "label": "SCTP support", - "type": "compile", - "test": { - "include": [ "sys/types.h", "sys/socket.h", "netinet/in.h", "netinet/sctp.h" ], - "main": [ - "sctp_initmsg sctpInitMsg;", - "socklen_t sctpInitMsgSize = sizeof(sctpInitMsg);", - "(void) socket(PF_INET, SOCK_STREAM, IPPROTO_SCTP);", - "(void) getsockopt(-1, SOL_SCTP, SCTP_INITMSG, &sctpInitMsg, &sctpInitMsgSize);" - ] - }, - "use": "network" - }, - "dtls": { - "label": "DTLS support in OpenSSL", - "type": "compile", - "test": { - "include": "openssl/ssl.h", - "tail": [ - "#if defined(OPENSSL_NO_DTLS) || !defined(DTLS1_2_VERSION)", - "# error OpenSSL without DTLS support", - "#endif" - ] - }, - "use": "openssl" - }, - "ocsp": { - "label": "OCSP stapling support in OpenSSL", - "type": "compile", - "test": { - "include": ["openssl/ssl.h", "openssl/ocsp.h"], - "tail": [ - "#if defined(OPENSSL_NO_OCSP) || defined(OPENSSL_NO_TLSEXT)", - "# error OpenSSL without OCSP stapling", - "#endif" - ] - }, - "use": "openssl" - }, - "networklistmanager": { - "label": "Network List Manager", - "type": "compile", - "test": { - "include": [ "netlistmgr.h", "wrl/client.h" ], - "main": [ - "using namespace Microsoft::WRL;", - "ComPtr networkListManager;", - "ComPtr connectionPoint;", - "ComPtr connectionPointContainer;", - "networkListManager.As(&connectionPointContainer);", - "connectionPointContainer->FindConnectionPoint(IID_INetworkConnectionEvents, &connectionPoint);" - ], - "qmake": "LIBS += -lOle32" - } - } - }, - - "features": { - "getifaddrs": { - "label": "getifaddrs()", - "condition": "tests.getifaddrs", - "output": [ "feature" ] - }, - "ifr_index": { - "label": "ifr_index", - "condition": "tests.ifr_index", - "output": [ "privateFeature" ] - }, - "ipv6ifname": { - "label": "IPv6 ifname", - "condition": "tests.ipv6ifname", - "output": [ "feature" ] - }, - "libproxy": { - "label": "libproxy", - "autoDetect": false, - "condition": "libs.libproxy", - "output": [ "privateFeature" ] - }, - "linux-netlink": { - "label": "Linux AF_NETLINK", - "condition": "config.linux && !config.android && tests.linux-netlink", - "output": [ "privateFeature" ] - }, - "openssl": { - "label": "OpenSSL", - "enable": "false", - "condition": "features.openssl-runtime || features.openssl-linked", - "output": [ - "privateFeature", - { "type": "publicQtConfig", "condition": "!features.openssl-linked" }, - { "type": "define", "negative": true, "name": "QT_NO_OPENSSL" } - ] - }, - "openssl-runtime": { - "autoDetect": "!config.wasm", - "enable": "input.openssl == 'yes' || input.openssl == 'runtime'", - "disable": "input.openssl == 'no' || input.openssl == 'linked' || input.ssl == 'no'", - "condition": "libs.openssl_headers" - }, - "openssl-linked": { - "label": " Qt directly linked to OpenSSL", - "autoDetect": false, - "enable": "input.openssl == 'linked'", - "condition": "libs.openssl", - "output": [ - "privateFeature", - { "type": "define", "name": "QT_LINKED_OPENSSL" } - ] - }, - "securetransport": { - "label": "SecureTransport", - "disable": "input.ssl == 'no'", - "condition": "config.darwin", - "output": [ - "publicFeature", - { "type": "define", "name": "QT_SECURETRANSPORT" } - ] - }, - "schannel": { - "label": "Schannel", - "disable": "input.ssl == 'no'", - "condition": "config.win32", - "output": [ - "publicFeature", - { "type": "define", "name": "QT_SCHANNEL" } - ] - }, - "ssl": { - "label": "SSL", - "condition": "features.securetransport || features.openssl || features.schannel", - "output": [ "publicFeature", "feature" ] - }, - "dtls": { - "label": "DTLS", - "purpose": "Provides a DTLS implementation", - "section": "Networking", - "condition": "features.openssl && features.udpsocket && tests.dtls", - "output": [ "publicFeature" ] - }, - "ocsp": { - "label": "OCSP-stapling", - "purpose": "Provides OCSP stapling support", - "section": "Networking", - "condition": "features.opensslv11 && tests.ocsp", - "output": [ "publicFeature" ] - }, - "opensslv11": { - "label": "OpenSSL 1.1", - "condition": "features.openssl", - "output": [ "publicFeature" ] - }, - "sctp": { - "label": "SCTP", - "autoDetect": false, - "condition": "tests.sctp", - "output": [ "publicFeature", "feature" ] - }, - "system-proxies": { - "label": "Use system proxies", - "output": [ "privateFeature" ] - }, - "http": { - "label": "HTTP", - "purpose": "Provides support for the Hypertext Transfer Protocol in QNetworkAccessManager.", - "section": "Networking", - "condition": "features.thread", - "output": [ "publicFeature", "feature" ] - }, - "udpsocket": { - "label": "QUdpSocket", - "purpose": "Provides access to UDP sockets.", - "section": "Networking", - "output": [ "publicFeature", "feature" ] - }, - "networkproxy": { - "label": "QNetworkProxy", - "purpose": "Provides network proxy support.", - "section": "Networking", - "output": [ "publicFeature", "feature" ] - }, - "socks5": { - "label": "SOCKS5", - "purpose": "Provides SOCKS5 support in QNetworkProxy.", - "section": "Networking", - "condition": "features.networkproxy", - "output": [ "publicFeature", "feature" ] - }, - "networkinterface": { - "label": "QNetworkInterface", - "purpose": "Supports enumerating a host's IP addresses and network interfaces.", - "condition": "!config.wasm", - "section": "Networking", - "output": [ "publicFeature", "feature" ] - }, - "networkdiskcache": { - "label": "QNetworkDiskCache", - "purpose": "Provides a disk cache for network resources.", - "section": "Networking", - "condition": "features.temporaryfile", - "output": [ "publicFeature", "feature" ] - }, - "brotli": { - "label": "Brotli Decompression Support", - "purpose": "Support for downloading and decompressing resources compressed with Brotli through QNetworkAccessManager.", - "section": "Networking", - "condition": "libs.brotli", - "output": [ "publicFeature", "feature" ] - }, - "localserver": { - "label": "QLocalServer", - "purpose": "Provides a local socket based server.", - "section": "Networking", - "condition": "features.temporaryfile", - "output": [ "publicFeature", "feature" ] - }, - "dnslookup": { - "label": "QDnsLookup", - "purpose": "Provides API for DNS lookups.", - "section": "Networking", - "output": [ "publicFeature" ] - }, - "gssapi": { - "label": "GSSAPI", - "purpose": "Enable SPNEGO authentication through GSSAPI", - "section": "Networking", - "condition": "!config.win32 && libs.gssapi", - "output": [ "publicFeature", "feature" ] - }, - "sspi": { - "label": "SSPI", - "purpose": "Enable NTLM/SPNEGO authentication through SSPI", - "section": "Networking", - "condition": "config.win32", - "output": [ "publicFeature", "feature" ] - }, - "networklistmanager": { - "label": "Network List Manager", - "purpose": "Use Network List Manager to keep track of network connectivity", - "section": "Networking", - "condition": "config.win32 && tests.networklistmanager", - "output": [ "privateFeature" ] - }, - "topleveldomain": { - "label": "qTopLevelDomain()", - "purpose": "Provides support for extracting the top level domain from URLs. If enabled, a binary dump of the Public Suffix List (http://www.publicsuffix.org, Mozilla License) is included. The data is then also used in QNetworkCookieJar::validateCookie.", - "section": "Networking", - "output": [ "publicFeature" ] - } - }, - - "report": [ - { - "type": "note", - "condition": "features.openssl-linked && libs.openssl.source != 0 - && input.openssl.prefix == '' && input.openssl.libs == '' && input.openssl.libs.debug == ''", - "message": "When linking against OpenSSL, you can override the default -library names through OPENSSL_LIBS. -For example: - OPENSSL_LIBS='-L/opt/ssl/lib -lssl -lcrypto' ./configure -openssl-linked" - } - ], - - "summary": [ - { - "section": "Qt Network", - "entries": [ - "getifaddrs", "ipv6ifname", "libproxy", - { - "type": "feature", - "args": "linux-netlink", - "condition": "config.linux" - }, - { - "type": "feature", - "args": "securetransport", - "condition": "config.darwin" - }, - { - "type": "feature", - "args": "schannel", - "condition": "config.win32" - }, - "openssl", - "openssl-linked", - "opensslv11", - "dtls", - "ocsp", - "sctp", - "system-proxies", - "gssapi", - "brotli" - ] - } - ] -} diff --git a/src/plugins/sqldrivers/.prev_configure.cmake b/src/plugins/sqldrivers/.prev_configure.cmake deleted file mode 100644 index d742018b9f..0000000000 --- a/src/plugins/sqldrivers/.prev_configure.cmake +++ /dev/null @@ -1,77 +0,0 @@ - - -#### Inputs - -# input sqlite -set(INPUT_sqlite "undefined" CACHE STRING "") -set_property(CACHE INPUT_sqlite PROPERTY STRINGS undefined qt system) - - - -#### Libraries - -qt_find_package(DB2 PROVIDED_TARGETS DB2::DB2 MODULE_NAME sqldrivers QMAKE_LIB db2) -qt_find_package(MySQL PROVIDED_TARGETS MySQL::MySQL MODULE_NAME sqldrivers QMAKE_LIB mysql) -qt_find_package(PostgreSQL PROVIDED_TARGETS PostgreSQL::PostgreSQL MODULE_NAME sqldrivers QMAKE_LIB psql) -qt_find_package(Oracle PROVIDED_TARGETS Oracle::OCI MODULE_NAME sqldrivers QMAKE_LIB oci) -qt_find_package(ODBC PROVIDED_TARGETS ODBC::ODBC MODULE_NAME sqldrivers QMAKE_LIB odbc) -qt_find_package(SQLite3 PROVIDED_TARGETS SQLite::SQLite3 MODULE_NAME sqldrivers QMAKE_LIB sqlite3) -if(NOT WIN32 AND QT_FEATURE_system_zlib) - qt_add_qmake_lib_dependency(sqlite3 zlib) -endif() - - -#### Tests - - - -#### Features - -qt_feature("sql-db2" PRIVATE - LABEL "DB2 (IBM)" - CONDITION DB2_FOUND -) -qt_feature("sql-ibase" PRIVATE - LABEL "InterBase" - CONDITION libs.ibase OR FIXME -) -qt_feature("sql-mysql" PRIVATE - LABEL "MySql" - CONDITION MySQL_FOUND -) -qt_feature("sql-oci" PRIVATE - LABEL "OCI (Oracle)" - CONDITION Oracle_FOUND -) -qt_feature("sql-odbc" PRIVATE - LABEL "ODBC" - CONDITION QT_FEATURE_datestring AND ODBC_FOUND -) -qt_feature("sql-psql" PRIVATE - LABEL "PostgreSQL" - CONDITION PostgreSQL_FOUND -) -qt_feature("sql-sqlite" PRIVATE - LABEL "SQLite" - CONDITION QT_FEATURE_datestring -) -qt_feature("system-sqlite" PRIVATE - LABEL " Using system provided SQLite" - AUTODETECT OFF - CONDITION QT_FEATURE_sql_sqlite AND SQLite3_FOUND -) -qt_configure_add_summary_section(NAME "Qt Sql Drivers") -qt_configure_add_summary_entry(ARGS "sql-db2") -qt_configure_add_summary_entry(ARGS "sql-ibase") -qt_configure_add_summary_entry(ARGS "sql-mysql") -qt_configure_add_summary_entry(ARGS "sql-oci") -qt_configure_add_summary_entry(ARGS "sql-odbc") -qt_configure_add_summary_entry(ARGS "sql-psql") -qt_configure_add_summary_entry(ARGS "sql-sqlite") -qt_configure_add_summary_entry(ARGS "system-sqlite") -qt_configure_end_summary_section() # end of "Qt Sql Drivers" section -qt_configure_add_report_entry( - TYPE WARNING - MESSAGE "Qt does not support compiling the Oracle database driver with MinGW, due to lack of such support from Oracle. Consider disabling the Oracle driver, as the current build will most likely fail." - CONDITION WIN32 AND NOT MSVC AND QT_FEATURE_sql_oci -) diff --git a/src/plugins/sqldrivers/configure.json b/src/plugins/sqldrivers/configure.json deleted file mode 100644 index f738e58a00..0000000000 --- a/src/plugins/sqldrivers/configure.json +++ /dev/null @@ -1,201 +0,0 @@ -{ - "module": "sqldrivers", - "depends": [ - "core" - ], - "testDir": "../../../config.tests", - - "commandline": { - "assignments": { - "MYSQL_PATH": "mysql.prefix" - }, - "options": { - "mysql_config": "string", - "psql_config": "string", - "sqlite": { "type": "enum", "name": "system-sqlite", "values": { "qt": "no", "system": "yes" } }, - "sql-db2": "boolean", - "sql-ibase": "boolean", - "sql-mysql": "boolean", - "sql-oci": "boolean", - "sql-odbc": "boolean", - "sql-psql": "boolean", - "sql-sqlite": "boolean", - "plugin-sql-db2": { "type": "void", "name": "sql-db2" }, - "plugin-sql-ibase": { "type": "void", "name": "sql-ibase" }, - "plugin-sql-mysql": { "type": "void", "name": "sql-mysql" }, - "plugin-sql-oci": { "type": "void", "name": "sql-oci" }, - "plugin-sql-odbc": { "type": "void", "name": "sql-odbc" }, - "plugin-sql-psql": { "type": "void", "name": "sql-psql" }, - "plugin-sql-sqlite": { "type": "void", "name": "sql-sqlite" } - } - }, - - "libraries": { - "db2": { - "label": "DB2 (IBM)", - "test": {}, - "headers": [ "sqlcli.h", "sqlcli1.h" ], - "sources": [ - { "libs": "-ldb2cli", "condition": "config.win32" }, - { "libs": "-ldb2", "condition": "!config.win32" } - ] - }, - "ibase": { - "label": "InterBase", - "test": {}, - "headers": "ibase.h", - "sources": [ - { "libs": "-lgds32_ms", "condition": "config.win32" }, - { "libs": "-lgds", "condition": "!config.win32" } - ] - }, - "mysql": { - "label": "MySQL", - "test": { - "head": [ - "#if defined(WIN32) || defined(_WIN32) || defined(__WIN32__) || defined(WIN64) || defined(_WIN64) || defined(__WIN64__)", - "# include ", - "#endif" - ], - "main": "mysql_get_client_version();" - }, - "headers": "mysql.h", - "sources": [ - { "type": "mysqlConfig", "query": "--libs_r", "cleanlibs": true }, - { "type": "mysqlConfig", "query": "--libs", "cleanlibs": true }, - { "type": "mysqlConfig", "query": "--libs_r", "cleanlibs": false }, - { "type": "mysqlConfig", "query": "--libs", "cleanlibs": false }, - { "libs": "-lmysqlclient_r", "condition": "!config.win32" }, - { "libs": "-llibmariadb", "condition": "config.win32" }, - { "libs": "-llibmysql", "condition": "config.win32" }, - { "libs": "-lmariadb", "condition": "!config.win32" }, - { "libs": "-lmysqlclient", "condition": "!config.win32" } - ] - }, - "psql": { - "label": "PostgreSQL", - "test": { - "main": [ - "PQescapeBytea(0, 0, 0);", - "PQunescapeBytea(0, 0);" - ] - }, - "headers": "libpq-fe.h", - "sources": [ - { "type": "pkgConfig", "args": "libpq" }, - { "type": "psqlConfig" }, - { "type": "psqlEnv", "libs": "-llibpq -lws2_32 -ladvapi32", "condition": "config.win32" }, - { "type": "psqlEnv", "libs": "-lpq", "condition": "!config.win32" } - ] - }, - "oci": { - "label": "OCI (Oracle)", - "test": {}, - "headers": "oci.h", - "sources": [ - { "libs": "-loci", "condition": "config.win32" }, - { "libs": "-lclntsh", "condition": "!config.win32" } - ] - }, - "odbc": { - "label": "ODBC", - "test": { - "head": [ - "#if defined(WIN32) || defined(_WIN32) || defined(__WIN32__) || defined(WIN64) || defined(_WIN64) || defined(__WIN64__)", - "# include ", - "#endif" - ], - "main": [ - "SQLHANDLE env;", - "SQLAllocHandle(SQL_HANDLE_ENV, SQL_NULL_HANDLE, &env);" - ] - }, - "headers": [ "sql.h", "sqlext.h" ], - "sources": [ - { "libs": "-lodbc32", "condition": "config.win32" }, - { "libs": "-liodbc", "condition": "config.darwin" }, - { "libs": "-lodbc", "condition": "!config.win32 && !config.darwin" } - ] - }, - "sqlite3": { - "label": "SQLite (version 3)", - "export": "sqlite", - "test": { - "main": "sqlite3_open_v2(0, 0, 0, 0);" - }, - "headers": "sqlite3.h", - "sources": [ - { "type": "pkgConfig", "args": "sqlite3" }, - "-lsqlite3" - ], - "use": [ - { "lib": "zlib", "condition": "!config.win32 && features.system-zlib" } - ] - } - }, - - "tests": { - }, - - "features": { - "sql-db2": { - "label": "DB2 (IBM)", - "condition": "libs.db2", - "output": [ "privateFeature" ] - }, - "sql-ibase": { - "label": "InterBase", - "condition": "libs.ibase", - "output": [ "privateFeature" ] - }, - "sql-mysql": { - "label": "MySql", - "condition": "libs.mysql", - "output": [ "privateFeature" ] - }, - "sql-oci": { - "label": "OCI (Oracle)", - "condition": "libs.oci", - "output": [ "privateFeature" ] - }, - "sql-odbc": { - "label": "ODBC", - "condition": "features.datestring && libs.odbc", - "output": [ "privateFeature" ] - }, - "sql-psql": { - "label": "PostgreSQL", - "condition": "libs.psql", - "output": [ "privateFeature" ] - }, - "sql-sqlite": { - "label": "SQLite", - "condition": "features.datestring", - "output": [ "privateFeature" ] - }, - "system-sqlite": { - "label": " Using system provided SQLite", - "autoDetect": false, - "condition": "features.sql-sqlite && libs.sqlite3", - "output": [ "privateFeature" ] - } - }, - - "report": [ - { - "type": "warning", - "condition": "config.win32 && !config.msvc && features.sql-oci", - "message": "Qt does not support compiling the Oracle database driver with MinGW, due to lack of such support from Oracle. Consider disabling the Oracle driver, as the current build will most likely fail." - } - ], - - "summary": [ - { - "section": "Qt Sql Drivers", - "entries": [ - "sql-db2", "sql-ibase", "sql-mysql", "sql-oci", "sql-odbc", "sql-psql", - "sql-sqlite", "system-sqlite" - ] - } - ] -} diff --git a/src/printsupport/configure.json b/src/printsupport/configure.json deleted file mode 100644 index 9bd85b0707..0000000000 --- a/src/printsupport/configure.json +++ /dev/null @@ -1,102 +0,0 @@ -{ - "module": "printsupport", - "depends": [ - "core", - "gui", - "widgets" - ], - "testDir": "../../config.tests", - - "commandline": { - "options": { - "cups": "boolean" - } - }, - - "libraries": { - "cups": { - "label": "CUPS", - "test": { - "main": "cupsGetNamedDest(CUPS_HTTP_DEFAULT, NULL, NULL); // CUPS 1.4 test" - }, - "headers": "cups/cups.h", - "sources": [ - "-lcups" - ] - } - }, - - "features": { - "cups": { - "label": "CUPS", - "purpose": "Provides support for the Common Unix Printing System.", - "section": "Painting", - "condition": "libs.cups && features.printer && features.datestring", - "output": [ "privateFeature", "feature" ] - }, - "cupsjobwidget": { - "label": "CUPS job control widget", - "section": "Widgets", - "condition": [ - "features.buttongroup", - "features.calendarwidget", - "features.checkbox", - "features.combobox", - "features.cups", - "features.datetimeedit", - "features.groupbox", - "features.tablewidget" - ], - "output": [ "privateFeature", "feature" ] - }, - "printer": { - "label": "QPrinter", - "purpose": "Provides a printer backend of QPainter.", - "section": "Painting", - "condition": "!config.uikit && features.picture && features.temporaryfile && features.pdf", - "output": [ "publicFeature", "feature" ] - }, - "printpreviewwidget": { - "label": "QPrintPreviewWidget", - "purpose": "Provides a widget for previewing page layouts for printer output.", - "section": "Widgets", - "condition": "features.graphicsview && features.printer && features.mainwindow", - "output": [ "publicFeature", "feature" ] - }, - "printdialog": { - "label": "QPrintDialog", - "purpose": "Provides a dialog widget for specifying printer configuration.", - "section": "Dialogs", - "condition": [ - "features.buttongroup", - "features.checkbox", - "features.combobox", - "features.dialog", - "features.datetimeedit", - "features.dialogbuttonbox", - "features.printer", - "features.radiobutton", - "features.spinbox", - "features.tabwidget", - "features.treeview" - ], - "output": [ "publicFeature", "feature" ] - }, - "printpreviewdialog": { - "label": "QPrintPreviewDialog", - "purpose": "Provides a dialog for previewing and configuring page layouts for printer output.", - "section": "Dialogs", - "condition": "features.printpreviewwidget && features.printdialog && features.toolbar && features.formlayout", - "output": [ "publicFeature", "feature" ] - } - }, - - "summary": [ - { - "section": "Qt PrintSupport", - "entries": [ - "cups" - ] - } - ] -} diff --git a/src/sql/configure.json b/src/sql/configure.json deleted file mode 100644 index 8fdc27e3a2..0000000000 --- a/src/sql/configure.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "module": "sql", - "depends": [ - "core" - ], - - "features": { - "sqlmodel": { - "label": "SQL item models", - "purpose": "Provides item model classes backed by SQL databases.", - "condition": "features.itemmodel", - "output": [ "publicFeature" ] - } - }, - - "summary": [ - { - "section": "Qt Sql", - "entries": [ "sqlmodel" ] - } - ] -} diff --git a/src/testlib/configure.json b/src/testlib/configure.json deleted file mode 100644 index 726f614ee5..0000000000 --- a/src/testlib/configure.json +++ /dev/null @@ -1,34 +0,0 @@ -{ - "module": "testlib", - "depends": [ - "core" - ], - - "features": { - "testlib_selfcover": { - "label": "Coverage testing of testlib itself", - "purpose": "Gauges how thoroughly testlib's selftest exercises testlib's code", - "autoDetect": false, - "output": [ "publicFeature" ] - }, - "itemmodeltester": { - "label": "Tester for item models", - "purpose": "Provides a utility to test item models.", - "condition": "features.itemmodel", - "output": [ "publicFeature" ] - }, - "valgrind": { - "label": "Valgrind", - "purpose": "Profiling support with callgrind.", - "condition": "(config.linux || config.darwin) && features.process && features.regularexpression", - "output": [ "publicFeature" ] - } - }, - - "summary": [ - { - "section": "Qt Testlib", - "entries": [ "itemmodeltester" ] - } - ] -} diff --git a/src/widgets/configure.json b/src/widgets/configure.json deleted file mode 100644 index 99b487ef0f..0000000000 --- a/src/widgets/configure.json +++ /dev/null @@ -1,647 +0,0 @@ -{ - "module": "widgets", - "depends": [ - "core-private", - "gui" - ], - "testDir": "../../config.tests", - - "commandline": { - "options": { - "gtk": { "type": "boolean", "name": "gtk3" }, - "style-windows": "boolean", - "style-windowsvista": "boolean", - "style-fusion": "boolean", - "style-mac": "boolean", - "style-android": "boolean" - } - }, - - "libraries": { - "gtk3": { - "label": "GTK+ >= 3.6", - "sources": [ - { "type": "pkgConfig", "args": "gtk+-3.0 >= 3.6" } - ] - } - }, - - "features": { - "gtk3": { - "label": "GTK+", - "autoDetect": "!config.darwin", - "condition": "features.glib && libs.gtk3", - "output": [ "privateFeature" ] - }, - "style-fusion": { - "label": "Fusion", - "output": [ "privateFeature", "styles" ] - }, - "style-mac": { - "label": "macOS", - "condition": "config.osx && features.animation", - "output": [ "privateFeature", "styles" ] - }, - "style-windows": { - "label": "Windows", - "output": [ "privateFeature", "styles" ] - }, - "style-windowsvista": { - "label": "WindowsVista", - "condition": "features.style-windows && features.animation && config.win32", - "output": [ "privateFeature", "styles" ] - }, - "style-android": { - "label": "Android", - "autoDetect": "config.android", - "output": [ "privateFeature", "styles" ] - }, - "style-stylesheet": { - "label": "QStyleSheetStyle", - "purpose": "Provides a widget style which is configurable via CSS.", - "section": "Styles", - "condition": "features.style-windows && features.properties && features.cssparser", - "output": [ "publicFeature", "feature" ] - }, - "effects": { - "label": "Effects", - "purpose": "Provides special widget effects (e.g. fading and scrolling).", - "section": "Kernel", - "output": [ "privateFeature" ] - }, - "itemviews": { - "label": "The Model/View Framework", - "purpose": "Provides the model/view architecture managing the relationship between data and the way it is presented to the user.", - "section": "ItemViews", - "condition": "features.itemmodel && features.scrollarea", - "output": [ "publicFeature", "feature" ] - }, - "treewidget": { - "label": "QTreeWidget", - "purpose": "Provides views using tree models.", - "section": "Widgets", - "condition": "features.treeview", - "output": [ "publicFeature", "feature" ] - }, - "listwidget": { - "label": "QListWidget", - "purpose": "Provides item-based list widgets.", - "section": "Widgets", - "condition": "features.listview", - "output": [ "publicFeature", "feature" ] - }, - "tablewidget": { - "label": "QTableWidget", - "purpose": "Provides item-based table views.", - "section": "Widgets", - "condition": "features.tableview", - "output": [ "publicFeature", "feature" ] - }, - "abstractbutton": { - "label": "QAbstractButton", - "purpose": "Abstract base class of button widgets, providing functionality common to buttons.", - "section": "Widgets", - "output": [ "publicFeature" ] - }, - "commandlinkbutton": { - "label": "QCommandLinkButton", - "purpose": "Provides a Vista style command link button.", - "section": "Widgets", - "condition": "features.pushbutton", - "output": [ "publicFeature" ] - }, - "datetimeedit": { - "label": "QDateTimeEdit", - "purpose": "Supports editing dates and times.", - "section": "Widgets", - "condition": "features.calendarwidget && features.datetimeparser", - "output": [ "publicFeature", "feature" ] - }, - "stackedwidget": { - "label": "QStackedWidget", - "purpose": "Provides stacked widgets.", - "section": "Widgets", - "output": [ "publicFeature", "feature" ] - }, - "textbrowser": { - "label": "QTextBrowser", - "purpose": "Supports HTML document browsing.", - "section": "Widgets", - "condition": "features.textedit", - "output": [ "publicFeature", "feature" ] - }, - "splashscreen": { - "label": "QSplashScreen", - "purpose": "Supports splash screens that can be shown during application startup.", - "section": "Widgets", - "output": [ "publicFeature", "feature" ] - }, - "splitter": { - "label": "QSplitter", - "purpose": "Provides user controlled splitter widgets.", - "section": "Widgets", - "output": [ "publicFeature", "feature" ] - }, - "widgettextcontrol": { - "label": "QWidgetTextControl", - "purpose": "Provides text control functionality to other widgets.", - "section": "Widgets", - "output": [ "privateFeature" ] - }, - "label": { - "label": "QLabel", - "purpose": "Provides a text or image display.", - "section": "Widgets", - "condition": "features.widgettextcontrol", - "output": [ "publicFeature" ] - }, - "formlayout": { - "label": "QFormLayout", - "purpose": "Manages forms of input widgets and their associated labels.", - "section": "Widgets", - "condition": "features.label", - "output": [ "publicFeature" ] - }, - "lcdnumber": { - "label": "QLCDNumber", - "purpose": "Provides LCD-like digits.", - "section": "Widgets", - "output": [ "publicFeature", "feature" ] - }, - "menu": { - "label": "QMenu", - "purpose": "Provides popup-menus.", - "section": "Widgets", - "condition": "features.action && features.pushbutton", - "output": [ "publicFeature", "feature" ] - }, - "lineedit": { - "label": "QLineEdit", - "purpose": "Provides single-line edits.", - "section": "Widgets", - "condition": "features.widgettextcontrol", - "output": [ "publicFeature", "feature" ] - }, - "radiobutton": { - "label": "QRadioButton", - "purpose": "Provides a radio button with a text label.", - "section": "Widgets", - "condition": "features.abstractbutton", - "output": [ "publicFeature" ] - }, - "spinbox": { - "label": "QSpinBox", - "purpose": "Provides spin boxes handling integers and discrete sets of values.", - "section": "Widgets", - "condition": "features.lineedit && features.validator", - "output": [ "publicFeature", "feature" ] - }, - "tabbar": { - "label": "QTabBar", - "purpose": "Provides tab bars, e.g., for use in tabbed dialogs.", - "section": "Widgets", - "condition": "features.toolbutton", - "output": [ "publicFeature", "feature" ] - }, - "tabwidget": { - "label": "QTabWidget", - "purpose": "Supports stacking tabbed widgets.", - "section": "Widgets", - "condition": "features.tabbar && features.stackedwidget", - "output": [ "publicFeature", "feature" ] - }, - "combobox": { - "label": "QComboBox", - "purpose": "Provides drop-down boxes presenting a list of options to the user.", - "section": "Widgets", - "condition": "features.lineedit && features.standarditemmodel && features.listview", - "output": [ "publicFeature", "feature" ] - }, - "fontcombobox": { - "label": "QFontComboBox", - "purpose": "Provides a combobox that lets the user select a font family.", - "section": "Widgets", - "condition": "features.combobox && features.stringlistmodel", - "output": [ "publicFeature", "feature" ] - }, - "checkbox": { - "label": "QCheckBox(", - "purpose": "Provides a checkbox with a text label.", - "section": "Widgets", - "condition": "features.abstractbutton", - "output": [ "publicFeature" ] - }, - "pushbutton": { - "label": "QPushButton", - "purpose": "Provides a command button.", - "section": "Widgets", - "condition": "features.abstractbutton && features.action", - "output": [ "publicFeature" ] - }, - "toolbutton": { - "label": "QToolButton", - "purpose": "Provides quick-access buttons to commands and options.", - "section": "Widgets", - "condition": "features.abstractbutton && features.action", - "output": [ "publicFeature", "feature" ] - }, - "toolbar": { - "label": "QToolBar", - "purpose": "Provides movable panels containing a set of controls.", - "section": "Widgets", - "condition": "features.mainwindow", - "output": [ "publicFeature", "feature" ] - }, - "toolbox": { - "label": "QToolBox", - "purpose": "Provides columns of tabbed widget items.", - "section": "Widgets", - "condition": "features.toolbutton && features.scrollarea", - "output": [ "publicFeature", "feature" ] - }, - "groupbox": { - "label": "QGroupBox", - "purpose": "Provides widget grouping boxes with frames.", - "section": "Widgets", - "output": [ "publicFeature", "feature" ] - }, - "buttongroup": { - "label": "QButtonGroup", - "purpose": "Supports organizing groups of button widgets.", - "section": "Widgets", - "condition": "features.abstractbutton && features.groupbox", - "output": [ "publicFeature", "feature" ] - }, - "mainwindow": { - "label": "QMainWindow", - "purpose": "Provides main application windows.", - "section": "Widgets", - "condition": "features.menu && features.resizehandler && features.toolbutton", - "output": [ "publicFeature", "feature" ] - }, - "dockwidget": { - "label": "QDockwidget", - "purpose": "Supports docking widgets inside a QMainWindow or floated as a top-level window on the desktop.", - "section": "Widgets", - "condition": "features.mainwindow", - "output": [ "publicFeature", "feature" ] - }, - "mdiarea": { - "label": "QMdiArea", - "purpose": "Provides an area in which MDI windows are displayed.", - "section": "Widgets", - "condition": "features.scrollarea", - "output": [ "publicFeature", "feature" ] - }, - "resizehandler": { - "label": "QWidgetResizeHandler", - "purpose": "Provides an internal resize handler for dock widgets.", - "section": "Widgets", - "output": [ "publicFeature", "feature" ] - }, - "statusbar": { - "label": "QStatusBar", - "purpose": "Supports presentation of status information.", - "section": "Widgets", - "output": [ "publicFeature", "feature" ] - }, - "menubar": { - "label": "QMenuBar", - "purpose": "Provides pull-down menu items.", - "section": "Widgets", - "condition": "features.menu && features.toolbutton", - "output": [ "publicFeature", "feature" ] - }, - "contextmenu": { - "label": "Context menus", - "purpose": "Adds pop-up menus on right mouse click to numerous widgets.", - "section": "Widgets", - "condition": "features.menu", - "output": [ "publicFeature", "feature" ] - }, - "progressbar": { - "label": "QProgressBar", - "purpose": "Supports presentation of operation progress.", - "section": "Widgets", - "output": [ "publicFeature", "feature" ] - }, - "abstractslider": { - "label": "QAbstractSlider", - "purpose": "Common super class for widgets like QScrollBar, QSlider and QDial.", - "section": "Widgets", - "output": [ "publicFeature" ] - }, - "slider": { - "label": "QSlider", - "purpose": "Provides sliders controlling a bounded value.", - "section": "Widgets", - "condition": "features.abstractslider", - "output": [ "publicFeature", "feature" ] - }, - "scrollbar": { - "label": "QScrollBar", - "purpose": "Provides scrollbars allowing the user access parts of a document that is larger than the widget used to display it.", - "section": "Widgets", - "condition": "features.slider", - "output": [ "publicFeature", "feature" ] - }, - "dial": { - "label": "QDial", - "purpose": "Provides a rounded range control, e.g., like a speedometer.", - "section": "Widgets", - "condition": "features.slider", - "output": [ "publicFeature", "feature" ] - }, - "scrollarea": { - "label": "QScrollArea", - "purpose": "Supports scrolling views onto widgets.", - "section": "Widgets", - "condition": "features.scrollbar", - "output": [ "publicFeature", "feature" ] - }, - "scroller": { - "label": "QScroller", - "purpose": "Enables kinetic scrolling for any scrolling widget or graphics item.", - "section": "Widgets", - "condition": "features.easingcurve", - "output": [ "publicFeature" ] - }, - "graphicsview": { - "label": "QGraphicsView", - "purpose": "Provides a canvas/sprite framework.", - "section": "Widgets", - "condition": "features.scrollarea && features.widgettextcontrol", - "output": [ "publicFeature", "feature" ] - }, - "graphicseffect": { - "label": "QGraphicsEffect", - "purpose": "Provides various graphics effects.", - "section": "Widgets", - "condition": "features.graphicsview", - "output": [ "publicFeature", "feature" ] - }, - "textedit": { - "label": "QTextEdit", - "purpose": "Supports rich text editing.", - "section": "Widgets", - "condition": "features.scrollarea && features.properties && features.widgettextcontrol", - "output": [ "publicFeature", "feature" ] - }, - "syntaxhighlighter": { - "label": "QSyntaxHighlighter", - "purpose": "Supports custom syntax highlighting.", - "section": "Widgets", - "condition": "features.textedit", - "output": [ "publicFeature", "feature" ] - }, - "rubberband": { - "label": "QRubberBand", - "purpose": "Supports using rubberbands to indicate selections and boundaries.", - "section": "Widgets", - "output": [ "publicFeature", "feature" ] - }, - "tooltip": { - "label": "QToolTip", - "purpose": "Supports presentation of tooltips.", - "section": "Widgets", - "condition": "features.label", - "output": [ "publicFeature", "feature" ] - }, - "statustip": { - "label": "Status Tip", - "purpose": "Supports status tip functionality and events.", - "section": "Widgets", - "output": [ "publicFeature", "feature" ] - }, - "sizegrip": { - "label": "QSizeGrip", - "purpose": "Provides corner-grips for resizing top-level windows.", - "section": "Widgets", - "output": [ "publicFeature", "feature" ] - }, - "calendarwidget": { - "label": "QCalendarWidget", - "purpose": "Provides a monthly based calendar widget allowing the user to select a date.", - "section": "Widgets", - "condition": [ - "features.label", - "features.menu", - "features.pushbutton", - "features.spinbox", - "features.tableview", - "features.textdate", - "features.toolbutton" - ], - "output": [ "publicFeature", "feature" ] - }, - "keysequenceedit": { - "label": "QKeySequenceEdit", - "purpose": "Provides a widget for editing QKeySequences.", - "section": "Widgets", - "condition": "features.lineedit && features.shortcut", - "output": [ "publicFeature", "feature" ] - }, - "dialog" : { - "label": "QDialog", - "purpose": "Base class of dialog windows.", - "section": "Dialogs", - "output": [ "publicFeature" ] - }, - "dialogbuttonbox": { - "label": "QDialogButtonBox", - "purpose": "Presents buttons in a layout that is appropriate for the current widget style.", - "section": "Dialogs", - "condition": "features.dialog && features.pushbutton", - "output": [ "publicFeature" ] - }, - "messagebox": { - "label": "QMessageBox", - "purpose": "Provides message boxes displaying informative messages and simple questions.", - "section": "Dialogs", - "condition" : [ - "features.checkbox", - "features.dialog", - "features.dialogbuttonbox", - "features.label", - "features.pushbutton" - ], - "output": [ "publicFeature", "feature" ] - }, - "colordialog": { - "label": "QColorDialog", - "purpose": "Provides a dialog widget for specifying colors.", - "section": "Dialogs", - "condition": [ - "features.dialog", - "features.dialogbuttonbox", - "features.label", - "features.pushbutton", - "features.spinbox" - ], - "output": [ "publicFeature", "feature" ] - }, - "filedialog": { - "label": "QFileDialog", - "purpose": "Provides a dialog widget for selecting files or directories.", - "section": "Dialogs", - "condition": [ - "features.buttongroup", - "features.combobox", - "features.dialog", - "features.dialogbuttonbox", - "features.filesystemmodel", - "features.label", - "features.proxymodel", - "features.splitter", - "features.stackedwidget", - "features.treeview", - "features.toolbutton" - ], - "output": [ "publicFeature", "feature" ] - }, - "fontdialog": { - "label": "QFontDialog", - "purpose": "Provides a dialog widget for selecting fonts.", - "section": "Dialogs", - "condition": [ - "features.checkbox", - "features.combobox", - "features.dialog", - "features.dialogbuttonbox", - "features.groupbox", - "features.label", - "features.pushbutton", - "features.stringlistmodel", - "features.validator" - ], - "output": [ "publicFeature", "feature" ] - }, - "progressdialog": { - "label": "QProgressDialog", - "purpose": "Provides feedback on the progress of a slow operation.", - "section": "Dialogs", - "condition": [ - "features.dialog", - "features.label", - "features.pushbutton", - "features.progressbar" - ], - "output": [ "publicFeature", "feature" ] - }, - "inputdialog": { - "label": "QInputDialog", - "purpose": "Provides a simple convenience dialog to get a single value from the user.", - "section": "Dialogs", - "condition": [ - "features.combobox", - "features.dialog", - "features.dialogbuttonbox", - "features.label", - "features.pushbutton", - "features.spinbox", - "features.stackedwidget", - "features.textedit" - ], - "output": [ "publicFeature", "feature" ] - }, - "errormessage": { - "label": "QErrorMessage", - "purpose": "Provides an error message display dialog.", - "section": "Dialogs", - "condition": [ - "features.checkbox", - "features.dialog", - "features.textedit", - "features.label", - "features.pushbutton", - "features.textedit" - ], - "output": [ "publicFeature", "feature" ] - }, - "wizard": { - "label": "QWizard", - "purpose": "Provides a framework for multi-page click-through dialogs.", - "section": "Dialogs", - "condition": [ - "features.dialog", - "features.pushbutton", - "features.properties", - "features.label" - ], - "output": [ "publicFeature", "feature" ] - }, - "listview": { - "label": "QListView", - "purpose": "Provides a list or icon view onto a model.", - "section": "ItemViews", - "condition": "features.itemviews", - "output": [ "publicFeature", "feature" ] - }, - "tableview": { - "label": "QTableView", - "purpose": "Provides a default model/view implementation of a table view.", - "section": "ItemViews", - "condition": "features.itemviews", - "output": [ "publicFeature", "feature" ] - }, - "treeview": { - "label": "QTreeView", - "purpose": "Provides a default model/view implementation of a tree view.", - "section": "ItemViews", - "condition": "features.itemviews", - "output": [ "publicFeature", "feature" ] - }, - "datawidgetmapper": { - "label": "QDataWidgetMapper", - "purpose": "Provides mapping between a section of a data model to widgets.", - "section": "ItemViews", - "condition": "features.itemviews && features.properties", - "output": [ "publicFeature", "feature" ] - }, - "columnview": { - "label": "QColumnView", - "purpose": "Provides a model/view implementation of a column view.", - "section": "ItemViews", - "condition": "features.listview", - "output": [ "publicFeature", "feature" ] - }, - "completer": { - "label": "QCompleter", - "purpose": "Provides completions based on an item model.", - "section": "Utilities", - "condition": "features.proxymodel && features.itemviews", - "output": [ "publicFeature", "feature" ] - }, - "fscompleter": { - "label": "QFSCompleter", - "purpose": "Provides file name completion in QFileDialog.", - "section": "Utilities", - "condition": "features.filesystemmodel && features.completer", - "output": [ "publicFeature", "feature" ] - }, - "undoview": { - "label": "QUndoView", - "purpose": "Provides a widget which shows the contents of an undo stack.", - "section": "Utilities", - "condition": "features.undostack && features.listview", - "output": [ "publicFeature", "feature" ] - } - }, - - "report": [ - ], - - "summary": [ - { - "section": "Qt Widgets", - "entries": [ - "gtk3", - { - "message": "Styles", - "type": "featureList", - "args": "style-fusion style-mac style-windows style-windowsvista style-android" - } - ] - } - ] -} diff --git a/src/xml/configure.json b/src/xml/configure.json deleted file mode 100644 index 345eb8544b..0000000000 --- a/src/xml/configure.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "module": "xml", - "depends": [ - "core" - ], - "testDir": "../../config.tests", - - "features": { - "dom": { - "label": "DOM", - "purpose": "Supports the Document Object Model.", - "section": "File I/O", - "output": [ "publicFeature", "feature" ] - } - } -} -- cgit v1.2.3