Could not find a package configuration file provided by "Qt6HostInfo" at cross-compile
Solved
Qt 6
-
Hello!
According to new cross-compile rules we are should have prebuilded host tools, I was make this, but this is require additional time. Some time ago Qt-6.2.4 was added to Debian repo named bullseye-backports. May this is allow safe my time? I was install qmake6 and other packages and turn off compile Qt for host before cross-compile. Unfortunately I was stop at qtbase configure................ -- CMAKE_BUILD_TYPE was set to: 'RelWithDebInfo' CMake Error at cmake/QtSetup.cmake:229 (find_package): Could not find a package configuration file provided by "Qt6HostInfo" with any of the following names: Qt6HostInfoConfig.cmake qt6hostinfo-config.cmake Add the installation prefix of "Qt6HostInfo" to CMAKE_PREFIX_PATH or set "Qt6HostInfo_DIR" to a directory containing one of the above files. If "Qt6HostInfo" provides a separate development package or SDK, be sure it has been installed. Call Stack (most recent call first): cmake/QtBuildInternals/QtBuildInternalsConfig.cmake:229 (include) cmake/QtBuildInternals/QtBuildInternalsConfig.cmake:372 (qt_build_internals_set_up_private_api) CMakeLists.txt:109 (qt_build_repo_begin) -- Configuring incomplete, errors occurred! .............
Why? Can I use external prebuilded Qt for cross-compile?
Thank you.