C

Qt Quick Ultralite minimal Example

cmake_minimum_required (VERSION 3.17.3)

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

qul_add_target(minimal)
qul_target_qml_sources(minimal minimal.qml)
app_target_setup_os(minimal)
app_target_default_entrypoint(minimal minimal)

if(NOT CMAKE_CROSSCOMPILING AND NOT WIN32)
    add_custom_command(TARGET minimal
        COMMAND strip minimal -o minimal.stripped
        DEPENDS minimal)
endif()