Solved qt gui on rpi
-
I write a gui with qt. I run it on rpi2 touchscreen lcd(3.2 inch). when it executes , it's not stable on lcd and it disappear with each click. sometimes gui is disappeared totaly and sometimes part of touch click is disappeared. how can I fix this problem?
-
@lina
I had similiar problems which could be solved in my case by extending the GPU memory (viaraspi-config
, set it to 265 MB instead of the default 64 MB). -
@micland
Thank you for your response. Unfortunately, changing GPU memory to 256MB didn't solve the problem :( -
Hi lina,
which platform plugin do you use? xcb, eglfs, linuxfb?
Are you running an xserver? -
This post is deleted! -
hi Sneubert
I'm using linuxfb plugin and runing xserver -
Ok, so just shut down your xserver or use xcb.
If using linuxfb and running a xserver, both will write to the framebuffer, which cause the flickering.
And with edev both will respond to touch events. -
@sneubert
thank you for your response. I try it.