Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

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>@

    and

    @CONFIG += mobility
    MOBILITY += systeminfo@


Log in to reply