You need to call the underlying WinAPI. If you need special things of an operating system you have to use the underlying OS API (Windows => WinAPI, Linux ..., Mac OS ...)
As fatjuicymole has already been written, use:
Qt Code:
#if defined(Q_WS_WIN) SystemParametersInfo(SPI_SETSCREENSAVERRUNNING, TRUE, &bOldState, 0); #endifTo copy to clipboard, switch view to plain text mode
Best Regards
NoRulez





Reply With Quote
Bookmarks