C

Qt Quick Ultralite listmodel Example

cmake_minimum_required (VERSION 3.15)

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

add_executable(listmodel)
qul_target_generate_interfaces(listmodel mylistmodel.h)
qul_target_qml_sources(listmodel listmodel.qml)
target_link_libraries(listmodel Qul::QuickUltralite Qul::QuickUltraliteControlsStyleDefault)
app_target_setup_os(listmodel)
app_target_default_main(listmodel listmodel)