02-02-2013 12:00 AM
I am creating one game, in that I am using intreaction model other than touch.
But phone display get dimmed/black if i dont touch it for sometime.
How can i avoid this display dimming ?
Solved! Go to Solution.
02-02-2013 12:41 AM
02-02-2013 12:42 AM
I found soulution,
QScopedPointer<QDeclarativeView> view(new QDeclarativeView());
int idle_mode = SCREEN_IDLE_MODE_KEEP_AWAKE;
WId winId = view->winId();
This works for me with pure Qt application