cancel
Showing results for 
Search instead for 
Did you mean: 

How to flash QT quick app in STM32MP157F-dk2 embedded linux

JPabl.1
Senior

Hi there ST team! I'm asking because I'm lost in all this process.

I have a QT quick app developer in QT Creator. I've already followed a tutorial from QT and I was able to flash the app in the STM32MP157F-dk2 using QT Creator.

Now, I want my target board to run an embedded Linux image, and the QT quick app to run in the user space of this distro.

I already installed the STM32MPU Starter package and can confirm the target runs the demo app as expected.

After this, I don't know how to continue. If I understand correctly, I need to:

1. install the STM32MPU developer package from https://wiki.st.com/stm32mpu/wiki/STM32MPU_Developer_Package#Checking_the_prerequisites

2. follow step 7.2 "Adding Linux user space application" from: https://wiki.st.com/stm32mpu/wiki/How_to_cross-compile_with_the_Developer_Package#Adding_a_.22hello_world.22_user_space_example

 

The problem is that step 7.2 mentions some folder that I don't know where it came from

cd <tag>/sources/<arm architecture>-<distro>-linux*

 Also, I understand this is just a simple "hello world" app, and I need to install QT related stuff.

The X-LINUX-QT expansion package seems to only work for stm32mp2 series, and I'm using STMMP1 series, so I think those tutorials won't work.

I'm following this tutorial: https://barenakedembedded.com/how-to-set-up-stm32mp1-with-qt/ but I'm getting a lot of errors so I'm not sure if that's the correct way to do it.

 

Any help in what to do after installing the starter package is sincerely appreciated :)

1 ACCEPTED SOLUTION

Accepted Solutions
JPabl.1
Senior

I can't access that page. 

 

I wasn't able to build the yocto image that I needed by following the st tutorials, so I had to go the other way and start with a qt manifest. 

I'm having some errors but at least that path seems more documented

View solution in original post

3 REPLIES 3
PPAGE.13
ST Employee

Hi,

for MP1 started package and developer package support, you have to wait our next delivery that should come before end of 2024.

Current 1.0.0 X-LINUX-QT package only supports MP2. The meta layer can anyway be used for MP15. For MP135, it needs addition fixes (end of 2024 as well)

Sorry for the inconvenience.

Philippe.

In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.
PPAGE.13
ST Employee

You can also check this thread for MP1 setup:

https://stmicro.response.lithium.com/console/agent/22293782

In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.
JPabl.1
Senior

I can't access that page. 

 

I wasn't able to build the yocto image that I needed by following the st tutorials, so I had to go the other way and start with a qt manifest. 

I'm having some errors but at least that path seems more documented