Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
6.8.1
-
-
df3095322 (dev), d6816e410 (6.8)
Description
SQL drivers cannot be configured due to an SBOM error. The command works fine with version 6.8.0.
C:\dev\builddrivers>C:\Qt\6.8.1\msvc2022_64\bin\qt-cmake.bat -G Ninja C:\Qt\6.8.1\Src\qtbase\src\plugins\sqldrivers -DMySQL_INCLUDE_DIR="C:\Program Files\MySQL\MySQL Server 8.0\include" -DMySQL_LIBRARY="C:\Program Files\MySQL\MySQL Server 8.0\lib\libmysql.lib" -DCMAKE_INSTALL_PREFIX="C:\Qt\6.8.1\msvc2022_64"
– The CXX compiler identification is MSVC 19.38.33141.0
– The C compiler identification is MSVC 19.38.33141.0
– The ASM compiler identification is MSVC
– Found assembler: C:/Program Files/Microsoft Visual Studio/2022/Professional/VC/Tools/MSVC/14.38.33130/bin/Hostx64/x64/cl.exe
– 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.38.33130/bin/Hostx64/x64/cl.exe - skipped
– Detecting CXX compile features
– Detecting CXX compile features - done
– 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.38.33130/bin/Hostx64/x64/cl.exe - skipped
– Detecting C compile features
– Detecting C compile features - done
– Performing Test CMAKE_HAVE_LIBC_PTHREAD
– Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
– Looking for pthread_create in pthreads
– Looking for pthread_create in pthreads - not found
– Looking for pthread_create in pthread
– Looking for pthread_create in pthread - not found
– Found Threads: TRUE
– Performing Test HAVE_STDATOMIC
– Performing Test HAVE_STDATOMIC - Success
– Found WrapAtomic: TRUE
– Setting build type to 'Release' as none was specified.
CMake Error at C:/Qt/6.8.1/msvc2022_64/lib/cmake/Qt6/QtPublicSbomHelpers.cmake:2552 (message):
No SBOM project name was set.
Call Stack (most recent call first):
C:/Qt/6.8.1/msvc2022_64/lib/cmake/Qt6/QtPublicSbomHelpers.cmake:2542 (_qt_internal_sbom_get_root_project_name_lower_case)
C:/Qt/6.8.1/msvc2022_64/lib/cmake/Qt6/QtPublicSbomHelpers.cmake:2636 (_qt_internal_sbom_get_root_project_name_for_spdx_id)
C:/Qt/6.8.1/msvc2022_64/lib/cmake/Qt6/QtPublicSbomHelpers.cmake:2603 (_qt_internal_sbom_generate_target_package_spdx_id)
C:/Qt/6.8.1/msvc2022_64/lib/cmake/Qt6/QtPublicSbomHelpers.cmake:1926 (_qt_internal_sbom_record_target_spdx_id)
C:/Qt/6.8.1/msvc2022_64/lib/cmake/Qt6/QtPluginHelpers.cmake:446 (_qt_internal_extend_sbom)
mysql/CMakeLists.txt:8 (qt_internal_add_plugin)
– Configuring incomplete, errors occurred!
Attachments
Issue Links
- is duplicated by
-
QTBUG-132495 Build mysql plugin error shows no SBOM project name was set
- Closed
-
QTBUG-131797 Configuring SQL driver with CMake fails
- Closed