QUL_COLOR_DEPTH

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: "16", "24", or "32". The default value depends on the selected platform.

范例

cmake .. -DQUL_PLATFORM=MIMXRT1050-EVK-baremetal -DQUL_COLOR_DEPTH=16 -DCMAKE_TOOLCHAIN_FILE=$Qul_DIR/lib/cmake/Qul/toolchain/armgcc.cmake -DCMAKE_BUILD_TYPE=MinSizeRel
							

The supported values for each board are listed in the board-specific instruction pages (see 支持的目标板和开发主机 ).

Since

This variable was introduced in Qt Quick Ultralite 1.0.

另请参阅 QUL_PLATFORM .