Failed to build Qt 6.1.2 from source.
Unsolved
Qt 6
-
Failed to build Qt 6.1.2 from source.
My ENV:➜ ~ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 20.04.2 LTS Release: 20.04 Codename: focal ➜ ~ gcc --version gcc (GCC) 10.3.1 20210627 Copyright (C) 2020 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Error messages:
...... Configuring 'qt3d' Could NOT find Qt6Gamepad (missing: Qt6Gamepad_DIR) Using source syncqt found at: ....../qt-everywhere-src-6.1.2/qtbase/libexec/syncqt.pl Running syncqt for module: 'Qt3DCore' CMake Warning (dev) at /usr/lib/x86_64-linux-gnu/cmake/assimp-5.0/assimpTargets.cmake:54 (if): if given arguments: "ON" An argument named "ON" appears in a conditional statement. Policy CMP0012 is not set: if() recognizes numbers and boolean constants. Run "cmake --help-policy CMP0012" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Call Stack (most recent call first): /usr/lib/x86_64-linux-gnu/cmake/assimp-5.0/assimp-config.cmake:1 (include) qt3d/cmake/FindWrapQt3DAssimp.cmake:8 (find_package) qtbase/cmake/QtFindPackageHelpers.cmake:113 (find_package) qt3d/src/core/configure.cmake:13 (qt_find_package) qtbase/cmake/QtModuleHelpers.cmake:415 (include) qt3d/src/core/CMakeLists.txt:7 (qt_internal_add_module) This warning is for project developers. Use -Wno-dev to suppress it. Performing Test CMake Warning (dev) at /usr/lib/x86_64-linux-gnu/cmake/assimp-5.0/assimpTargets.cmake:54 (if): if given arguments: "ON" An argument named "ON" appears in a conditional statement. Policy CMP0012 is not set: if() recognizes numbers and boolean constants. Run "cmake --help-policy CMP0012" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Call Stack (most recent call first): /usr/lib/x86_64-linux-gnu/cmake/assimp-5.0/assimp-config.cmake:1 (include) ....../qt-everywhere-src-6.1.2/qt3d/cmake/FindWrapQt3DAssimp.cmake:8 (find_package) ....../qt-everywhere-src-6.1.2/qt3d/config.tests/assimp/CMakeLists.txt:7 (find_package) This warning is for project developers. Use -Wno-dev to suppress it. CMake Error in ....../qt-everywhere-src-6.1.2/qt3d/config.tests/assimp/CMakeLists.txt: Imported target "WrapQt3DAssimp::WrapQt3DAssimp" includes non-existent path "/usr/lib/include" in its INTERFACE_INCLUDE_DIRECTORIES. Possible reasons include: * The path was deleted, renamed, or moved to another location. * An install or uninstall procedure did not complete successfully. * The installation package was faulty and references files it does not provide. CMake Error in ....../qt-everywhere-src-6.1.2/qt3d/config.tests/assimp/CMakeLists.txt: Imported target "WrapQt3DAssimp::WrapQt3DAssimp" includes non-existent path "/usr/lib/include" in its INTERFACE_INCLUDE_DIRECTORIES. Possible reasons include: * The path was deleted, renamed, or moved to another location. * An install or uninstall procedure did not complete successfully. * The installation package was faulty and references files it does not provide. CMake Error at qtbase/cmake/QtFeature.cmake:802 (try_compile): Failed to generate test project build system. Call Stack (most recent call first): qt3d/src/core/configure.cmake:15 (qt_config_compile_test) qtbase/cmake/QtModuleHelpers.cmake:415 (include) qt3d/src/core/CMakeLists.txt:7 (qt_internal_add_module) Configuring incomplete, errors occurred! See also "....../qt-everywhere-src-6.1.2/build/CMakeFiles/CMakeOutput.log". See also "....../qt-everywhere-src-6.1.2/build/CMakeFiles/CMakeError.log".