Qt World Summit: Register Today!

Locking Screen Saver

  • On iOS and Android app I have a lengthy process (downloading a file). I don't want the screen saver to cut in, because this causes the program to pause.

    I have looked at the QSystemScreenSaver class, which would have done the trick, but it won't compile saying it cannot find the file.

    I have only tried compiling on Mac so far.

    I have used:

    @#include <QSystemScreenSaver>@


    @CONFIG += mobility
    MOBILITY += systeminfo@

Log in to reply