cancel
Showing results for 
Search instead for 
Did you mean: 

qt programing and stm32mp157d-dk1

Sharan
Senior

hi

i am using stm32mp157d-dk1 and i have downloaded qt creator and i have created a simple hello world window now how to display it in the stm32mp157d-dk1?

 

how to set up cross compilation in order to deploy Qt projects directly from a host Linux machine to the embedded target using qtcreator.

34 REPLIES 34

Hello @Sharan ,

sorry I have never seen such error. My first guess would be an issue with your PC installation setup.

Please double check it: https://wiki.st.com/stm32mpu/wiki/PC_prerequisites

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.
Sharan
Senior

i am using virtual box and latest Ubuntu 24 LTS

Noboby on our side has tried with an Ubuntu 24, we use 20.04 or 22.04.

I cannot guarantee the support.

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.

ok i will download 22.04 and I hope X-linux-qt expansion Package can be used to set up my qt creator for stm32mp157d-dk1.

 

he build-<distro>-<machine>/tmp-glibc/deploy/images/<machine> directory                                 

i cant find the file system images in this directory and also in any other directory.

cant find

FlashLayout_sdcard_stm32mp157d-dk1-optee.tsv  

Hi,

have you followed the documentation:

https://wiki.st.com/stm32mpu/wiki/X-LINUX-QT_Expansion_Package#How_to_install_Distribution_Package

After final following command,

bitbake st-image-qt package-index

you should get your image.

 

Please also use this post for more details.

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.

Please also use this post for more details.

https://community.st.com/t5/stm32-mpus-embedded-software-and/qt-creater-setup-for-stm32mp1/td-p/706440

 

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.
Sharan
Senior

DISTRO=openstlinux-weston MACHINE=<machine> source layers/meta-st/scripts/envsetup.sh

in the place of machine do i have to mention the exact name of the board i am using (stm32mp157d-dk1)

For stm32mp157d-dk1, please use: MACHINE=stm32mp15-disco

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.

i used MACHINE=stm32mp1 instead of MACHINE=stm32mp15-disco is it fine