This article aims to explain How to download and install the latest X-LINUX-QT Distribution Package for the STM32 microprocessor series.
1. Prerequisites
Refer to the detailed prerequisites here.
2. Install the STM32MPU OpenSTLinux Distribution Package
As prerequisite to X-LINUX-QT Distribution Package, you need to get and install the STM32MPU OpenSTLinux Distribution Package v6.0.0.
The way to proceed is given in STM32MPU_Distribution_Package article.
3. Install X-LINUX-QT Distribution Package
To install the X-LINUX-QT Distribution Package follow the below steps
3.1. Clone the meta-st-x-linux-qt git repository
<Distribution Package installation directory>cd
CollapseFor Qt6: |
---|
https://github.com/STMicroelectronics/meta-st-x-linux-qt.git layers/meta-st/meta-st-x-linux-qtgit clone -b v2.0.0 |
ExpandFor Qt5: |
---|
3.2. Clone the meta-qt git repository
CollapseFor Qt6: |
---|
unknown package unknown packagegit clone -b |
ExpandFor Qt5: |
---|
3.3. Setup the build environment
CollapseFor Qt6: | ||
---|---|---|
unknown package ../layers/meta-st/meta-st-x-linux-qtcd <Distribution Package installation directory> source layers/meta-st/scripts/envsetup.sh bitbake-layers add-layer ../ |
ExpandFor Qt5: |
---|
4. Re-build the X-LINUX-QT Starter Package

To rebuild the X-LINUX-QT Starter Package, user must install the X-LINUX-QT Distribution Package (as explained in previous chapter), set up the environment and run the adequate bitbake command as below:
package-indexbitbake st-image-qt
The output will be the "full image" files for the st-image-qt.
5. Re-build the X-LINUX-QT Developer Package

To rebuild the X-LINUX-QT Developer Package, user must install the X-LINUX-QT Distribution Package (as explained in previous chapter), set up the environment and run the adequate bitbake command as below:
-c do_populate_sdkbitbake st-image-qt
The output will be the full SDK installer for the st-image-qt.