Details
-
Bug
-
Resolution: Out of scope
-
P2: Important
-
None
-
6.4.2
-
None
-
Yocto build for the RPi 3, using meta-qt6, custom image and app
Description
Yocto build using meta-qt6 at tag 6.4.2 (commit eb74ffb0b0fd4e9573570a6138d207e201df49dd).
Image definition has:
inherit core-image features_check populate_sdk_qt6_base
Build the SDK, install it and use it to build a Qt6-based application using CMake. The result is:
[...]
– Detecting CXX compile features - done
CMake Error at /opt/rpi-ics/0.0/sysroots/cortexa53-poky-linux/usr/lib/cmake/Qt6/QtPublicDependencyHelpers.cmake:255 (message):
To use a cross-compiled Qt, please set the QT_HOST_PATH cache variable to
the location of your host Qt installation.
Call Stack (most recent call first):
/opt/rpi-ics/0.0/sysroots/cortexa53-poky-linux/usr/lib/cmake/Qt6/Qt6Dependencies.cmake:5 (_qt_internal_setup_qt_host_path)
/opt/rpi-ics/0.0/sysroots/cortexa53-poky-linux/usr/lib/cmake/Qt6/Qt6Config.cmake:122 (include)
CMakeLists.txt:55 (find_package)
I would expect not needing to set up this variable myself.