C

Qt Quick Ultralite font_quality Example

cmake_minimum_required (VERSION 3.17.3)

project(font_quality VERSION 0.0.1 LANGUAGES C CXX ASM)
if (NOT TARGET Qul::QuickUltralite)
    find_package(Qul)
endif()

qul_add_target(font_quality)

set_target_properties(font_quality PROPERTIES
    QUL_AUTO_GENERATE_GLYPHS OFF
    QUL_DEFAULT_FONT_QUALITY "VeryLow")

qul_target_qml_sources(font_quality font_quality.qml)
app_target_setup_os(font_quality)
app_target_default_entrypoint(font_quality font_quality)

qul_add_target(font_quality_all_glyphs)

set_target_properties(font_quality_all_glyphs PROPERTIES
    QUL_AUTO_GENERATE_GLYPHS ON
    QUL_DEFAULT_FONT_QUALITY "VeryLow")

qul_target_qml_sources(font_quality_all_glyphs font_quality.qml)
app_target_setup_os(font_quality_all_glyphs)
app_target_default_entrypoint(font_quality_all_glyphs font_quality)