How to enable screen saver for save buttry on my qt app in ARM device?
Hi. My friendly arm is going o sleep when my device in console mood after one minute. But when I start my qt app the device is not going on sleep mood. some one in this forum (http://www.friendlyarm.net/forum/topic/3924) said cause of "-qws" the app avoid the device to go sleep mood.
How can I active this mood?
please guide me.
thanx in advance;
@MhM93 Please do not post same question twice!
@jsulm it's been cleaned up.
Hi and thanx for answer. I write this code to check the screen saver.
qDebug()<<"screen saver"<<qwsServer->screenSaverActive(); //=====>screen saver true
and the result is true. I set this code :
it works but how can turn lcd off?
You'll have to call low-level functions for that or depending on your target there might a simple device or sysfs file to write to for that to happen.
thanx @SGaist . but could you explain it more? my device is friendly arm, linux
FriendlyARM currently list 27 products. Can you be a bit more specific ?
Also, searching for "friendly arm turn off lcd" return this thread which point to a solution similar to what I described.