View Full Version : Qt controls blinking while update the values
shivcena
27th November 2015, 06:49
Im having a Qt widget based application which is having Slider , Progress bar . Im updating the values of each controls per every second basis like ui->my_Progress->setValue(timer_value); . The problem is the UI controls are blinking while updating the values in my ECU and it is working fine with the system. Also im using export QT_ONSCREEN_PAINT=force to run the application in my ECU.Any body having any idea on this.
anda_skoa
27th November 2015, 08:13
Have you tried without QT_ONSCREEN_PAINT?
Cheers,
_
shivcena
27th November 2015, 09:26
No , If i run with out QT_ONSCREEN_PAINT=force , the application is not display in the board . Do you know any other equivalent command for this?
anda_skoa
27th November 2015, 09:42
That sounds like there is something wrong with the whole setup.
On sceen painting sidesteps double buffering, i.e. the widgets are not drawn into a buffer which is then drawn onto the screen as usual but drawing happens directly on the screen.
This can be faster but can also lead to flickering, which I think is what you are seeing.
My recommendation would be fix the setup so that you can at least try with double buffering.
Cheers,
_
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.