Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

QT5 setup for STM32MP1



  • Hi all,

    I am one of developer who is looking forward to develop a GUI on an embedded Linux platform. Here are my device specifications:

    • Platform : STM32MP1

    • Evaluation Kit : STM32MP157C-DK2

    • Distribution: openstlinux-5.4-dunfell-mp1-20-11-12 and corresponding built Yocto SDK.

    • Host : Ubuntu 20.04 - 64Bit

    • Qt Forum link which I have been following: Link

    I have read several blogs and forums all across the web but I have been consistently facing issue in setting up the configuration and kits in Qt. I am trying it with the arm-linux-gnueabihf which comes as part of Yocto_SDK once we build it. This sdk is also provided by STMicroelectronics.
    Once we give a SDK build we get several files generated inside sysrootfs directory and one of those is qmake.bin , which is required to give when we setup Kit for STM32MP1.
    I also tried to follow a similar link from VisionSoM here , which also talks about the same. But I am not able to get the file there correctly so I am unable to setup kit of STM32MP1.

    My queries:

    1. Is it possible to get pre-built binaries for qt5 for the platform STM32MP1 ? If yes where I can find them and if no what are the correct steps to achieve the same?
    2. If I perform bitbake meta-qt5-toolchain (assuming I have everything setup which makes this command work) What is the output of the program? Will it generate the files I am looking for?
    3. The earlier link which share from one of qt forum blogs : My understanding is the if I want to download latest compiler from ARM website I will choose : x86_64 Linux hosted cross compilers -> gcc-arm-10.2-2020.11-x86_64-arm-none-linux-gnueabihf.tar.xz. Is this correctly chosen?
    4. What are the correct steps to achieve what my goal is ? Is there some guide / Link / Forum I can refer to?

    An earliest response will be appreciated.


Log in to reply