Hi,

If you do not need the full Qt installation, you can use "-skip" flag to omit 
unneeded modules.
I believe that skipping something like webengine can improve the situation.

Best regards,
Ivan

________________________________
From: Interest <interest-boun...@qt-project.org> on behalf of joao morgado via 
Interest <interest@qt-project.org>
Sent: Friday, October 1, 2021 3:25 PM
To: Qt Interest <interest@qt-project.org>
Subject: Re: [Interest] Compile Qt 6.2.1 from source

Hi

The compilation failled twice, I'm using the dev branch and developer build:


$ ../qt5/configure -developer-build -- -D QT_BUILD_TESTS_BY_DEFAULT=OFF
 $ cmake --build . --parallel


bulding fails at aprox. 36%, the pc runs out of memory and freezes.

I'm using a fairly decent pc, with core i7 and 16GB ram, linux mint 20.2. I can 
see from linux monitor that  memory is used up to 99% plus swap memory of 16GB 
used up to 100%.

I'm using cmake version 3.21.3, I had to compile it from source, the first time 
I tried using cmake from linux repo
I got an error saying that cmake version was too old.

Any ideias ?

Cheers
João
Em quinta-feira, 30 de setembro de 2021 21:23:56 GMT+1, joao morgado via 
Interest <interest@qt-project.org> escreveu:



Thank you

It's equal to building Qt5, wich I did before, I thought that for Qt6 git 
sources were no longer available.

Cheers
João

Em quinta-feira, 30 de setembro de 2021 19:18:03 GMT+1, Shawn Rutledge 
<shawn.rutle...@qt.io> escreveu:




On 2021 Sep 30, at 19:21, joao morgado via Interest 
<interest@qt-project.org<mailto:interest@qt-project.org>> wrote:

Hi

I have a commercial Qt license, can I compile Qt 6.2.1 branch from source ?
I have reported some bugs that are now fixed in that branch, would like to try 
it.
I've been searching codereview repositories, but I'm a bit lost.

Just build the 6.2 branch from git.  https://wiki.qt.io/Building_Qt_6_from_Git
Of course by the time 6.2.1 is released, it will have many more changes.  You 
can keep pulling periodically to follow along.

_______________________________________________
Interest mailing list
Interest@qt-project.org<mailto:Interest@qt-project.org>
https://lists.qt-project.org/listinfo/interest
_______________________________________________
Interest mailing list
Interest@qt-project.org<mailto:Interest@qt-project.org>
https://lists.qt-project.org/listinfo/interest
_______________________________________________
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest

Reply via email to