Boot2Qt5.12.5 users guide

From TechNexion Developer Portal

Building Boot2qt from source

Qt for Device Creation, is an easy way to quickly set started with building embedded devices that run Qt applications. Boot2Qt is a short name for the embedded Linux platform image that is used with Qt for Device Creation.

Boot2Qt is an embedded software image based on the Yocto Poky distribution. This article takes you through the steps of building a Boot2Qt image from source. You could find this useful because many applications require platform modifications such as a custom kernel or bootloader, or additional applications and dependent libraries to be loaded onto the runtime image.

To support Boot2Qt, techNexion has forked and modified the OpenEmbedded meta-boot2qt layer. It can be found on Github:

As a reference, the original build instructions for Boot2Qt can be found here on the Qt website:

The following article focuses on building Boot2Qt version 5.12.5.

Building Boot2Qt for TechNexion boards

Step 1) Get Boot2Qt in your working directory

Make a working directory:

$ mkdir <your_work_dir>

$ cd <your_work_dir>

Clone our Boot2Qt repository using git: $ git clone sources/meta-boot2qt -b sumo-tn-boot2qt-5.12.5-wip

Step 2) Initialize and set up the environment

Initialize the build for the specific product you are using:


$ ./sources/meta-boot2qt/b2qt-init-build-env init --device pico-imx8mq


$ ./sources/meta-boot2qt/b2qt-init-bui