To disable the automatic screensaver lock-on and dim light:
-I have to include QtMobility on the .pro file:
CONFIG += mobility
MOBILITY += systeminfo
-Use QSystemScreenSaver->setScreenSaverInhibit():
My problem is I don't know if this code is right and where and how to include it. I was looking at the QtMobility examples but I cant figure out. Can anybody help me?Code:#include <QSystemScreenSaver> QSystemScreenSaver *sss=new QSystemScreenSaver ( this ); sss->setScreenSaverInhibit();




