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

2020-11-25 Thread Lisandro Damián Nicanor Pérez Meyer
On Wed, 25 Nov 2020 at 12:23, Thiago Macieira wrote: > > On Wednesday, 25 November 2020 05:16:58 PST Joerg Bornemann wrote: > > This looks correct so far. A small improvement would be to put all this > > into a CMake toolchain file and additionally do > > set(CMAKE_SYSTEM_NAME Linux) > > > >

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

2020-11-25 Thread Cristian Adam
On my Ubuntu 20.04 x86_64 I've build Qt6Base x86 like this: 1. Upgrade the compiler: sudo apt install g++-9-multilib 2. Install dev packages: sudo dpkg --add-architecture i386 sudo apt-get update sudo apt-get install '^libxcb.*-dev:i386' libx11-xcb-dev:i386 libglu1-mesa-dev:i386 libxrender

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

2020-11-25 Thread Thiago Macieira
On Wednesday, 25 November 2020 05:16:58 PST Joerg Bornemann wrote: > This looks correct so far. A small improvement would be to put all this > into a CMake toolchain file and additionally do > set(CMAKE_SYSTEM_NAME Linux) > > Then you can cross-build with -DCMAKE_TOOLCHAIN_FILE=x86-toolchain.

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

2020-11-25 Thread Joerg Bornemann
On 11/24/20 9:32 PM, Thiago Macieira wrote: 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

[Development] Qt 6.0.0 RC released

2020-11-25 Thread Jani Heikkinen
Hi Everyone, We have published Qt 6.0 RC today. You can update/add it to the existing online installation by using the maintenance tool or use the qt online installer to do a new installation. src packages are available in the qtaccount and in the download.qt.io as well. Delta to the beta5 att