Last edited 4 weeks ago

X-LINUX-QT Developer Package v2.1.0

Applicable for STM32MP13x lines, STM32MP15x lines, STM32MP21x lines, STM32MP23x lines, STM32MP25x lines

Warning DB.png Important
This version of X-LINUX-QT expansion package is validated against the ecosystem release v6.0.0 More info.png . Porting on ecosystem release v6.1.0 More info.png is ongoing.

This article explains how to download and install the X-LINUX-QT developer package v2.1.0, compatible with OpenSTLinux developer package v6.0.0.

X-LINUX-QT developer package v2.1.0 supports both STM32MP2 series and STM32MP1 series series.

Installation commands given in this article for "stm32mp2" can be extended to "stm32mp1".

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 v6.0.0.

The way to proceed is given in STM32MPU_Developer_Package#Developer_Package_step-by-step_overview article.


3. Install the X-LINUX-QT developer package[edit | edit source]

  • Download and install the X-LINUX-QT developer package

The software package is provided AS IS, and by downloading it, you agree to be bound to the terms of the software license agreement (SLA0048). The detailed content licenses can be found here.

X-LINUX-QT developer package v2.1.0 release
Download
  • Go on st.com to download
    • en.en.SDK-x86_64-stm32mp2-openstlinux-6.6-yocto-scarthgap-mpu-v24.11.06-x-linux-qt-v2.1.0.tar.gz file for x86_64 host architecture
    • en.en.SDK-aarch64-stm32mp2-openstlinux-6.6-yocto-scarthgap-mpu-v24.11.06-x-linux-qt-v2.1.0.tar.gz file for arm64 host architecture

If you have already generated your own X-LINUX-QT developer package, jump to next step.

Installation

For x86_64 host architecture

  • Uncompress the tarball file to get the developer package installation script.
 mkdir -p ~/MySDK
 tar xvf en.en.SDK-x86_64-stm32mp2-openstlinux-6.6-yocto-scarthgap-mpu-v24.11.06-x-linux-qt-v2.1.0.tar.gz -C ~/MySDK
  • If needed, change the permissions on the SDK installation script so that it is executable.
 chmod +x ~/MySDK/stm32mp2-openstlinux-6.6-yocto-scarthgap-mpu-v24.11.06-x-linux-qt-v2.1.0/sdk/st-image-qt-openstlinux-weston-stm32mp2.rootfs-x86_64-toolchain-5.0.3-openstlinux-6.6-yocto-scarthgap-mpu-v24.11.06-addon-x-linux-qt-v2.1.0.sh
  • Run the SDK installation script.
 cd <working directory absolute path>/Developer-Package/SDK
 ~/MySDK/stm32mp2-openstlinux-6.6-yocto-scarthgap-mpu-v24.11.06-x-linux-qt-v2.1.0/sdk/st-image-qt-openstlinux-weston-stm32mp2.rootfs-x86_64-toolchain-5.0.3-openstlinux-6.6-yocto-scarthgap-mpu-v24.11.06-addon-x-linux-qt-v2.1.0.sh
  • A successful installation outputs the following log:
===============================================================================================================================================
ST OpenSTLinux - Weston - (A Yocto Project Based Distro) SDK installer version 5.0.3-openstlinux-6.6-yocto-scarthgap-mpu-v24.11.06 - X-LINUX-QT version 2.1.0 SDK-Addon installer
===============================================================================================================================================
Extracting X-LINUX-QT-Addon SDK................................................................................................Done.
Setting it up... Done.
Do you want to configure the Qt Creator for this SDK [y/n]? n
Qt Creator configuration will be ignored.
X-LINUX-QT-Addon SDK has been successfully set up and is ready to be used.

Alternative : If Qt Creator has been installed as explained in the "Prerequisites" chapter, it is now possible to configure it. For that, answer y to the next question:

Do you want to configure the Qt Creator for this SDK [y/n]? y
Please enter the directory where Qt Tools are installed (default: "/usr/lib, /usr/libexec"): /usr/libexec
Using /home/USER/Qt/Tools/sdktool/libexec/qtcreator/sdktool
Adding "Qt 6.6.3 for STM32MP2 ( 5.0.3-openstlinux-6.6-yocto-scarthgap-mpu-v24.11.06, X-LINUX-QT v2.1.0)" kit for Qt Design Studio... Done.
Using /home/USER/Qt/Tools/sdktool/libexec/qtcreator/sdktool
Adding "Qt 6.6.3 for STM32MP2 ( 5.0.3-openstlinux-6.6-yocto-scarthgap-mpu-v24.11.06, X-LINUX-QT v2.1.0)" kit for Qt Creator... Done.
X-LINUX-QT-Addon SDK has been successfully set up and is ready to be used.

For arm64 host architecture

  • Uncompress the tarball file to get the developer package installation script.
 mkdir -p ~/MySDK
 tar xvf en.en.SDK-aarch64-stm32mp2-openstlinux-6.6-yocto-scarthgap-mpu-v24.11.06-x-linux-qt-v2.1.0.tar.gz -C ~/MySDK
  • If needed, change the permissions on the SDK installation script so that it is executable.
 chmod +x ~/MySDK/stm32mp2-openstlinux-6.6-yocto-scarthgap-mpu-v24.11.06-x-linux-qt-v2.1.0/sdk/st-image-qt-openstlinux-weston-stm32mp2.rootfs-aarch64-toolchain-5.0.3-openstlinux-6.6-yocto-scarthgap-mpu-v24.11.06-addon-x-linux-qt-v2.1.0.sh
 cd <working directory absolute path>/Developer-Package/SDK
 ~/MySDK/stm32mp2-openstlinux-6.6-yocto-scarthgap-mpu-v24.11.06-x-linux-qt-v2.1.0/sdk/st-image-qt-openstlinux-weston-stm32mp2.rootfs-aarch64-toolchain-5.0.3-openstlinux-6.6-yocto-scarthgap-mpu-v24.11.06-addon-x-linux-qt-v2.1.0.sh
  • A successful installation outputs the following log:
==================================================================================================================================================
ST OpenSTLinux - Weston - (A Yocto Project Based Distro) SDK installer version 5.0.3-openstlinux-6.6-yocto-scarthgap-mpu-v24.11.06 - X-LINUX-QT version 2.1.0 SDK-Addon installer
===================================================================================================================================================
Extracting X-LINUX-QT-Addon SDK......................................................................................................... Done.
Setting it up... Done.
Do you want to configure the Qt Creator for this SDK [y/n]? n
Qt Creator configuration will be ignored.
X-LINUX-QT-Addon SDK has been successfully set up and is ready to be used.

Alternative: If the Qt Creator has been installed preliminary as explained in the "Prerequisites" chapter, it is now possible to configure it. For that, answer y to the next question:

Do you want to configure the Qt Creator for this SDK [y/n]? y 
Please enter the directory where Qt Tools are installed (default: "/usr/lib, /usr/libexec"): /usr/libexec
Using /home/USER/Qt/Tools/sdktool/libexec/qtcreator/sdktool
Adding "Qt 6.6.3 for STM32MP2 ( 5.0.3-openstlinux-6.6-yocto-scarthgap-mpu-v24.11.06, X-LINUX-QT v2.1.0)" kit for Qt Design Studio... Done.
Using /home/USER/Qt/Tools/sdktool/libexec/qtcreator/sdktool
Adding "Qt 6.6.3 for STM32MP2 ( 5.0.3-openstlinux-6.6-yocto-scarthgap-mpu-v24.11.06, X-LINUX-QT v2.1.0)" kit for Qt Creator... Done.
X-LINUX-QT-Addon SDK has been successfully set up and is ready to be used.