C

QUL_TARGET_TOOLCHAIN_DIR

Description

This variable sets the toolchain location for the supported toolchains. It is required for the toolchain files provided with the Qt Quick Ultralite packages.

Note: The toolchain located in the given QUL_TARGET_TOOLCHAIN_DIR must match the toolchain specified in CMAKE_TOOLCHAIN_FILE.

QUL_ROOT and QUL_TOOLS are used in the command line examples below as if they were set as environment variables. For example:

export QUL_ROOT=$HOME/Qt/QtMCUs/2.10.0
export QUL_TOOLS=$HOME/Qt/Tools/QtMCUs
set QUL_ROOT=C:\Qt\QtMCUs\2.10.0
set QUL_TOOLS=C:\Qt\Tools\QtMCUs

Example

cmake .. -G "Ninja" -DQul_ROOT=%QUL_ROOT% -DQUL_PLATFORM=MIMXRT1050-EVK-baremetal -DCMAKE_TOOLCHAIN_FILE=%QUL_ROOT%\lib\cmake\Qul\toolchain\armgcc.cmake -DQUL_TARGET_TOOLCHAIN_DIR=%QUL_TOOLS%\arm_gcc_12_3_1 -DQUL_BOARD_SDK_DIR=%QUL_TOOLS%\NXP\SDK_2_15_000_EVKB-IMXRT1050 -DQUL_GENERATORS=..\lib\cmake\Qul\QulGenerators.cmake

See also Getting Started with CMake.

Available under certain Qt licenses.
Find out more.