C

Qt Quick Ultralite layers Example

cmake_minimum_required (VERSION 3.15)

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

qul_add_target(layers)

set_source_files_properties(
    background-big.png
    PROPERTIES
        QUL_IMAGE_COLOR_DEPTH 16
)

qul_add_resource(layers
    FILES
        qt-logo.png
        background-big.png
)

qul_target_qml_sources(layers layers.qml AnimatingItemLayer.qml MovingImageLayer.qml)

app_target_setup_os(layers)
app_target_default_entrypoint(layers layers)