Details
-
Bug
-
Resolution: Done
-
P2: Important
-
6.2.0 Beta2
-
fde4104fde034e7bb611cd8d83fc11af880ef775 (qt/qtserialbus/dev) 32b6ec08d8aee95fb3f51aa3023960cc5a092e76 (qt/qtserialbus/6.2)
Description
Have Qt6.2.0 gcc binaries installed, configure one of the examples in serialbus, for example the serialbus/can. Configure fails:
$export CMAKE_PREFIX_PATH=/home/johanna/RTA/qt5/6.2.0/gcc_64/lib/cmake/ $cmake CMakeLists.txt -- Looking for C++ include pthread.h -- Looking for C++ include pthread.h - found -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed -- Check if compiler accepts -pthread -- Check if compiler accepts -pthread - yes -- Found Threads: TRUE -- Check if linker can resolve circular dependencies - FALSE -- Performing Test HAVE_STDATOMIC -- Performing Test HAVE_STDATOMIC - Success -- Found WrapAtomic: TRUE -- Found OpenGL: /usr/lib/x86_64-linux-gnu/libOpenGL.so -- Found WrapOpenGL: TRUE -- Could NOT find WrapVulkanHeaders (missing: Vulkan_INCLUDE_DIR) -- Found XKB: /usr/lib/x86_64-linux-gnu/libxkbcommon.so (found suitable version "0.10.0", minimum required is "0.5.0") -- Configuring done CMake Error at /home/johanna/RTA/qt5/6.2.0/gcc_64/lib/cmake/Qt6Core/Qt6CoreMacros.cmake:523 (add_executable): Target "can" links to target "WrapVulkanHeaders::WrapVulkanHeaders" but the target was not found. Perhaps a find_package() call is missing for an IMPORTED target, or an ALIAS target is missing? Call Stack (most recent call first): /home/johanna/RTA/qt5/6.2.0/gcc_64/lib/cmake/Qt6Core/Qt6CoreMacros.cmake:488 (_qt_internal_create_executable) /home/johanna/RTA/qt5/6.2.0/gcc_64/lib/cmake/Qt6Core/Qt6CoreMacros.cmake:754 (qt6_add_executable) CMakeLists.txt:21 (qt_add_executable) CMake Error at /home/johanna/RTA/qt5/6.2.0/gcc_64/lib/cmake/Qt6Core/Qt6CoreMacros.cmake:523 (add_executable): Target "can" links to target "Qt::Network" but the target was not found. Perhaps a find_package() call is missing for an IMPORTED target, or an ALIAS target is missing? Call Stack (most recent call first): /home/johanna/RTA/qt5/6.2.0/gcc_64/lib/cmake/Qt6Core/Qt6CoreMacros.cmake:488 (_qt_internal_create_executable) /home/johanna/RTA/qt5/6.2.0/gcc_64/lib/cmake/Qt6Core/Qt6CoreMacros.cmake:754 (qt6_add_executable) CMakeLists.txt:21 (qt_add_executable) -- Generating done CMake Generate step failed. Build files cannot be regenerated correctly.
Attachments
Issue Links
- relates to
-
QTBUG-95391 [REG] WrapVulkanHeaders::WrapVulkanHeaders not found on system without Vulkan development package
- Closed