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

Joerg Bornemann joerg.bornemann at qt.io
Mon Nov 30 09:53:16 CET 2020


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 only one toolchain file. To run above scripts with an 
additional toolchain file, pass -DQT_CHAINLOAD_TOOLCHAIN_FILE=<filepath>.


Cheers,

Joerg


More information about the Development mailing list