Details
-
Bug
-
Resolution: Fixed
-
P1: Critical
-
None
-
6.4.0 Beta2
-
Ubuntu20.04 x64
cmake version 3.21.1
Description
Install Qt 6.4.0 beta2 snapshot (gcc_64 binaries used in test) and compile e.g. the quick3dphysics/impeller:
/home/qt/RTA/Qt_6.4.0/6.4.0/gcc_64/bin/qt-cmake -S /home/qt/RTA/Qt_6.4.0/Examples/Qt-6.4.0/quick3dphysics/impeller -B /home/qt/RTA/Qt_6.4.0/Examples/Qt-6.4.0/quick3dphysics/impeller/bld_gcc_64 -GNinja
Fails:
-- The CXX compiler identification is GNU 9.4.0 -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- 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 -- 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 -- Found XKB: /usr/lib/x86_64-linux-gnu/libxkbcommon.so (found suitable version "0.10.0", minimum required is "0.5.0") -- Could NOT find WrapVulkanHeaders (missing: Vulkan_INCLUDE_DIR) -- Could NOT find WrapVulkanHeaders (missing: Vulkan_INCLUDE_DIR) -- Could NOT find Qt6Quick3D (missing: Qt6Quick3D_DIR) CMake Warning at CMakeLists.txt:19 (find_package): Found package configuration file: /home/johanna/RTA/Qt_6.4.0/6.4.0/gcc_64/lib/cmake/Qt6/Qt6Config.cmake but it set Qt6_FOUND to FALSE so package "Qt6" is considered to be NOT FOUND. Reason given by package: Failed to find Qt component "Quick3D". Expected Config file at "/home/johanna/RTA/Qt_6.4.0/6.4.0/gcc_64/lib/cmake/Qt6Quick3D/Qt6Quick3DConfig.cmake" does NOT exist -- Could NOT find Qt6Quick3D (missing: Qt6Quick3D_DIR) CMake Warning at /home/johanna/RTA/Qt_6.4.0/6.4.0/gcc_64/lib/cmake/Qt6/Qt6Config.cmake:214 (find_package): Found package configuration file: /home/johanna/RTA/Qt_6.4.0/6.4.0/gcc_64/lib/cmake/Qt6Quick3DPhysics/Qt6Quick3DPhysicsConfig.cmake but it set Qt6Quick3DPhysics_FOUND to FALSE so package "Qt6Quick3DPhysics" is considered to be NOT FOUND. Reason given by package: Qt6Quick3DPhysics could not be found because dependency Qt6Quick3D could not be found.Call Stack (most recent call first): CMakeLists.txt:20 (find_package) CMake Warning at CMakeLists.txt:20 (find_package): Found package configuration file: /home/johanna/RTA/Qt_6.4.0/6.4.0/gcc_64/lib/cmake/Qt6/Qt6Config.cmake but it set Qt6_FOUND to FALSE so package "Qt6" is considered to be NOT FOUND. Reason given by package: Failed to find Qt component "Quick3DPhysics". Expected Config file at "/home/johanna/RTA/Qt_6.4.0/6.4.0/gcc_64/lib/cmake/Qt6Quick3DPhysics/Qt6Quick3DPhysicsConfig.cmake" exists -- Configuring done CMake Error at /home/johanna/RTA/Qt_6.4.0/6.4.0/gcc_64/lib/cmake/Qt6Core/Qt6CoreMacros.cmake:586 (add_executable): Target "example_impeller" links to target "Qt::Quick3D" 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/Qt_6.4.0/6.4.0/gcc_64/lib/cmake/Qt6Core/Qt6CoreMacros.cmake:550 (_qt_internal_create_executable) /home/johanna/RTA/Qt_6.4.0/6.4.0/gcc_64/lib/cmake/Qt6Core/Qt6CoreMacros.cmake:1150 (qt6_add_executable) CMakeLists.txt:22 (qt_add_executable) CMake Error at /home/johanna/RTA/Qt_6.4.0/6.4.0/gcc_64/lib/cmake/Qt6Core/Qt6CoreMacros.cmake:586 (add_executable): Target "example_impeller" links to target "Qt::Quick3DPhysics" 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/Qt_6.4.0/6.4.0/gcc_64/lib/cmake/Qt6Core/Qt6CoreMacros.cmake:550 (_qt_internal_create_executable) /home/johanna/RTA/Qt_6.4.0/6.4.0/gcc_64/lib/cmake/Qt6Core/Qt6CoreMacros.cmake:1150 (qt6_add_executable) CMakeLists.txt:22 (qt_add_executable) -- Generating done CMake Generate step failed. Build files cannot be regenerated correctly.