-
Suggestion
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
None
-
None
It would be great if QtCreator could be more battery friendly on laptops by using QOS_CLASS_BACKGROUND on macos / EcoQoS on windows for background tasks.
i'm mainly thinking about
- all background tasks like indexing, scanning, parsing. for QThreads, it's possible to leverage QThread::QualityOfService::Eco
- all background processes (clang-tidy, clazy etc). might be a little trickier, as afaict one may need to tweak the launching code
- clangd does it out of the box already (maybe cherry-picking https://github.com/llvm/llvm-project/commit/860b1e68ea180672d0e02fa8328f4a7c45e16f0f for windows)
- maybe adding an option to launch the compilation with a background QoS may also be interesting (in many cases one wants to compile "as fast as possible", but when working on battery one may want to compile "as efficiently as possible"