C
CMake API changes in 2.0
CMake API was adjusted to the naming policy below:
Prefix | Intended access |
---|---|
QUL_* | Public |
QUL_PLATFORM_* | Public, platform developers |
QUL_PRIVATE_* | Private, internal |
Important changes
The following subsections summarize the changes to the CMake API.
Renamed APIs
Before | Now |
---|---|
OS | QUL_OS |
SDK_DIR | QUL_BOARD_SDK_DIR |
TOOLCHAIN_DIR | QUL_TARGET_TOOLCHAIN_DIR |
FREERTOS_HEAP_POLICY | QUL_FREERTOS_HEAP_POLICY |
QUL_ARCHITECTURE | QUL_PLATFORM_ARCHITECTURE |
QUL_ARCHITECTURE_FILE | QUL_PLATFORM_ARCHITECTURE_FILE |
QUL_DEFAULT_SCREEN_WIDTH | QUL_PLATFORM_DEFAULT_SCREEN_WIDTH |
QUL_DEFAULT_SCREEN_HEIGHT | QUL_PLATFORM_DEFAULT_SCREEN_HEIGHT |
EXCLUDED_DEMOS | QUL_PLATFORM_EXCLUDED_DEMOS |
QUL_INTERNAL_ALPHA_OPTIONS | QUL_PLATFORM_RESOURCE_ALPHA_OPTIONS |
QUL_DEFAULT_INTERNAL_ALPHA_OPTIONS | QUL_PLATFORM_DEFAULT_RESOURCE_ALPHA_OPTIONS |
QUL_OPTIMIZE_FOR_ROTATION | QUL_RESOURCE_OPTIMIZE_FOR_ROTATION |
QUL_OPTIMIZE_FOR_SCALE | QUL_RESOURCE_OPTIMIZE_FOR_SCALE |
QUL_COMPRESSION | QUL_RESOURCE_COMPRESSION |
MCUXpressoIDE_PATH | MCUXPRESSO_IDE_PATH |
stm32programmer | STM32_PROGRAMMER_PATH |
RenesasFlashProgrammer_PATH | RENESAS_FLASH_PROGRAMMER_PATH |
CYPRESS_AUTO_FLASH_UTILITY_DIR | INFINEON_AUTO_FLASH_UTILITY_DIR |
QUL_MONOTYPE_SPARK_CACHE_PRIMING | QUL_FONT_CACHE_PRIMING |
QUL_MONOTYPE_SPARK_CACHE_SIZE | QUL_FONT_CACHE_SIZE |
QUL_MONOTYPE_SPARK_HEAP_SIZE | QUL_FONT_HEAP_SIZE |
QUL_MONOTYPE_SPARK_VECTOR_OUTLINES | QUL_FONT_VECTOR_OUTLINES_DRAWING. |
QUL_MONOTYPE_SPARK_CACHE_NO_PREALLOC and QUL_MONOTYPE_SPARK_HEAP_NO_PREALLOC | QUL_FONT_CACHE_PREALLOC and QUL_FONT_HEAP_PREALLOC |
QUL_GLYPHS_COPY_TO_RAM and QUL_FONT_FILES_COPY_TO_RAM | |
QUL_FONTS_DIR and QUL_MONOTYPE_SPARK_FONT_FILE | QUL_FONT_FILES |
QUL_PLATFORM_DEFAULT_ASSET_PIXEL_FORMAT_ALPHA and QUL_PLATFORM_DEFAULT_ASSET_PIXEL_FORMAT_OPAQUE | QUL_PLATFORM_DEFAULT_RESOURCE_PIXEL_FORMAT_ALPHA and QUL_PLATFORM_DEFAULT_RESOURCE_PIXEL_FORMAT_OPAQUE |
IMAGE_CACHE_SIZE | qul_set_maximum_resource_cache_size |
qul_add_default_linker_script | qul_platform_add_default_linker_script |
app_target_default_main() | app_target_default_entrypoint() |
Renamed CMake targets
Renamed the following CMake targets:
Old name | New name |
---|---|
Qul::QuickUltralite | Qul::Core |
Qul::QuickUltraliteControlsStyleDefault | Qul::Controls |
Qul::QuickUltraliteTemplates | Qul::ControlsTemplates |
Qul::QuickUltraliteShapes | Qul::Shapes |
Qul::QuickUltraliteTimeline | Qul::Timeline |
Qul::QuickUltralitePNGDecoderNull | Qul::PNGDecoderNull |
Qul::QuickUltralitePNGDecoderLodePNG | Qul::PNGDecoderLodePNG |
Qul::QuickUltraliteDeviceLink | Qul::DeviceLink |
Qul::QuickUltralitePlatform | Qul::Platform |
Qul::QuickUltralitePlatformBSP | Qul::PlatformBSP |
Qul::QuickUltralitePlatformBSPConfig | Qul::PlatformBSPConfig |
Qul::QuickUltralitePlatformDefaultLinkerScript | Qul::PlatformDefaultLinkerScript |
Qul::QuickUltraliteArchitecture | Qul::PlatformArchitecture |
Qul::QuickUltraliteTraveoIIExtras | Qul::PlatformTraveoIIExtras |
Qul::MonotypeSparkIntegration | Qul::MonotypeSpark |
Removed APIs
The following table lists the removed APIs and the corresponding alternatives.
Removed API | Alternative API |
---|---|
QUL_COPY_TO_RAM | |
EK_RA6M3G_FSP_PATH | QUL_BOARD_SDK_DIR |
QUL_STATIC_NO_PRELOAD_ASSET_SEGMENT and QUL_STATIC_ASSET_SEGMENT | Memory allocation in Qt Quick Ultralite platform abstraction See Preloading Qt Quick Ultralite internal resources for more information. |
QUL_TEXTURE_CACHE | qul_set_maximum_resource_cache_size and QUL_RESOURCE_CACHE_POLICY See Image Caching for more information. |
Available under certain Qt licenses.
Find out more.