[Interest] Compile Qt 6.2.1 from source

Mitch Curtis mitch.curtis at qt.io
Fri Oct 1 15:55:23 CEST 2021


For some reason when I reply all to your messages they only go to you. So, explicitly adding the interest list back in:

You could try using less “jobs” when building:

https://stackoverflow.com/a/31132630

I’ve had to do this on my macOS machine to allow me to still use it while building.

From: Interest <interest-bounces at qt-project.org> On Behalf Of joao morgado via Interest
Sent: Friday, 1 October 2021 3:26 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<mailto: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<mailto: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/b988807b/attachment.html>


More information about the Interest mailing list