Re: Bug#1010049: qt6-base-dev: should provide a QT_HOST_PATH directory for cross building
Hi,
On Sat, Apr 23, 2022 at 09:38:54AM +0200, Helmut Grohne wrote:
> I expect that QT_HOST_PATH also needs to point to architecture-dependent
> files (e.g. libraries). Qt5 has faced as similar problem and thus added
Dmitry noted that none of Qt6's executables (possibly except for qmake)
are architecture-dependent and encouraged me to try
-DQT_HOST_PATH=/usr/lib/qt6. When you do that, you get the following
error:
| CMake Error at /usr/lib/aarch64-linux-gnu/cmake/Qt6/Qt6Config.cmake:61 (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):
| CMakeLists.txt:16 (find_package)
|
|
| -- Configuring incomplete, errors occurred!
So no, that's not the solution unfortunately. As far as I can see, this
file is architecture-dependent and since QT_HOST_PATH defines its
location, QT_HOST_PATH must be architecture-dependent as I expected.
Helmut
Reply to: