Cross Compile Qt6.8.3 for Arduino portenta X8
-
Hello Every one!
kernel version of Yocto : 6.6.52
I created an environment for the Arduino Portenta X8, with the following local.conf.
//----------------------------------------------------------------------
MAGE_INSTALL:append = " qtbase qtdeclarative qtwayland qtserialport qtmqtt qtwebsockets qtmultimedia qtsvg qtshaderto ols qtcharts qttools qtbase-tools "
TOOLCHAIN_HOST_TASK:append = " nativesdk-qtbase-tools nativesdk-cmake nativesdk-ninja "
TOOLCHAIN_TARGET_TASK:append = " qtbase-dev qtdeclarative-dev qttools-dev qtwayland-dev qtmqtt-dev qtserialport-dev qt connectivity-dev "
//-------------------------------------------------------------------------
After the build process, qmake references the host library path instead of the target path. The output is shown below.

In the STM32MP2 case, qmake correctly references the target path. The output is shown below.

How can I fix this problem?
I will be grateful for any help you can provide.