C

Qt Quick Ultralite font_quality Example

cmake_minimum_required (VERSION 3.15)

project(font_quality VERSION 0.0.1 LANGUAGES C CXX ASM ASM_MASM)
if (NOT TARGET Qul::Core)
    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)