[Interest] Compile Qt 6.2.1 from source

Thiago Macieira thiago.macieira at intel.com
Sat Oct 2 03:08:53 CEST 2021


On Friday, 1 October 2021 08:52:09 PDT joao morgado via Interest wrote:
> cmake --build . -j 6
> and it works very well, much less memory used and the pc was usable during
> compile time

My rule of thumb: 2 GB of RAM per logical processor to do a compilation. So 16 
GB of RAM is sufficient for a 4-core system (8 CPUs), but not for 6-core (12 
CPUs).

But this doesn't apply to qtwebengine. That thing has a few VERY big files 
that are concatenation of a lot of small ones and take multiple GB of RAM to 
compile. If you don't need qtwebengine, don't download it and don't build it.

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel DPG Cloud Engineering





More information about the Interest mailing list