Strange behavior with linuxfb or eglfs -platform option
I write a simple program,[http://220.127.116.11/focus.zip ] with qt5 and qtcreator.
It is very simple, mainwindow and 1 qdialog.
I exec the dialog with a button and I close it with an other button.
If I run the program on x86 platform all is ok.
If I run the program on arm embedded system with the eglfs platform option I can exec the dialog but when I try to close it, the application is locked, and the dialog it is not hided.
If I run the program on arm embedded system with the linuxfb platform option I can exec the dialog but when I close it, the mainwindow is not repainted but it can capture the input and I can exec the dialog again.
What I wrong?
what graphic hardware do you have? I have PowerVR and for it I run with -display eglnullws option ... anyway your application is not designed/built for open gl (i.e. see QGLWdiget) and also qt must be built with open gl enabled (perhaps gles 2 or newer)
for linuxfb, it should work ... what I see is that dialog has parent the main window ... try without a parent
I currently develop with qt 4.8 embedded on arm and as far as I remember to make open gl working I had to do little changes in qt source in order to refresh properly
Thank for your reply,
I discover that eglfs can show only 1 widget for time....
I try to change the parent but nothing change with linuxfb option.
If I call repaint function multiple times, after close the dialog, the drawing of main window improves.
I use a i.mx6 freescale micro.