[Development] How to build 32-bit Qt with Qt6/CMake

2020-11-24 Thread Thiago Macieira
Like the "How to build unit tests & examples on demand with Qt6/CMake?" thread, now I need to build a 32-bit build of Qt but I don't know how. TL;DR: need to set PKG_CONFIG_LIBDIR in the environment and pass to cmake: -DCMAKE_ASM_FLAGS=-m32 -DCMAKE_C_FLAGS=-m32\ -O0 -DCMAKE_CXX_FLAGS=-m32\ -O

Re: [Development] QVariant::operator< deprecation fallout

2020-11-24 Thread Giuseppe D'Angelo via Development
On 24/11/2020 16:40, Giuseppe D'Angelo via Development wrote: [*] IIUC, that'd be: -DQT_DISABLE_DEPRECATED_BEFORE=0x060001 Then, should it actually be deprecated as 5.255? So asking for 6.0.*0* deprecations would flag it. Well, I've marked everything as 6.0. https://codereview.qt-project.org

Re: [Development] QVariant::operator< deprecation fallout

2020-11-24 Thread Edward Welbourne
>>> I'm guessing you meant generic / special. I'm more keen on keeping >>> everything deprecated, but with a special macro. (Or maybe just bump >>> the deprecation version to 6.0 instead of 5.15?) On 24/11/2020 16:29, Edward Welbourne wrote: >> I think changing the version to 6.0 is a sane option.

Re: [Development] QVariant::operator< deprecation fallout

2020-11-24 Thread Giuseppe D'Angelo via Development
On 24/11/2020 16:29, Edward Welbourne wrote: I'm guessing you meant generic / special. I'm more keen on keeping everything deprecated, but with a special macro. (Or maybe just bump the deprecation version to 6.0 instead of 5.15?) I think changing the version to 6.0 is a sane option. It'll leave

Re: [Development] QVariant::operator< deprecation fallout

2020-11-24 Thread Edward Welbourne
On 23/11/2020 08:48, Fabian Kosmale wrote: >> I think we should at least_somehow_ deprecate operator<; but I'm not >> sure if it should be a special deprecation macro, or a special one. Giuseppe D'Angelo (23 November 2020 15:47) wrote: > I'm guessing you meant generic / special. I'm more keen on k