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

i hope i have got the steps right and for any of the steps bellow does it require internet                                                 1.cd <working directory path>/Distribution-Package

2.repo init -u https://github.com/STMicroelectronics/oe-manifest.git -b refs/tags/openstlinux-6.1-yocto-mickledore-mpu-v24.06.26

3.repo sync

4. DISTRO=openstlinux-weston MACHINE=stm32mp15-disco source layers/meta-st/scripts/envsetup.sh

5.bitbake st-image-weston

6.bitbake st-image-weston -c populate_sdk

7. cd <Distribution Package installation directory>
8.git clone -b v1.0.0 https://github.com/STMicroelectronics/meta-st-x-linux-qt.git layers/meta-st/meta-st-x-linux-qt

9. git clone -b scarthgap https://github.com/meta-qt5/meta-qt5.git layers/meta-qt5

10. source layers/meta-st/scripts/envsetup.sh

11.bitbake-layers add-layer ../layers/meta-qt5 ../layers/meta-st/meta-st-x-linux-qt

12.bitbake st-image-qt

13.bitbake st-image-qt -c populate_sdk

14.execute "xxx.sh" script available in: build-openstlinuxweston-stm32mp15-disco/tmp-glibc/deploy/sdk

15.setup qt

10. source layers/meta-st/scripts/envsetup.sh

This has already been done at step 4.

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

@PPAGE.13 ,after the 13th command should i need to execute this 

bitbake st-image-qt package-index

and what is the difference between .bitbake st-image-qt -c populate_sdk and .bitbake st-image-qt package-index

Sharan
Senior

After step 13 and also bitbake st-image-at package index command

in 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

Sharan
Senior

how to integrate qt with stm32cubeide for stm32mp157d-dk1 

(beause when a button is clicked in qt it has to write sine values to dac