Prevent Sleep on OSX and stand by on Windows
my application is made of a quite long process that doesn't require the user input.
I'm facing the problem that the computer goes in sleep on OSX and on standby on Windows.
Searching on the web it seems that QT doesn't include something to prevent this behavior. Do you confirm?
Is there a workaround (even if it would consume a bit of resources)?
Or do I have to use the native APIs by the OS like described here: http://stackoverflow.com/questions/5596319/how-to-programmatically-prevent-a-mac-from-going-to-sleep
How can I use the I/O kit inside a QTproject?
Yes, you need to use native APIs to achieve that goal.