[Interest] Compile Qt 6.2.1 from source

Ivan Solovev ivan.solovev at qt.io
Fri Oct 1 16:01:20 CEST 2021


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-bounces at qt-project.org> on behalf of joao morgado via Interest <interest at qt-project.org>
Sent: Friday, October 1, 2021 3:25 PM
To: Qt Interest <interest at 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 at 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.rutledge at qt.io> escreveu:




On 2021 Sep 30, at 19:21, joao morgado via Interest <interest at qt-project.org<mailto:interest at 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 at qt-project.org<mailto:Interest at qt-project.org>
https://lists.qt-project.org/listinfo/interest
_______________________________________________
Interest mailing list
Interest at qt-project.org<mailto:Interest at qt-project.org>
https://lists.qt-project.org/listinfo/interest
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20211001/9db33bf1/attachment.html>


More information about the Interest mailing list