We have already discussed Qt Company's Boot to Qt system in Chapter 12, Cross Compiling and Remote Debugging. Provided with Boot to Qt are configuration files for you to use to create a custom operating system. It requires the BitBake software and the Yocto Project, which is an open source project to help to build custom Linux-based systems, which itself is based on my old friend, OpenEmbedded.
There is a script named b2qt-init-build-env
in the /path/to/install/dir/<Qtversion>/Boot2Qt/sources/meta-boot2qt/b2qt-init-build-env
file of this book that will initialize the build for a Raspberry Pi. You run the command from a build directory of your choice.
To get a list of supported devices, use the list-devices
argument. The output on my system is as follows:
You will need to initialize the build system and build environment, so run the script named b2qt-init-build-env
, which is in the directory that Boot to Qt is installed:
/path/to/install/dir/<Qtversion>/Boot2Qt...