Details
-
Bug
-
Resolution: Out of scope
-
Not Evaluated
-
None
-
Qt Creator 4.13.0
-
None
Description
A full build of the project i'm working on (FreeCAD) takes more than 25 minutes, and if i leave my laptop unattended, it falls asleep, suspending the build.
It kinda sucks when I leave the laptop compiling, and then come back to find out that laptop fell asleep and FreeCAD isn't even halfway compiled. It would have been nice if Qt Creator could prevent the computer from auto falling asleep until the build is finished.
I build FreeCAD on Windows 10 with msvc 2019, CMake 3.14.3
On windows, idle sleep can be prevented by calling SetThreadExecutionState Windows API function.
I have initially posted this on Qt forum: https://forum.qt.io/topic/119206/computer-falls-asleep-while-qt-creator-is-building-a-large-project/2