Hi,
Any idea? Is there any library for this?
I saw that there is a so called POWRPROF extension in MSDN, but I don't know how to use it in QT.
Do you have any suggestion?
Thanks!
Hi,
Any idea? Is there any library for this?
I saw that there is a so called POWRPROF extension in MSDN, but I don't know how to use it in QT.
Do you have any suggestion?
Thanks!
It's a dll,so I guess you should take a look at QLibrary.
It's not the goodbye that hurts,but the flashback that follow.
I don't expect Qt has anything to directly address this requirement.
There will be a Windows-specific API call that you use on Windows in the same way that MSDN does. It will also likely vary between Win XP and Vista/Win 7 (usually a bunch of extra calls to sort security).
I assume that there is an equivalent on Mac, and probably no standard way on Linux.
Under Windows, you can try SetSystemPowerState
falconium (8th March 2011)
Bookmarks