Name of the platform to build for.


This required variable selects the platform to build for.

The list of available platforms depends on the installed Qt Quick Ultralite package. Here is a selection of potentially available platforms:

ValuePlatformDisplay Color DepthToolchain
"Qt"Desktop Qt application32-bit onlydefault host toolchain
"stm32f7508-discovery"STM32F7508 Discovery Kit16-bit or 32-bitarmgcc
"stm32f769i-discovery"STM32F769i Discovery Kit32-bit onlyarmgcc
"stm32f469i-discovery"STM32F469i Discovery Kitarmgcc
"stm32h750b-discovery"STM32H750b Discovery Kitarmgcc
"stm32l4r9i-discovery"STM32F4R9i Discovery Kitarmgcc
"stm32l4r9i-eval"STM32F4R9i Evaluation Boardarmgcc
"mimxrt1050-evk"i.MX RT1050 Evaluation Kit16-bit onlyarmgcc
"mimxrt1060-evk"i.MX RT1060 Evaluation Kitarmgcc
"mimxrt1064-evk"i.MX RT1064 Evaluation Kitarmgcc
"rh850-d1m1a"Renesas RH850/D1M1A32-bit onlyghs

Note: You must set the CMAKE_TOOLCHAIN_FILE variable to a compatible toolchain.

Use the QUL_COLOR_DEPTH variable to choose the Qt Quick Ultralite library for the desired color depth.


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


This variable was introduced in Qt Quick Ultralite 1.0.

See also Getting Started with CMake.

Available under certain Qt licenses.
Find out more.