2024-08-06 10:35 PM
how to setup qt creater application for STM32MP157f-Dk2 board , and where is the location of the toolchain location and how to setup qt version .
Solved! Go to Solution.
2024-08-09 5:35 AM
qt version(qmake) done from SDK path
gcc done from SDK path
g++ done from SDK path
debugger done from SDK path
CMake done from SDK path please help me out from image 6 why this happen
but this error comes why ?
please
2024-08-09 5:47 AM
Hello,
very good, your environment looks ready to develop your application.
I suggest anyway you run an existing "hello world" example before doing your own one.
Please look at Qt documentation, like this one: https://doc.qt.io/qt-5/qml-tutorial1.html
And let me know if compilation and execution is fine.
BR,
Philippe.
2024-08-10 12:26 AM
hi @PPAGE.13
please help me out this, it is showing warning.
and i run the hello world application(Hello_World) without sudo it is working but , when i use the application with sudo it will give the error as like a warning.
2024-08-20 3:54 AM
Hi,
please go to following chapter for more details
"9.6. Configure the STM3 MPU Kit" in
https://wiki.st.com/stm32mpu/wiki/X-LINUX-QT_Expansion_Package
To summarize: the 2 variables below must be set in Qt Creator "Run" Qt configuration when you launch test from the host:
XDG_RUNTIME_DIR=/run/user/1000 QT_QPA_PLATFORM=wayland
When you execute the test from the target, these variables are already set by default.
BR,
Philippe.
2024-10-07 3:24 AM
hi i am using stm32mp157d-dk1 how to setup qt creater application
2024-10-07 4:53 AM
Hello @Sharan ,
all info should be above.
When setting a Qt creator kit, you need a MP1 SDK.
If the SDK has been generated by yourself with the Distribution Package, please use "asadullah4571" screenshots to configure your own MP1 kit.
If you get the SDK with Developper Package and X-LINUX-Qt SDK add-on, the installation automatically configures Qt creator with the MP1 kit.
Philippe.
2025-08-13 7:16 AM
I was struggling with properly configuring QtCreator for the STM32MP1 SDK generated from the Distribution Package. Turns out Qt provides a script to configure a kit automatically: https://code.qt.io/cgit/yocto/meta-boot2qt.git/tree/meta-boot2qt/files/configure-qtcreator.sh
$ configure-qtcreator.sh --config /opt/st/stm32mp1/5.0.8-snapshot/environment-setup-cortexa7t2hf-neon-vfpv4-ostl-linux-gnueabi --sdktool ~/Qt/Tools/sdktool/libexec/qtcreator/sdktool --name STM32MP1
2025-08-14 1:26 AM
Hi,
ST cannot provide support on Qt property script.
If you want an MP1 Kit already configured in Qt Creator, please use X-LINUX-QT developer package that will install it automatically. Then you can use this kit as a reference and clone your own one targeting your compiled SDK.
Please refer to :
https://wiki.st.com/stm32mpu/wiki/X-LINUX-QT_Developer_Package
Consistent releases to be used:
OpenSTLinux 6.0.0
https://www.st.com/en/embedded-software/stm32mp1dev.html
https://www.st.com/en/embedded-software/stm32mp2dev.html
X-LINUX-QT 2.1.0
https://www.st.com/en/embedded-software/x-linux-qt.html#overview
Philippe.