cancel
Showing results for 
Search instead for 
Did you mean: 

qt-kiosk-browser on STM32MP157F-DK2

shmonov
Associate

Hello everyone,

For some time I have been trying to launch at least some kind of browser on this platform, better than the one in the example with QtWebKitWidgets.

Now I am trying to run Qt Kiosk Browser on my STM32MP157F-DK2 running OpenSTLinux Mickledore with EGLFS backend. It was compiled with:

 

DISTRO=openstlinux-eglfs MACHINE=stm32mp1 source layers/meta-st/scripts/envsetup.sh

 

Then this line

 

IMAGE_INSTALL:append = " qt-kiosk-browser"

 

was apppended at the end of conf/local.conf. In conf/bblayers.conf, after

 

${OEROOT}/layers/meta-openembedded/meta-perl \

 

I added this line:

 

${OEROOT}/layers/meta-openembedded/meta-python2 \

 

Then I installed g++-multilib on the host machine:

 

sudo apt-get install g++-multilib

 

And than bitbaked the entire image:

 

bitbake st-example-image-qt

 

The problem is that the browser starts, then I see a white screen for 5-10 seconds, then it terminates. The launching script is in the attached kiosk_sh.txt. The output is in the file qt-kiosk-browser.txt. 

Does anyone have any guesses as to what the problem might be?


Thank you,
Alexander

2 REPLIES 2
PPAGE.13
ST Employee

Hello Alexander,

 

I never tried that private "qt-kiosk-browser" development.

I tested PyQt5 based browser.

If you plan to browse only in a kiosk mode, you can also try the Qt official example:
https://doc.qt.io/qt-5/qtwebengine-webengine-quicknanobrowser-example.html

 

BR,

Philippe.

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.
shmonov
Associate

Hello Philippe,

Thanks for the link. I'll give it a try and let you know how it goes.

Best wishes,
Alexander