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-10-22 11:19 PM
@PPAGE.13 ,i am able to deploy Qt applications to a target STM32MP157d-DK1 from a linux host machine. but still i am getting this warning.what to do?
Starting /opt/myfirstqtproject/bin/myfirstqtproject...
Warning: Identity file not accessible: No such file or directory.
QStandardPaths: runtime directory '/run/user/1000' is not owned by UID 0, but a directory permissions 0700 owned by UID 1000 GID 1000