Bits of display color depth to build for.
Set this variable to choose between different color depths available for the target QUL_PLATFORM.
Must be set to an available color depth: "8", "16", "24", or "32". The default value depends on the selected platform.
Note: This page uses
QUL_TOOLS in command line examples as if they were set as environment variables. They could be set for example:
export QUL_ROOT=$HOME/Qt/QtMCUs/2.0.0 export QUL_TOOLS=$HOME/Qt/Tools/QtMCUs
set QUL_ROOT=C:\Qt\QtMCUs\2.0.0 set QUL_TOOLS=C:\Qt\Tools\QtMCUs
cmake .. -DQUL_PLATFORM=MIMXRT1050-EVK-baremetal -DQUL_COLOR_DEPTH=16 -DCMAKE_TOOLCHAIN_FILE=$QUL_ROOT/lib/cmake/Qul/toolchain/armgcc.cmake -DQUL_TARGET_TOOLCHAIN_DIR=$QUL_TOOLS/arm_gcc_9 -DSDK_DIR=$QUL_TOOLS/NXP/SDK_2.10.0_EVKB_IMXRT1050 -DCMAKE_BUILD_TYPE=MinSizeRel
The supported values for each board are listed in the board-specific instruction pages (see Supported Target Boards and Development Hosts).
This variable was introduced in Qt Quick Ultralite 1.0.
See also QUL_PLATFORM.
Available under certain Qt licenses.
Find out more.