Hi
I'm developing a application with QT5, on my development PC(X86,ubuntu 18.04), The QT application runs OK, it can display for full-screen with the QT API: showFullScreen()
But, after I run the same project on imx8mq-evk, which is the same source code,compiled by cross-compile-tool-chain, It can not display full screen, there always a system title bar which locates on top of screen( Please refer to the picture with attachment).
The evironment is below:
platform : imx8mq-evk
instructions: export GRAPHICS=wayland-egl
./exe -platform ${GRAPHICS} -plugin evdevtouch:/dev/input/event1
I'm sure that it runs ok on my ubuntu, So I think that my QT project is OK.
Could you please tell me how to hide the system bar?
Best regards
downey
Solved! Go to Solution.
Hi downey downey,
This seems to be related to Qt.
Please refer to the below thread for more reference:
[QTBUG-68554] QPA wayland-egl: Window full-screen operation stop working - Qt Bug Tracker
Regards,
Karan Gajjar
sorry for providing uncompleted information.
This is image name:
fsl-image-qt5-validation-imx-imx8mqevk-20190923102914.rootfs.sdcard
MACHINE = 'imx8mqevk'
DISTRO = 'fsl-imx-wayland'
Looking forward to your replay again.
Hi downey downey,
Did you use wayland or xcb as your QT_QPA_PLATFORM?
Regards,
Karan Gajjar
Hi karan gajjar,
Actually I don't understand what does "use wayland or xcb as your QT_QPA_PLATFORM" mean.
In QT development I only used some standard widgets and a few repaint events, not the other extensions of QT, and the compiled executable was executed with instruction:
./exe -platform wayland-egl -plugin evdevtouch:/dev/input/event1
For display I use QGraphicsView *view frame,and call view->showFullScreen() to display the whole UI part.
As you can see above, It works good on ubuntu18.04, but can not display full screen on i.mx8 evk.
Regrads
downey.
Hi downey downey,
This seems to be related to Qt.
Please refer to the below thread for more reference:
[QTBUG-68554] QPA wayland-egl: Window full-screen operation stop working - Qt Bug Tracker
Regards,
Karan Gajjar
Hi igorpadykov:
It does works with instructions below:
export QT_WAYLAND_SHELL_INTEGRATION=wl-shell
./exe -platform wayland-egl -plugin evdevtouch:/dev/input/event1
Sooooooo appreciate for your nice advice.
Best regards
downey