On 11/25/20 4:22 PM, Thiago Macieira wrote:
What is the one generated in qtbase/lib/cmake/Qt6/qt.toolchain.cmake for?
There, we store information specific to the build of qtbase.
It's passed to CMake when you call qt-cmake / qt-configure-module to
build further parts of Qt.
CMake allows onl
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)
> >
> >
Development on behalf of Thiago
Macieira
Sent: Wednesday, November 25, 2020 4:22 PM
To: development@qt-project.org
Subject: Re: [Development] How to build 32-bit Qt with Qt6/CMake
On Wednesday, 25 November 2020 05:16:58 PST Joerg Bornemann wrote:
> This looks correct so far. A small improve
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.
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
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