C
CMake Manual
The CMake build tool simplifies the build process for development projects across different platforms. It automatically generates build systems, such as Makefiles and Visual Studio project files.
CMake is a third-party tool with its own documentation. This topic describes how to use CMake with Qt Quick Ultralite.
Table of contents
- Getting Started with CMake
- CMake Reference
- CMake Variable Reference
Ignore deprecation warnings when using cmake functions and flags replaced by QmlProject
Lets you control how to include the binary asset data for the image resources
Path to the target platform Software Development Kit (SDK)
Bits of display color depth to build for.
Select FreeRTOS heap policy for app_target_setup_os.
Choose OS for app_* convenience functions.
Name of the platform to build for.
Default number of frames required to preserve assets in text cache
The default status of text cache for the given platform
The default text cache size in bytes
Enables the device link component
If enabled the platform will adopt a partial framebuffer strategy.
The render batch height for the given platform
Software support for vector graphics
Path to the target toolchain
Deprecated CMake Variables list:
Adds JavaScript bytecode as comments into generated sources.
Adds #line directives into the generated sources.
QUL_PLATFORM_DEFAULT_RESOURCE_COMPRESSED_LOSSLESS_PIXEL_FORMAT_ALPHA
The default pixel format for lossless compression of transparent image assets.
QUL_PLATFORM_DEFAULT_RESOURCE_COMPRESSED_LOSSLESS_PIXEL_FORMAT_OPAQUE
The default pixel format for lossless compression of opaque image assets.
The default pixel format for transparent image assets.
The default pixel format for opaque image assets.
The minimum alignment required for image data on the given platform.
The image width will be a multiple of this value on the given platform.
- CMake Target Properties Reference (Deprecated)
This option controls automatic glyph generation.
Enables rendering complex scripts.
Overrides the Controls style.
Default font family for Text elements.
Default font quality for Text elements.
Controls preallocation of the font cache buffer.
Enable font cache priming.
Set maximum cache size used by font engine.
Enables provided font engine.
List of paths of font files.
Configure copying of the application's font files to RAM for faster access.
Configure runtime allocation type used when copying the application
Configure the resource storage section used for the application
Controls preallocation of the heap buffer used by font engine.
Set maximum heap size for the font engine.
Use vector outlines for text rendering.
Configure copying of pre-rasterized glyph data to RAM for faster access.
Configure runtime allocation type used when copying pre-rasterized glyph data to RAM.
Configure the resource storage section used for pre-rasterized glyph data.
Set the maximum paragraph size.
- CMake Source File Properties
Deprecated source file properties list:
Byte alignment for texture data
Define the image cache policy.
Store image in compressed format.
Set the preferred pixel format for the image.
Enable optimizations for rotating the image at runtime.
Enable optimizations for scaling the image at runtime.
Define the asset runtime allocation type.
Enable optimization for splitting the image into opaque segments
Define the asset storage section.
- CMake Command Reference
Adds a minimal entry point function to target
Set up target for platform OS.
Creates a Qt Quick Ultralite application target.
Generates a flash target for the application.
Deprecated CMake Commands list:
Creates a target for a QML module.
Adds image resources to the target.
Sets the maximum resource cache size for a given runtime allocation type.
Embeds translations from .ts files.
Exposes the exported C
Adds QML source files to a target.
- CMake Variable Reference
Available under certain Qt licenses.
Find out more.