This article explains how to generate and install the X-LINUX-QT developer package.
X-LINUX-QT developer package is not delivered for the version v2.4.0 compatible with Yocto-based OpenSTLinux embedded software v7.0.0
Nevertheless the developer package can be generated thanks to the X-LINUX-QT_Distribution_Package. This article is still useful for this version of X-LINUX-QT expansion package.
Installation commands, given in this article for STM32MP2 series, can be extended to STM32MP1 series.
1. Prerequisites[edit | edit source]
Needed prerequisites are described in X-LINUX-QT_expansion_package#Prerequisites.
2. Install the OpenSTLinux developer package[edit | edit source]
As prerequisite to X-LINUX-QT developer package installation, get and install the STM32MPU OpenSTLinux developer package v7.0.0 for X-LINUX-QT expansion package v2.4.0.
The way to proceed is given in STM32MPU_Developer_Package#Developer_Package_step-by-step_overview article.
3. Generate and install the X-LINUX-QT developer package[edit | edit source]
The X-LINUX-QT developer package v2.4.0 is compatible with Yocto-based OpenSTLinux embedded software v7.0.0.
3.1. Generate the X-LINUX-QT developer package image[edit | edit source]
First step is to create the X-LINUX-QT developer package. It must be generated following instructions available in X-LINUX-QT_Distribution_Package#Re-build_the_X-LINUX-QT_developer _package.
3.2. Install the generated X-LINUX-QT developer package[edit | edit source]
- The SDK installation script (st-image-qt-openstlinux-weston-<machine>.rootfs-x86_64-toolchain-6.0.2-snapshot.sh) is under build-openstlinux-weston-<machine>/tmp/deploy/sdk.
- Run the script with the SDK location you want to install it:
- ./st-image-qt-openstlinux-weston-<machine>.rootfs-x86_64-toolchain-6.0.2-snapshot.sh -d <SDK installation directory>
4. How to create QT applications using the X-LINUX-QT Developer Package[edit | edit source]
Articles explaining how to create some QT applications are available :
- How to build Qt applications using CMake
- How To build Qt applications using STM32CubeIDE
- How To build Qt applications using Qt Creator