C

CMake Reference

CMake variable reference

QUL_BOARD_SDK_DIR

Path to the target platform Software Development Kit (SDK)

QUL_COLOR_DEPTH

Bits of display color depth to build for.

QUL_DEBUG_BYTECODE

Adds JavaScript bytecode as comments into generated sources.

QUL_DEBUG_LINE_DIRECTIVES

Adds #line directives into the generated sources.

QUL_FREERTOS_HEAP_POLICY

Select FreeRTOS heap policy for app_target_setup_os.

QUL_OS

Choose OS for app_* convenience functions.

QUL_PLATFORM

Name of the platform to build for.

QUL_PLATFORM_DEFAULT_RESOURCE_PIXEL_FORMAT_ALPHA

The default pixel format for transparent image assets.

QUL_PLATFORM_DEFAULT_RESOURCE_PIXEL_FORMAT_OPAQUE

The default pixel format for opaque image assets.

QUL_TARGET_TOOLCHAIN_DIR

Path to the target toolchain

CMake target properties reference

QUL_AUTO_GENERATE_GLYPHS

This option controls automatic glyph generation.

QUL_COMPLEX_TEXT_RENDERING

Enables rendering complex scripts.

QUL_CONTROLS_STYLE

Overrides the Controls style.

QUL_DEFAULT_FONT_FAMILY

Default font family for Text elements.

QUL_DEFAULT_FONT_QUALITY

Default font quality for Text elements.

QUL_FONT_CACHE_PREALLOC

Controls preallocation of the font cache buffer.

QUL_FONT_CACHE_PRIMING

Enable font cache priming.

QUL_FONT_CACHE_SIZE

Set maximum cache size used by font engine.

QUL_FONT_ENGINE

Enables provided font engine.

QUL_FONT_FILES

List of paths of font files.

QUL_FONT_FILES_RESOURCE_CACHE_POLICY

Configure copying of the application's font files to RAM for faster access.

QUL_FONT_FILES_RESOURCE_RUNTIME_ALLOCATION_TYPE

Configure runtime allocation type used when copying the application's font files to RAM.

QUL_FONT_FILES_RESOURCE_STORAGE_SECTION

Configure the resource storage section used for the application's font files.

QUL_FONT_HEAP_PREALLOC

Controls preallocation of the heap buffer used by font engine.

QUL_FONT_HEAP_SIZE

Set maximum heap size for the font engine.

QUL_FONT_VECTOR_OUTLINES_DRAWING

Use vector outlines for text rendering.

QUL_GLYPHS_RESOURCE_CACHE_POLICY

Configure copying of pre-rasterized glyph data to RAM for faster access.

QUL_GLYPHS_RESOURCE_RUNTIME_ALLOCATION_TYPE

Configure runtime allocation type used when copying pre-rasterized glyph data to RAM.

QUL_GLYPHS_RESOURCE_STORAGE_SECTION

Configure the resource storage section used for pre-rasterized glyph data.

QUL_MAX_PARAGRAPH_SIZE

Set the maximum paragraph size.

CMake source file properties

QUL_RESOURCE_CACHE_POLICY

Define the image cache policy.

QUL_RESOURCE_COMPRESSION

Store image in compressed format.

QUL_RESOURCE_IMAGE_PIXEL_FORMAT

Set the preferred pixel format for the image.

QUL_RESOURCE_OPTIMIZE_FOR_ROTATION

Enable optimizations for rotating the image at runtime.

QUL_RESOURCE_OPTIMIZE_FOR_SCALE

Enable optimizations for scaling the image at runtime.

QUL_RESOURCE_RUNTIME_ALLOCATION_TYPE

Define the asset runtime allocation type.

QUL_RESOURCE_STORAGE_SECTION

Define the asset storage section.

CMake command reference

app_target_default_entrypoint

Adds a minimal entry point function to target

app_target_setup_os

Set up target for platform OS.

qul_add_qml_module

Creates a target for a QML module.

qul_add_resource

Adds image resources to the target.

qul_add_target

Creates a Qt Quick Ultralite application target.

qul_set_maximum_resource_cache_size

Sets the maximum resource cache size for a given runtime allocation type.

qul_target_embed_translations

Embeds translations from .ts files.

qul_target_generate_interfaces

Exposes the exported C++ classes to the QML context.

qul_target_qml_sources

Adds QML source files to a target.

Available under certain Qt licenses.
Find out more.