Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-24682

Computer falls asleep while Qt Creator is building a large project

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Out of scope
    • Icon: Not Evaluated Not Evaluated
    • None
    • Qt Creator 4.13.0
    • None
    • Windows

      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

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            kandeler Christian Kandeler
            deepsoic DeepSOIC
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes