C

Qt Quick Ultralite camera Example

cmake_minimum_required (VERSION 3.17.3)

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

qul_add_target(camera)
qul_add_resource(camera FILES bg_qt.png)
qul_target_generate_interfaces(camera camerainterface.h)
qul_target_qml_sources(camera camera.qml)
app_target_setup_os(camera)
app_target_default_entrypoint(camera camera)

add_subdirectory(platform)

target_link_libraries(camera Qul::QuickUltralitePlatform Qul::QuickUltraliteControlsStyleDefault)