Could not find a package configuration file provided by "Qt6HostInfo" at cross-compile
-
wrote on 17 Jun 2022, 08:33 last edited by
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. -
wrote on 17 Jun 2022, 10:18 last edited by
Ok, I'm force
Qt6HostInfo_DIR=/usr/lib/x86_64-linux-gnu/cmake/ Qt6HostInfo
via cmake parametrs, look like this is solve issue. -
wrote on 9 Sept 2022, 10:56 last edited by
May I ask what is the specific command, I also encountered this problem, and still can't solve it.
-
wrote 22 days ago last edited by
Could not find a package configuration file provided by "Qt6HostInfo" with
any of the following names: