Skip to main content
MWoło.2
Senior III
Jun 18, 2023 3:48 PM UTC
Solved

STM32MP135F QT5 can't execute gui aplication

Hi,

I have a relatively easy question for the OpenStLinux I guess.

I have a correctly prepared sdk image with QT (bitbake -k st-example-image-qt and bitbake -k st-example-image-qt -c populate_sdk) but can't correctly configure weston. I have a similar configuration to the official STM32MP135DK2 with a slight difference, 24 RGB interface. My display working correctly, I can see wallpaper and play mp4, so the driver and system are configured correctly.

When I try to execute my application I get something like

 

 

 

QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
[ 1] Failed to open device: No such file or directory, Try again...
[ 2] Failed to open device: No such file or directory, Try again...
[ 3] Failed to open device: No such file or directory, Try again...
[ 4] Failed to open device: No such file or directory, Try again...
[ 5] _OpenDevice(1093): FATAL: Failed to open device, errno=No such file or directory.
[ 6] Failed to open device: No such file or directory, Try again...
[ 7] Failed to open device: No such file or directory, Try again...
[ 8] Failed to open device: No such file or directory, Try again...
[ 9] Failed to open device: No such file or directory, Try again...
[ 10] _OpenDevice(1093): FATAL: Failed to open device, errno=No such file or directory.

 

 

 

The problem is that the above info doesn't indicate what device can't be opened. 

What do I need to add to my meta-layer to be able to execute the qt5 application?

Thanks for any hints

BR Michal

This topic has been closed for replies.
MWoło.2
MWoło.2Best answer
Senior III
Jun 19, 2023 7:14 PM UTC

It's working. So let's summarise, if You want to build and execute the QT5 application on stm32mp13x You need to during first time DISTRO=openstlinux-eglfs MACHINE=your-machine source layers/meta-st/scripts/envsetup.sh DON'T ACCEPT LICENSE. That is all. Topic closed.

2 replies

MWoło.2
MWoło.2Author
Senior III
Jun 19, 2023 6:04 PM UTC

It seems I found a solution

 

It is related to stm32mp153 but my stm32mp135 seems to be similar I mean no Vivante GPU.

I try to recompile and give feedback

MWoło.2
MWoło.2AuthorBest answer
Senior III
Jun 19, 2023 7:14 PM UTC

It's working. So let's summarise, if You want to build and execute the QT5 application on stm32mp13x You need to during first time DISTRO=openstlinux-eglfs MACHINE=your-machine source layers/meta-st/scripts/envsetup.sh DON'T ACCEPT LICENSE. That is all. Topic closed.