1.1 编译SDK 执行如下执指令编译带有Qt功能的SDK: bitbake st-example-image-qtwayland -c populate_sdk 中途如果报do_fetch失败的错误 STM32MPU-Ecosystem-v5.0.0/Distribution-Package/build-openstlinuxweston-stm32mp1$ bitbake st-example-image-qtwayland /tmp-glibc/deploy/sdk/st-example-image-qtwayland-openstlinux-weston-stm32mp1-x86_64-toolchain-4.2.1-snapshot.sh /tmp-glibc/deploy/sdk/st-example-image-qtwayland-openstlinux-weston-stm32mp1-x86_64-toolchain-4.2.1-snapshot.sh
source layers/meta-st/scripts/envsetup.sh # Build the image and the SDK: $ bitbake st-example-image-qtwayland $ bitbake st-example-image-qtwayland -c populate_sdk 本篇使用第2种方式,即: DISTRO=openstlinux-weston MACHINE =stm32mp1 source layers/meta-st/scripts/envsetup.sh bitbake st-example-image-qtwayland bitbake st-example-image-qtwayland 1.3 bitbake构建系统 执行第二句 bitbake st-example-image-qtwayland 可能会报以下错误: 注:截图中使用的bitbake st-image-weston指令 ,实际应该使用bitbake st-example-image-qtwayland. 1.3.1 URL问题解决 上述的URL问题,在local.conf中增加以下内容,三选一,可自己按理解修改,个人使用跳过检查连接
-skip qtmultimedia \ -skip qtsensors \ -skip qttools \ -skip qttranslations \ -skip qtwayland
qtscxml-跳过qtsensors-跳过qtserialbus-跳过qtserialbusqtserialport-跳过qtspeech-跳过qtsvg-跳过qtvirtualkeyboard-跳过qtwayland
qtscxml \ -skip qtsensors \ -skip qtspeech \ -skip qtsvg \ -skip qttools \ -skip qttranslations \ -skip qtwayland