[Development] The sorry state of the Qt6 cross compile experience

Kevin Kofler kevin.kofler at chello.at
Tue Feb 23 13:53:11 CET 2021

You have some valid complaints, but:

BogDan Vatra via Development wrote:
> - the cross build installation is broken, instead to copy the tools from
> the QT_HOST_TOOLS folder,  it creates some scripts that has hardcoded
> paths to QT_HOST_TOOLS which runs the scripts from QT_HOST_TOOLS folder.
> Of course this makes the installation unusable on another computer. Even
> the "lib/cmake/Qt6/ qt.toolchain.cmake" contains hardcoded paths...

In distribution packaging, that is exactly what we want: in the packaged 
cross Qt, use the known paths to our packaged host Qt instead of guessing 
them at runtime (and often guessing wrong).

So, as Marius Kittler also said, it depends on your use case.

        Kevin Kofler

More information about the Development mailing list