Details
-
Bug
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
6.7.2
-
None
-
-
3e1a22331 (dev), a29573d13 (6.8)
Description
I am trying to include Qt6 via CMake FetchContent in a Visual Studio 2022 command line.
cmake_minimum_required(VERSION 3.11) project(MyProject LANGUAGES CXX) set(CMAKE_CXX_STANDARD 17) set(CMAKE_CXX_STANDARD_REQUIRED ON) include(FetchContent) list(APPEND CMAKE_PREFIX_PATH "${CMAKE_BINARY_DIR}") FetchContent_Declare( qt6 GIT_REPOSITORY "https://github.com/qt/qt5.git" GIT_TAG "v6.7.2" GIT_SUBMODULES "qtbase" GIT_SUBMODULES_RECURSE ON OVERRIDE_FIND_PACKAGE ON ) FetchContent_MakeAvailable(qt6)
I just want to build a simple widgets application. Moc, lupdate and co are not needed.
The FetchContent_Declare also seems to be almost working. I get this error message:
PS C:\Temp\test> cmake --trace-expand --trace-redirect=cmake_trace.txt --log-level=STATUS -GNinja -DCMAKE_BUILD_TYPE=Release c:\TechnoTeam\develop\src\TT_CodeBase\FreeStanding\grpc\OL400 Put cmake in trace mode, but with variables expanded. Put cmake in trace mode and redirect trace output to a file instead of stderr. Trace will be written to cmake_trace.txt -- The CXX compiler identification is MSVC 19.40.33811.0 -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: C:/Program Files/Microsoft Visual Studio/2022/Professional/VC/Tools/MSVC/14.40.33807/bin/Hostx86/x86/cl.exe - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- The C compiler identification is MSVC 19.40.33811.0 -- The ASM compiler identification is MSVC -- Found assembler: C:/Program Files/Microsoft Visual Studio/2022/Professional/VC/Tools/MSVC/14.40.33807/bin/Hostx86/x86/cl.exe -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: C:/Program Files/Microsoft Visual Studio/2022/Professional/VC/Tools/MSVC/14.40.33807/bin/Hostx86/x86/cl.exe - skipped -- Detecting C compile features -- Detecting C compile features - done -- Checking dependencies of submodule 'qtbase' -- Configuring submodule 'qtbase' -- [QtBase] CMAKE_BUILD_TYPE was already explicitly set to: 'Release' -- [QtBase] Checking for feature set changes -- [QtBase] CMAKE_STRIP (original): -- [QtBase] Building architecture extraction project with the following CMake arguments: -DCMAKE_C_FLAGS=/DWIN32 /D_WINDOWS /W3 -DCMAKE_C_FLAGS_DEBUG=/MDd /Zi /Ob0 /Od /RTC1 -DCMAKE_C_FLAGS_RELEASE=/MD /O2 /Ob2 /DNDEBUG -DCMAKE_C_FLAGS_RELWITHDEBINFO=/MD /Zi /O2 /Ob1 /DNDEBUG -DCMAKE_CXX_FLAGS=/DWIN32 /D_WINDOWS /W3 /GR /EHsc -DCMAKE_CXX_FLAGS_DEBUG=/MDd /Zi /Ob0 /Od /RTC1 -DCMAKE_CXX_FLAGS_RELEASE=/MD /O2 /Ob2 /DNDEBUG -DCMAKE_CXX_FLAGS_RELWITHDEBINFO=/MD /Zi /O2 /Ob1 /DNDEBUG -DCMAKE_EXE_LINKER_FLAGS=/machine:X86 -DCMAKE_C_STANDARD=11 -DCMAKE_C_STANDARD_REQUIRED=ON -DCMAKE_CXX_STANDARD=17 -DCMAKE_CXX_STANDARD_REQUIRED=ON -DCMAKE_MODULE_PATH:STRING=C:/Temp/test/_deps/qt6-src/qtbase/cmake/platforms -- [QtBase] Extracting architecture info from C:/Temp/test/_deps/qt6-build/qtbase/config.tests/arch/architecture_test.exe. -- [QtBase] Performing Test HAVE_WIN10_WIN32_WINNT -- [QtBase] Performing Test HAVE_WIN10_WIN32_WINNT - Success -- [QtBase] CMAKE_VERSION: "3.28.3-msvc11" -- [QtBase] CMAKE_HOST_SYSTEM: "Windows-10.0.22631" -- [QtBase] CMAKE_HOST_SYSTEM_NAME: "Windows" -- [QtBase] CMAKE_HOST_SYSTEM_VERSION: "10.0.22631" -- [QtBase] CMAKE_HOST_SYSTEM_PROCESSOR: "AMD64" -- [QtBase] CMAKE_SYSTEM: "Windows" -- [QtBase] CMAKE_SYSTEM_NAME: "Windows" -- [QtBase] CMAKE_SYSTEM_VERSION: "10.0.22631" -- [QtBase] CMAKE_SYSTEM_PROCESSOR: "AMD64" -- [QtBase] CMAKE_CROSSCOMPILING: "FALSE" -- [QtBase] CMAKE_INSTALL_PREFIX: "C:/Qt/Qt-6.7.2" -- [QtBase] CMAKE_STAGING_PREFIX: "" -- [QtBase] QT_BUILD_DIR: "C:/Temp/test/_deps/qt6-build/qtbase" -- [QtBase] QT_INSTALL_DIR: "" -- [QtBase] QT_WILL_INSTALL: "ON" -- [QtBase] CMAKE_C_COMPILER: "C:/Program Files/Microsoft Visual Studio/2022/Professional/VC/Tools/MSVC/14.40.33807/bin/Hostx86/x86/cl.exe" (19.40.33811.0) -- [QtBase] CMAKE_CXX_COMPILER: "C:/Program Files/Microsoft Visual Studio/2022/Professional/VC/Tools/MSVC/14.40.33807/bin/Hostx86/x86/cl.exe" (19.40.33811.0) -- [QtBase] MSVC_VERSION: "1940" -- [QtBase] MSVC_TOOLSET_VERSION: "143" -- [QtBase] Could NOT find ZLIB (missing: ZLIB_LIBRARY ZLIB_INCLUDE_DIR) (Required is at least version "1.0.8") -- [QtBase] Could NOT find WrapSystemZLIB (missing: WrapSystemZLIB_FOUND) (Required is at least version "1.0.8") -- [QtBase] Performing Test CMAKE_HAVE_LIBC_PTHREAD -- [QtBase] Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed -- [QtBase] Looking for pthread_create in pthreads -- [QtBase] Looking for pthread_create in pthreads - not found -- [QtBase] Looking for pthread_create in pthread -- [QtBase] Looking for pthread_create in pthread - not found -- [QtBase] Found Threads: TRUE -- [QtBase] Could NOT find OpenSSL, try to set the path to OpenSSL root folder in the system variable OPENSSL_ROOT_DIR (missing: OPENSSL_CRYPTO_LIBRARY OPENSSL_INCLUDE_DIR) -- [QtBase] Could NOT find WrapOpenSSLHeaders (missing: OPENSSL_INCLUDE_DIR) -- [QtBase] Performing Test opensslv11_headers - Failed because WrapOpenSSLHeaders::WrapOpenSSLHeaders not found -- [QtBase] Could NOT find OpenSSL, try to set the path to OpenSSL root folder in the system variable OPENSSL_ROOT_DIR (missing: OPENSSL_CRYPTO_LIBRARY OPENSSL_INCLUDE_DIR) -- [QtBase] Could NOT find WrapOpenSSLHeaders (missing: OPENSSL_INCLUDE_DIR) -- [QtBase] Could NOT find WrapOpenSSL (missing: OPENSSL_CRYPTO_LIBRARY OPENSSL_INCLUDE_DIR) -- [QtBase] Performing Test opensslv11 - Failed because WrapOpenSSL::WrapOpenSSL not found -- [QtBase] Performing Test opensslv30_headers - Failed because WrapOpenSSLHeaders::WrapOpenSSLHeaders not found -- [QtBase] Performing Test opensslv30 - Failed because WrapOpenSSL::WrapOpenSSL not found -- [QtBase] Could NOT find WrapZSTD (missing: ZSTD_LIBRARIES ZSTD_INCLUDE_DIRS) (Required is at least version "1.3") -- [QtBase] Could NOT find WrapDBus1 (missing: DBus1_LIBRARY DBus1_INCLUDE_DIR WrapDBus1_FOUND) (Required is at least version "1.2") -- [QtBase] Could NOT find LTTngUST (missing: LTTNGUST_LIBRARIES LTTNGUST_INCLUDE_DIRS) -- [QtBase] Performing Test TEST_use_bfd_linker -- [QtBase] Performing Test TEST_use_bfd_linker - Success -- [QtBase] Performing Test TEST_use_gold_linker -- [QtBase] Performing Test TEST_use_gold_linker - Success -- [QtBase] Performing Test TEST_use_lld_linker -- [QtBase] Performing Test TEST_use_lld_linker - Success -- [QtBase] Performing Test TEST_use_mold_linker -- [QtBase] Performing Test TEST_use_mold_linker - Success -- [QtBase] Performing Test HAVE_cxx20 -- [QtBase] Performing Test HAVE_cxx20 - Success -- [QtBase] Performing Test HAVE_cxx2b -- [QtBase] Performing Test HAVE_cxx2b - Success -- [QtBase] Performing Test precompiled header support -- [QtBase] Performing Test precompiled header support - Success -- [QtBase] Performing Test TEST_optimize_debug -- [QtBase] Performing Test TEST_optimize_debug - Failed -- [QtBase] Performing Test -mno-direct-extern-access / -fno-direct-access-external-data support -- [QtBase] Performing Test -mno-direct-extern-access / -fno-direct-access-external-data support - Failed -- [QtBase] Performing Test TEST_enable_new_dtags -- [QtBase] Performing Test TEST_enable_new_dtags - Success -- [QtBase] Performing Test TEST_gdb_index -- [QtBase] Performing Test TEST_gdb_index - Success -- [QtBase] Performing Test HAVE_reduce_relocations -- [QtBase] Performing Test HAVE_reduce_relocations - Failed -- [QtBase] Performing Test HAVE_signaling_nan -- [QtBase] Performing Test HAVE_signaling_nan - Success -- [QtBase] Performing Test Basic x86 intrinsics -- [QtBase] Performing Test Basic x86 intrinsics - Success -- [QtBase] Performing Test AVX512VBMI2 intrinsics -- [QtBase] Performing Test AVX512VBMI2 intrinsics - Success -- [QtBase] Performing Test VAES intrinsics -- [QtBase] Performing Test VAES intrinsics - Success -- [QtBase] Performing Test HAVE_posix_fallocate -- [QtBase] Performing Test HAVE_posix_fallocate - Failed -- [QtBase] Performing Test HAVE_alloca_stdlib_h -- [QtBase] Performing Test HAVE_alloca_stdlib_h - Failed -- [QtBase] Performing Test HAVE_alloca_h -- [QtBase] Performing Test HAVE_alloca_h - Failed -- [QtBase] Performing Test HAVE_alloca_malloc_h -- [QtBase] Performing Test HAVE_alloca_malloc_h - Success -- [QtBase] Performing Test HAVE_stack_protector -- [QtBase] Performing Test HAVE_stack_protector - Success -- [QtBase] Performing Test HAVE_intelcet -- [QtBase] Performing Test HAVE_intelcet - Failed -- [QtBase] Could NOT find WrapSystemDoubleConversion (missing: DOUBLE_CONVERSION_LIBRARY DOUBLE_CONVERSION_INCLUDE_DIR __double_conversion_found) -- [QtBase] Could NOT find GLIB2 (missing: GLIB2_LIBRARIES GTHREAD2_LIBRARIES GLIB2_INCLUDE_DIRS) -- [QtBase] Found the following ICU libraries: -- [QtBase] i18n (required): C:/Program Files (x86)/Windows Kits/10/Lib/10.0.22621.0/um/x86/icuin.Lib -- [QtBase] uc (required): C:/Program Files (x86)/Windows Kits/10/Lib/10.0.22621.0/um/x86/icuuc.lib -- [QtBase] The following ICU libraries were not found: -- [QtBase] data (required) -- [QtBase] Failed to find all ICU components (missing: ICU_INCLUDE_DIR _ICU_REQUIRED_LIBS_FOUND) (Required is at least version "50.1") -- [QtBase] Performing Test HAVE_STDATOMIC -- [QtBase] Performing Test HAVE_STDATOMIC - Success -- [QtBase] Found WrapAtomic: TRUE -- [QtBase] Could NOT find Libb2 (missing: LIBB2_LIBRARY LIBB2_INCLUDE_DIR) -- [QtBase] Performing Test HAVE_GETTIME -- [QtBase] Performing Test HAVE_GETTIME - Failed -- [QtBase] Performing Test HAVE_SHM_OPEN_SHM_UNLINK -- [QtBase] Performing Test HAVE_SHM_OPEN_SHM_UNLINK - Failed -- [QtBase] Could NOT find WrapRt (missing: WrapRt_FOUND) -- [QtBase] Could NOT find WrapSystemPCRE2 (missing: PCRE2_LIBRARIES PCRE2_INCLUDE_DIRS __pcre2_found) (Required is at least version "10.20") -- [QtBase] Could NOT find Slog2 (missing: Slog2_INCLUDE_DIR Slog2_LIBRARY) -- [QtBase] Performing Test HAVE_atomicfptr -- [QtBase] Performing Test HAVE_atomicfptr - Success -- [QtBase] Performing Test POSIX monotonic clock - Failed because WrapRt::WrapRt not found -- [QtBase] Performing Test HAVE_close_range -- [QtBase] Performing Test HAVE_close_range - Failed -- [QtBase] Performing Test HAVE_cloexec -- [QtBase] Performing Test HAVE_cloexec - Failed -- [QtBase] Performing Test HAVE_cxx17_filesystem -- [QtBase] Performing Test HAVE_cxx17_filesystem - Success -- [QtBase] Performing Test HAVE_dladdr -- [QtBase] Performing Test HAVE_dladdr - Failed -- [QtBase] Performing Test HAVE_futimens -- [QtBase] Performing Test HAVE_futimens - Failed -- [QtBase] Performing Test HAVE_getauxval -- [QtBase] Performing Test HAVE_getauxval - Failed -- [QtBase] Performing Test HAVE_getentropy -- [QtBase] Performing Test HAVE_getentropy - Failed -- [QtBase] Performing Test HAVE_inotify -- [QtBase] Performing Test HAVE_inotify - Failed -- [QtBase] Performing Test HAVE_sysv_shm -- [QtBase] Performing Test HAVE_sysv_shm - Failed -- [QtBase] Performing Test HAVE_sysv_sem -- [QtBase] Performing Test HAVE_sysv_sem - Failed -- [QtBase] Performing Test HAVE_posix_shm -- [QtBase] Performing Test HAVE_posix_shm - Failed -- [QtBase] Performing Test HAVE_posix_sem -- [QtBase] Performing Test HAVE_posix_sem - Failed -- [QtBase] Performing Test HAVE_linkat -- [QtBase] Performing Test HAVE_linkat - Failed -- [QtBase] Performing Test HAVE_ppoll -- [QtBase] Performing Test HAVE_ppoll - Failed -- [QtBase] Performing Test HAVE_pollts -- [QtBase] Performing Test HAVE_pollts - Failed -- [QtBase] Performing Test HAVE_poll -- [QtBase] Performing Test HAVE_poll - Failed -- [QtBase] Performing Test HAVE_renameat2 -- [QtBase] Performing Test HAVE_renameat2 - Failed -- [QtBase] Performing Test HAVE_cpp_winrt -- [QtBase] Performing Test HAVE_cpp_winrt - Success -- [QtBase] Performing Test HAVE_cxx_std_async_noncopyable -- [QtBase] Performing Test HAVE_cxx_std_async_noncopyable - Success -- [QtBase] Could NOT find WrapBrotli (missing: BrotliDec_FOUND BrotliEnc_FOUND BrotliCommon_FOUND) -- [QtBase] Could NOT find GSSAPI (missing: GSSAPI_LIBRARIES GSSAPI_INCLUDE_DIRS) -- [QtBase] Could NOT find GLIB2 (missing: GLIB2_LIBRARIES GTHREAD2_LIBRARIES GLIB2_INCLUDE_DIRS) -- [QtBase] Could NOT find GLIB2 (missing: GLIB2_LIBRARIES GTHREAD2_LIBRARIES GLIB2_INCLUDE_DIRS) -- [QtBase] Performing Test HAVE_LIBRESOLV_FUNCTIONS -- [QtBase] Performing Test HAVE_LIBRESOLV_FUNCTIONS - Failed -- [QtBase] Could NOT find WrapResolv (missing: WrapResolv_FOUND) -- [QtBase] Performing Test HAVE_getifaddrs -- [QtBase] Performing Test HAVE_getifaddrs - Failed -- [QtBase] Performing Test HAVE_ipv6ifname -- [QtBase] Performing Test HAVE_ipv6ifname - Failed -- [QtBase] Performing Test HAVE_linux_netlink -- [QtBase] Performing Test HAVE_linux_netlink - Failed -- [QtBase] Performing Test res_setservers() - Failed because WrapResolv::WrapResolv not found -- [QtBase] Performing Test HAVE_sctp -- [QtBase] Performing Test HAVE_sctp - Failed -- [QtBase] Performing Test DTLS support in OpenSSL - Failed because WrapOpenSSLHeaders::WrapOpenSSLHeaders not found -- [QtBase] Performing Test OCSP stapling support in OpenSSL - Failed because WrapOpenSSLHeaders::WrapOpenSSLHeaders not found -- [QtBase] Performing Test HAVE_networklistmanager -- [QtBase] Performing Test HAVE_networklistmanager - Success -- [QtBase] FindLibdrm.cmake cannot find libdrm on Windows systems. -- [QtBase] Performing Test HAVE_EGL -- [QtBase] Performing Test HAVE_EGL - Failed -- [QtBase] Could NOT find EGL (missing: EGL_INCLUDE_DIR HAVE_EGL EGL_LIBRARY) -- [QtBase] Could NOT find WrapSystemFreetype (missing: __freetype_found) (Required is at least version "2.2.0") -- [QtBase] Could NOT find Fontconfig (missing: Fontconfig_LIBRARY Fontconfig_INCLUDE_DIR) -- [QtBase] Findgbm.cmake cannot find gbm on Windows systems. -- [QtBase] Could NOT find WrapSystemHarfbuzz (missing: __harfbuzz_found) (Required is at least version "2.6.0") -- [QtBase] FindLibinput.cmake cannot find libinput on Windows systems. -- [QtBase] Could NOT find WrapSystemJpeg (missing: __jpeg_found) -- [QtBase] Could NOT find WrapSystemMd4c (missing: __md4c_found) -- [QtBase] Could NOT find WrapSystemPNG (missing: __png_found) -- [QtBase] Found OpenGL: opengl32 -- [QtBase] Found WrapOpenGL: TRUE -- [QtBase] Could NOT find EGL (missing: EGL_INCLUDE_DIR HAVE_EGL EGL_LIBRARY) -- [QtBase] Performing Test HAVE_GLESv2 -- [QtBase] Performing Test HAVE_GLESv2 - Failed -- [QtBase] Could NOT find GLESv2 (missing: GLESv2_INCLUDE_DIR GLESv2_LIBRARY HAVE_GLESv2 HAVE_GLESv2) -- [QtBase] Could NOT find WrapVulkanHeaders (missing: Vulkan_INCLUDE_DIR) -- [QtBase] Could NOT find RenderDoc (missing: RenderDoc_INCLUDE_DIR) -- [QtBase] Performing Test DRM Atomic API - Failed because Libdrm::Libdrm not found -- [QtBase] Performing Test EGL on X11 - Failed because EGL::EGL not found -- [QtBase] Performing Test Broadcom EGL (Raspberry Pi) - Failed because EGL::EGL not found -- [QtBase] Performing Test EGLDevice - Failed because EGL::EGL not found -- [QtBase] Performing Test Mali EGL - Failed because EGL::EGL not found -- [QtBase] Performing Test Mali 2 EGL - Failed because EGL::EGL not found -- [QtBase] Performing Test i.Mx6 EGL - Failed because EGL::EGL not found -- [QtBase] Performing Test OpenWFD EGL - Failed because EGL::EGL not found -- [QtBase] Performing Test RCAR EGL - Failed because EGL::EGL not found -- [QtBase] Performing Test HAVE_evdev -- [QtBase] Performing Test HAVE_evdev - Failed -- [QtBase] Performing Test HAVE_integrityfb -- [QtBase] Performing Test HAVE_integrityfb - Failed -- [QtBase] Performing Test HAVE_linuxfb -- [QtBase] Performing Test HAVE_linuxfb - Failed -- [QtBase] Performing Test OpenGL ES 3.0 - Failed because GLESv2::GLESv2 not found -- [QtBase] Performing Test OpenGL ES 3.1 - Failed because GLESv2::GLESv2 not found -- [QtBase] Performing Test OpenGL ES 3.2 - Failed because GLESv2::GLESv2 not found -- [QtBase] Performing Test XCB (extensions) - Failed because XCB::CURSOR not found -- [QtBase] Performing Test libinput hires wheel support - Failed because Libinput::Libinput not found -- [QtBase] Performing Test HAVE_directwrite -- [QtBase] Performing Test HAVE_directwrite - Success -- [QtBase] Performing Test HAVE_directwrite3 -- [QtBase] Performing Test HAVE_directwrite3 - Success -- [QtBase] Performing Test HAVE_d2d1 -- [QtBase] Performing Test HAVE_d2d1 - Success -- [QtBase] Performing Test HAVE_d2d1_1 -- [QtBase] Performing Test HAVE_d2d1_1 - Success -- [QtBase] Performing Test RenderDoc header check - Failed because RenderDoc::RenderDoc not found -- [QtBase] Tool 'Qt6::syncqt' will be built from source. -- [QtBase] Tool 'Qt6::moc' will be built from source. -- [QtBase] Tool 'Qt6::rcc' will be built from source. -- [QtBase] Tool 'Qt6::tracepointgen' will be built from source. -- [QtBase] Tool 'Qt6::tracegen' will be built from source. -- [QtBase] Tool 'Qt6::cmake_automoc_parser' will be built from source. -- [QtBase] Using Qt bundled PCRE2. -- [QtBase] Found WrapPCRE2: TRUE -- [QtBase] Using Qt bundled ZLIB. -- [QtBase] Found WrapZLIB: TRUE -- [QtBase] Could NOT find WrapSystemDoubleConversion (missing: DOUBLE_CONVERSION_LIBRARY DOUBLE_CONVERSION_INCLUDE_DIR __double_conversion_found) -- [QtBase] Could NOT find GLIB2 (missing: GLIB2_LIBRARIES GTHREAD2_LIBRARIES GLIB2_INCLUDE_DIRS) -- [QtBase] Found the following ICU libraries: -- [QtBase] i18n (required): C:/Program Files (x86)/Windows Kits/10/Lib/10.0.22621.0/um/x86/icuin.Lib -- [QtBase] uc (required): C:/Program Files (x86)/Windows Kits/10/Lib/10.0.22621.0/um/x86/icuuc.lib -- [QtBase] The following ICU libraries were not found: -- [QtBase] data (required) -- [QtBase] Failed to find all ICU components (missing: ICU_INCLUDE_DIR _ICU_REQUIRED_LIBS_FOUND) (Required is at least version "50.1") -- [QtBase] Could NOT find Libb2 (missing: LIBB2_LIBRARY LIBB2_INCLUDE_DIR) -- [QtBase] Could NOT find WrapRt (missing: WrapRt_FOUND) -- [QtBase] Could NOT find WrapSystemPCRE2 (missing: PCRE2_LIBRARIES PCRE2_INCLUDE_DIRS __pcre2_found) (Required is at least version "10.20") -- [QtBase] Could NOT find Slog2 (missing: Slog2_INCLUDE_DIR Slog2_LIBRARY) -- [QtBase] Could NOT find WrapBrotli (missing: BrotliDec_FOUND BrotliEnc_FOUND BrotliCommon_FOUND) -- [QtBase] Could NOT find GSSAPI (missing: GSSAPI_LIBRARIES GSSAPI_INCLUDE_DIRS) -- [QtBase] Could NOT find GLIB2 (missing: GLIB2_LIBRARIES GTHREAD2_LIBRARIES GLIB2_INCLUDE_DIRS) -- [QtBase] Could NOT find GLIB2 (missing: GLIB2_LIBRARIES GTHREAD2_LIBRARIES GLIB2_INCLUDE_DIRS) -- [QtBase] Could NOT find WrapResolv (missing: WrapResolv_FOUND) -- [QtBase] Tool 'Qt6::uic' will be built from source. -- [QtBase] Tool 'Qt6::qdbuscpp2xml' will be built from source. -- [QtBase] Tool 'Qt6::qdbusxml2cpp' will be built from source. -- [QtBase] Tool 'Qt6::qlalr' will be built from source. -- [QtBase] Tool 'Qt6::qvkgen' will be built from source. -- [QtBase] Tool 'Qt6::qtpaths' will be built from source. -- [QtBase] Tool 'Qt6::androiddeployqt' will be built from source. -- [QtBase] Tool 'Qt6::androidtestrunner' will be built from source. -- [QtBase] Tool 'Qt6::windeployqt' will be built from source. -- [QtBase] Could NOT find X11_XCB (missing: X11_XCB_LIBRARY X11_XCB_INCLUDE_DIR) -- [QtBase] Using Qt bundled Harfbuzz. -- [QtBase] Found WrapHarfbuzz: TRUE -- [QtBase] Using Qt bundled PNG. -- [QtBase] Found WrapPNG: TRUE -- [QtBase] Using Qt bundled Freetype. -- [QtBase] Found WrapFreetype: TRUE -- [QtBase] FindLibdrm.cmake cannot find libdrm on Windows systems. -- [QtBase] Could NOT find EGL (missing: EGL_INCLUDE_DIR HAVE_EGL EGL_LIBRARY) -- [QtBase] Could NOT find WrapSystemFreetype (missing: __freetype_found) (Required is at least version "2.2.0") -- [QtBase] Could NOT find Fontconfig (missing: Fontconfig_LIBRARY Fontconfig_INCLUDE_DIR) -- [QtBase] Findgbm.cmake cannot find gbm on Windows systems. -- [QtBase] Could NOT find WrapSystemHarfbuzz (missing: __harfbuzz_found) (Required is at least version "2.6.0") -- [QtBase] FindLibinput.cmake cannot find libinput on Windows systems. -- [QtBase] Could NOT find WrapSystemJpeg (missing: __jpeg_found) -- [QtBase] Could NOT find WrapSystemMd4c (missing: __md4c_found) -- [QtBase] Could NOT find WrapSystemPNG (missing: __png_found) -- [QtBase] Could NOT find EGL (missing: EGL_INCLUDE_DIR HAVE_EGL EGL_LIBRARY) -- [QtBase] Could NOT find GLESv2 (missing: GLESv2_INCLUDE_DIR GLESv2_LIBRARY HAVE_GLESv2 HAVE_GLESv2) -- [QtBase] Could NOT find WrapVulkanHeaders (missing: Vulkan_INCLUDE_DIR) -- [QtBase] Could NOT find RenderDoc (missing: RenderDoc_INCLUDE_DIR) -- [QtBase] Could NOT find Cups (missing: CUPS_LIBRARIES CUPS_INCLUDE_DIR) -- [QtBase] CMAKE_BUILD_TYPE was already explicitly set to: 'Release' -- [QtBase] Could NOT find DB2 (missing: DB2_INCLUDE_DIR DB2_LIBRARY) -- [QtBase] Could NOT find MySQL (missing: MySQL_LIBRARY MySQL_INCLUDE_DIR) -- [QtBase] Could NOT find PostgreSQL (missing: PostgreSQL_LIBRARY PostgreSQL_INCLUDE_DIR) -- [QtBase] Could NOT find Oracle (missing: Oracle_LIBRARY Oracle_INCLUDE_DIR) -- [QtBase] Found ODBC: odbc32.lib -- [QtBase] Could NOT find SQLite3 (missing: SQLite3_INCLUDE_DIR SQLite3_LIBRARY) -- [QtBase] Could NOT find Interbase (missing: Interbase_LIBRARY Interbase_INCLUDE_DIR) -- [QtBase] Could NOT find Mimer (missing: Mimer_LIBRARIES Mimer_INCLUDE_DIR) CMake Error at C:/Temp/test/_deps/qt6-src/qtbase/cmake/QtPluginHelpers.cmake:539 (message): The plug-in 'QODBCDriverPlugin' does not belong to any Qt module. Call Stack (most recent call first): C:/Temp/test/_deps/qt6-src/qtbase/cmake/QtPluginHelpers.cmake:198 (qt_internal_get_module_for_plugin) C:/Temp/test/_deps/qt6-src/qtbase/src/plugins/sqldrivers/odbc/CMakeLists.txt:10 (qt_internal_add_plugin) -- Configuring incomplete, errors occurred!
The use case is that we would like to provide our customers with some simple examples of how to use our libraries. However, these examples should not have any external dependencies other than those they can obtain themselves during the build.
Attachments
Gerrit Reviews
For Gerrit Dashboard: QTBUG-127953 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
582520,4 | Check the PROJECT_NAME when attempt to build sql drivers | dev | qt/qtbase | Status: MERGED | +2 | +1 |
584001,2 | Check the PROJECT_NAME when attempt to build sql drivers | 6.8 | qt/qtbase | Status: MERGED | +2 | 0 |