Setting Up Environment for Building Boot to Qt (Raspberri Pi 4)
Google repo tools install
1
2
3
4
mkdir -p ~/.bin
PATH="${HOME}/.bin:${PATH}"
curl https://storage.googleapis.com/git-repo-downloads/repo > ~/.bin/repo
chmod a+rx ~/.bin/repo
Initializing Yocto Build Environment
Get manifest file
1
2
3
cd <BuildDir>
repo init -u git://code.qt.io/yocto/boot2qt-manifest -m <manifest>
repo sync
Building the Image and Toolchain
1
2
3
4
5
export MACHINE=raspberrypi4
source ./setup-environment.sh
bitbake b2qt-embedded-qt5-image
bitbake meta-toolchain-b2qt-embedded-qt5-sdk