C

CMake API changes in 2.0

CMake API was adjusted to the naming policy below:

PrefixIntended 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

BeforeNow
OSQUL_OS
SDK_DIRQUL_BOARD_SDK_DIR
TOOLCHAIN_DIRQUL_TARGET_TOOLCHAIN_DIR
FREERTOS_HEAP_POLICYQUL_FREERTOS_HEAP_POLICY
QUL_ARCHITECTUREQUL_PLATFORM_ARCHITECTURE
QUL_ARCHITECTURE_FILEQUL_PLATFORM_ARCHITECTURE_FILE
QUL_DEFAULT_SCREEN_WIDTHQUL_PLATFORM_DEFAULT_SCREEN_WIDTH
QUL_DEFAULT_SCREEN_HEIGHTQUL_PLATFORM_DEFAULT_SCREEN_HEIGHT
EXCLUDED_DEMOSQUL_PLATFORM_EXCLUDED_DEMOS
QUL_INTERNAL_ALPHA_OPTIONSQUL_PLATFORM_RESOURCE_ALPHA_OPTIONS
QUL_DEFAULT_INTERNAL_ALPHA_OPTIONSQUL_PLATFORM_DEFAULT_RESOURCE_ALPHA_OPTIONS
QUL_OPTIMIZE_FOR_ROTATIONQUL_RESOURCE_OPTIMIZE_FOR_ROTATION
QUL_OPTIMIZE_FOR_SCALEQUL_RESOURCE_OPTIMIZE_FOR_SCALE
QUL_COMPRESSIONQUL_RESOURCE_COMPRESSION
MCUXpressoIDE_PATHMCUXPRESSO_IDE_PATH
stm32programmerSTM32_PROGRAMMER_PATH
RenesasFlashProgrammer_PATHRENESAS_FLASH_PROGRAMMER_PATH
CYPRESS_AUTO_FLASH_UTILITY_DIRINFINEON_AUTO_FLASH_UTILITY_DIR
QUL_MONOTYPE_SPARK_CACHE_PRIMINGQUL_FONT_CACHE_PRIMING
QUL_MONOTYPE_SPARK_CACHE_SIZEQUL_FONT_CACHE_SIZE
QUL_MONOTYPE_SPARK_HEAP_SIZEQUL_FONT_HEAP_SIZE
QUL_MONOTYPE_SPARK_VECTOR_OUTLINESQUL_FONT_VECTOR_OUTLINES_DRAWING.
QUL_MONOTYPE_SPARK_CACHE_NO_PREALLOC and QUL_MONOTYPE_SPARK_HEAP_NO_PREALLOCQUL_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_FILEQUL_FONT_FILES
QUL_PLATFORM_DEFAULT_ASSET_PIXEL_FORMAT_ALPHA and QUL_PLATFORM_DEFAULT_ASSET_PIXEL_FORMAT_OPAQUEQUL_PLATFORM_DEFAULT_RESOURCE_PIXEL_FORMAT_ALPHA and QUL_PLATFORM_DEFAULT_RESOURCE_PIXEL_FORMAT_OPAQUE
IMAGE_CACHE_SIZEqul_set_maximum_resource_cache_size
qul_add_default_linker_scriptqul_platform_add_default_linker_script
app_target_default_main()app_target_default_entrypoint()

Renamed CMake targets

Renamed the following CMake targets:

Old nameNew name
Qul::QuickUltraliteQul::Core
Qul::QuickUltraliteControlsStyleDefaultQul::Controls
Qul::QuickUltraliteTemplatesQul::ControlsTemplates
Qul::QuickUltraliteShapesQul::Shapes
Qul::QuickUltraliteTimelineQul::Timeline
Qul::QuickUltralitePNGDecoderNullQul::PNGDecoderNull
Qul::QuickUltralitePNGDecoderLodePNGQul::PNGDecoderLodePNG
Qul::QuickUltraliteDeviceLinkQul::DeviceLink
Qul::QuickUltralitePlatformQul::Platform
Qul::QuickUltralitePlatformBSPQul::PlatformBSP
Qul::QuickUltralitePlatformBSPConfigQul::PlatformBSPConfig
Qul::QuickUltralitePlatformDefaultLinkerScriptQul::PlatformDefaultLinkerScript
Qul::QuickUltraliteArchitectureQul::PlatformArchitecture
Qul::QuickUltraliteTraveoIIExtrasQul::PlatformTraveoIIExtras
Qul::MonotypeSparkIntegrationQul::MonotypeSpark

Removed APIs

The following table lists the removed APIs and the corresponding alternatives.

Removed APIAlternative API
QUL_COPY_TO_RAM
EK_RA6M3G_FSP_PATHQUL_BOARD_SDK_DIR
QUL_STATIC_NO_PRELOAD_ASSET_SEGMENT and QUL_STATIC_ASSET_SEGMENTMemory allocator API

See Preloading Qt Quick Ultralite internal resources for more information.

QUL_TEXTURE_CACHEqul_set_maximum_resource_cache_size and QUL_RESOURCE_CACHE_POLICY

See Image Caching for more information.

Available under certain Qt licenses.
Find out more.