2024-10-06 11:59 PM - edited 2024-10-07 02:25 AM
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.
Solved! Go to Solution.
2024-10-16 01:19 AM - edited 2024-10-16 01:22 AM
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
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
2024-10-16 02:04 AM
10. source layers/meta-st/scripts/envsetup.sh
This has already been done at step 4.
2024-10-16 02:06 AM - edited 2024-10-17 12:57 AM
@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
2024-10-17 02:05 AM
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
2024-10-17 04:15 AM - edited 2024-11-13 03:14 AM
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