2024-07-09 05:15 AM - edited 2024-07-09 05:20 AM
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
2024-07-11 05:53 AM
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.
2024-07-11 07:00 AM
Hello Philippe,
Thanks for the link. I'll give it a try and let you know how it goes.
Best wishes,
Alexander