Unsolved How to prevent the computer going to sleep within a QT application.
-
For OS X, it is easy -- the code under Listing 3 works:
(https://developer.apple.com/library/content/qa/qa1340/_index.html)I need a solution for both Windows and Linux.
Does anyone have any pointers or references?Any help is greatly appreciated.
Thanks,
Roy -
@TheFlyingMooseMan This is clearly out of scope of Qt.
But maybe someone knows... -
@jsulm I tend to respectfully disagree, after all, it is one of many aspects of an application, but then, at the same time, maybe some else knows.
-
@TheFlyingMooseMan This is most definitely outside the scope of Qt... But here is a few ways to do it with linux: