C

QUL_PLATFORM

Name of the platform to build for.

Description

This required variable selects the platform to build for.

The list of available platforms depends on the installed Qt Quick Ultralite package. The supported values for each board are listed in the board-specific instruction pages (see Supported Target Boards and Development Hosts).

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.

Example

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

Since

This variable was introduced in Qt Quick Ultralite 1.0.

See also Getting Started with CMake.

Available under certain Qt licenses.
Find out more.