Re: [Development] Raising minimum CMake version to 3.16 for Qt6

2021-05-07 Thread Kai Köhne
> -Original Message-
> I'm not really remembering at the moment. The development hosts were
> already set to GCC9 for 6.0. So maybe GCC8 works, but we're not testing it
> anywhere (and that makes it basically unsupported). 

Well, we're still building things on Windows with gcc 8.1. See e.g.

https://testresults.qt.io/logs/qt/qt5/de93708ae5d95f77df85a130b5de546b2d46c1fe/WindowsWindows_10x86_64WindowsWindows_10x86_64Mingwqtci-windows-10-x86_64-52-d843faInsignificantTests_Sccache/d76ebc5a537502304acc418e6270be882de2a953/build_1620360977/log.txt.gz

> agent:2021/05/07 04:24:49 build.go:379: Building for: win32-g++ (x86_64, CPU 
> features: cx16 mmx sse sse2 sse3)
> agent:2021/05/07 04:24:49 build.go:379: Compiler: gcc 8.1.0

So it might have regressed in Unix specific parts, but overall we still support 
gcc 8.1.

Regards

Kai
___
Development mailing list
Development@qt-project.org
https://lists.qt-project.org/listinfo/development


Re: [Development] Raising minimum CMake version to 3.16 for Qt6

2021-05-06 Thread Joerg Bornemann

On 5/6/21 12:16 AM, Scott Bloom wrote:


One thing to consider here.

Visual Studio is now shipping CMake, its also getting updated for patches of a 
given version of VS, and is not the same from VS 2019 or VS 2017

I know of a couple of teams that are using the VS version of CMake on windows 
to alleviate the need for another install/setup app


Good point.
VS 2017 shouldn't be a concern, see [1].

I think we can assume that CMake 3.16 is available for VS 2019 users, or 
that it is easily made available by updating VS.
Anecdotal evidence: my VS 2019 installation, which is screaming for an 
update (16.8.2 -> 16.9.4) already ships CMake 3.18.



Cheers,

Joerg

[1] https://doc.qt.io/qt-6/supported-platforms.html
___
Development mailing list
Development@qt-project.org
https://lists.qt-project.org/listinfo/development


Re: [Development] Raising minimum CMake version to 3.16 for Qt6

2021-05-05 Thread Giuseppe D'Angelo via Development

Il 05/05/21 23:27, Thiago Macieira ha scritto:

Why was that?

I'm not opposed, just wondering, because I didn't see a discussion here.


I'm not really remembering at the moment. The development hosts were 
already set to GCC9 for 6.0. So maybe GCC8 works, but we're not testing 
it anywhere (and that makes it basically unsupported). I suspect it 
might actually choke on some of the QMetaType/constexpr/template magic.


https://bugreports.qt.io/browse/QTBUG-85851
https://bugreports.qt.io/browse/QTBUG-87943
https://codereview.qt-project.org/c/qt/qtdoc/+/321403

Thanks,
--
Giuseppe D'Angelo | giuseppe.dang...@kdab.com | Senior Software Engineer
KDAB (France) S.A.S., a KDAB Group company
Tel. France +33 (0)4 90 84 08 53, http://www.kdab.com
KDAB - The Qt, C++ and OpenGL Experts



smime.p7s
Description: Firma crittografica S/MIME
___
Development mailing list
Development@qt-project.org
https://lists.qt-project.org/listinfo/development


Re: [Development] Raising minimum CMake version to 3.16 for Qt6

2021-05-05 Thread Scott Bloom
One thing to consider here.

Visual Studio is now shipping CMake, its also getting updated for patches of a 
given version of VS, and is not the same from VS 2019 or VS 2017

I know of a couple of teams that are using the VS version of CMake on windows 
to alleviate the need for another install/setup app

Scott

-Original Message-
From: Development  On Behalf Of Thiago 
Macieira
Sent: Wednesday, May 5, 2021 14:28
To: development@qt-project.org
Subject: Re: [Development] Raising minimum CMake version to 3.16 for Qt6

On Wednesday, 5 May 2021 13:52:52 PDT Kyle Edwards via Development wrote:
> CMake upstream here. We recommend always using the very latest patch 
> version of CMake, since it is backwards compatible and can 
> (theoretically, bugs notwithstanding) build CMake projects written for 
> any earlier version of CMake. You are correct that upgrading CMake is 
> generally easy, though it admittedly may not be feasible if you insist 
> on sticking with the version provided by the distro (though we do 
> provide Ubuntu .deb builds of the latest version.)

Hello Kyle

Always using the latest is a good recommendation. The question is the minimum 
we can reasonably require the users to have installed. Upgrading is easy, but 
it's not as way as "$PKGCOMMAND install cmake" (where PKGCOMMAND is apt-get, 
zypper, dnf, yum, opkg, whatever), so requiring a version higher than the one 
users are likely to have creates a barrier for entry.

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



___
Development mailing list
Development@qt-project.org
https://lists.qt-project.org/listinfo/development
___
Development mailing list
Development@qt-project.org
https://lists.qt-project.org/listinfo/development


Re: [Development] Raising minimum CMake version to 3.16 for Qt6

2021-05-05 Thread Thiago Macieira
On Wednesday, 5 May 2021 13:47:46 PDT Giuseppe D'Angelo via Development wrote:
> Il 05/05/21 19:58, Thiago Macieira ha scritto:
> > 3.16.0 was tagged on Nov 2019, which is a little too close for comfort.
> > For
> > comparison, we require GCC 8, which was released in May 2018.
> 
> I have no idea about the whole CMake situation, but FTR, qtbase/dev (or
> even 6.1 already) has been bumped to GCC 9 minimum.

Why was that?

I'm not opposed, just wondering, because I didn't see a discussion here.

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



___
Development mailing list
Development@qt-project.org
https://lists.qt-project.org/listinfo/development


Re: [Development] Raising minimum CMake version to 3.16 for Qt6

2021-05-05 Thread Thiago Macieira
On Wednesday, 5 May 2021 13:52:52 PDT Kyle Edwards via Development wrote:
> CMake upstream here. We recommend always using the very latest patch
> version of CMake, since it is backwards compatible and can
> (theoretically, bugs notwithstanding) build CMake projects written for
> any earlier version of CMake. You are correct that upgrading CMake is
> generally easy, though it admittedly may not be feasible if you insist
> on sticking with the version provided by the distro (though we do
> provide Ubuntu .deb builds of the latest version.)

Hello Kyle

Always using the latest is a good recommendation. The question is the minimum 
we can reasonably require the users to have installed. Upgrading is easy, but 
it's not as way as "$PKGCOMMAND install cmake" (where PKGCOMMAND is apt-get, 
zypper, dnf, yum, opkg, whatever), so requiring a version higher than the one 
users are likely to have creates a barrier for entry.

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



___
Development mailing list
Development@qt-project.org
https://lists.qt-project.org/listinfo/development


Re: [Development] Raising minimum CMake version to 3.16 for Qt6

2021-05-05 Thread Kyle Edwards via Development

On 5/5/21 1:58 PM, Thiago Macieira wrote:

3.16.0 was tagged on Nov 2019, which is a little too close for comfort. For
comparison, we require GCC 8, which was released in May 2018.

However, given that no one has apparently complained and that upgrading cmake
is far easier than the compiler, I have no objections.


CMake upstream here. We recommend always using the very latest patch 
version of CMake, since it is backwards compatible and can 
(theoretically, bugs notwithstanding) build CMake projects written for 
any earlier version of CMake. You are correct that upgrading CMake is 
generally easy, though it admittedly may not be feasible if you insist 
on sticking with the version provided by the distro (though we do 
provide Ubuntu .deb builds of the latest version.)


Kyle

___
Development mailing list
Development@qt-project.org
https://lists.qt-project.org/listinfo/development


Re: [Development] Raising minimum CMake version to 3.16 for Qt6

2021-05-05 Thread Giuseppe D'Angelo via Development

Il 05/05/21 19:58, Thiago Macieira ha scritto:

3.16.0 was tagged on Nov 2019, which is a little too close for comfort. For
comparison, we require GCC 8, which was released in May 2018.


I have no idea about the whole CMake situation, but FTR, qtbase/dev (or 
even 6.1 already) has been bumped to GCC 9 minimum.



My 2 c,
--
Giuseppe D'Angelo | giuseppe.dang...@kdab.com | Senior Software Engineer
KDAB (France) S.A.S., a KDAB Group company
Tel. France +33 (0)4 90 84 08 53, http://www.kdab.com
KDAB - The Qt, C++ and OpenGL Experts



smime.p7s
Description: Firma crittografica S/MIME
___
Development mailing list
Development@qt-project.org
https://lists.qt-project.org/listinfo/development


Re: [Development] Raising minimum CMake version to 3.16 for Qt6

2021-05-05 Thread Ahmad Samir

On 05/05/2021 19:58, Thiago Macieira wrote:

On Tuesday, 4 May 2021 21:51:36 PDT EXT Craig Scott wrote:

Given that we haven’t received any reports about this from user projects in
the year since the code added this constraint, and that we expect to rely
more on the metatypes going forward rather than less, the CMake Ports team
proposes to raise the minimum CMake version for user projects to CMake
3.16. From what we can tell, the original target of 3.14 was likely based
on the CMake versions available in major Linux distributions at the time,
but 3.16 or later now seems to be widely enough available (Ubuntu 20.04 is
the main blocker for being able to go any higher than 3.16).


3.16.0 was tagged on Nov 2019, which is a little too close for comfort. For
comparison, we require GCC 8, which was released in May 2018.

However, given that no one has apparently complained and that upgrading cmake
is far easier than the compiler, I have no objections.



FWIW, on the Linux side, for KDE Frameworks we asked on the distributi...@kde.org ML that same 
question recently, maybe the answers in that thread can help you:


https://mail.kde.org/pipermail/distributions/2021-March/000970.html

Have a good day.

--
Ahmad Samir
___
Development mailing list
Development@qt-project.org
https://lists.qt-project.org/listinfo/development


Re: [Development] Raising minimum CMake version to 3.16 for Qt6

2021-05-05 Thread Thiago Macieira
On Tuesday, 4 May 2021 21:51:36 PDT EXT Craig Scott wrote:
> Given that we haven’t received any reports about this from user projects in
> the year since the code added this constraint, and that we expect to rely
> more on the metatypes going forward rather than less, the CMake Ports team
> proposes to raise the minimum CMake version for user projects to CMake
> 3.16. From what we can tell, the original target of 3.14 was likely based
> on the CMake versions available in major Linux distributions at the time,
> but 3.16 or later now seems to be widely enough available (Ubuntu 20.04 is
> the main blocker for being able to go any higher than 3.16).

3.16.0 was tagged on Nov 2019, which is a little too close for comfort. For 
comparison, we require GCC 8, which was released in May 2018.

However, given that no one has apparently complained and that upgrading cmake 
is far easier than the compiler, I have no objections.

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



___
Development mailing list
Development@qt-project.org
https://lists.qt-project.org/listinfo/development