C
Qt Quick Ultralite timeline Example
# Copyright (C) 2026 The Qt Company Ltd.
# SPDX-License-Identifier: LicenseRef-Qt-Commercial
cmake_minimum_required(VERSION 3.21.1)
project(timeline VERSION 0.0.1 LANGUAGES C CXX ASM)
find_package(QulApp)
if(QUL_PLATFORM MATCHES "autosar")
qul_add_library(timeline)
else()
qul_add_executable(timeline)
endif()
qul_add_qml_module(timeline
URI TimelineApp
QML_FILES timeline.qml
)
target_link_libraries(timeline PRIVATE Qul::Timeline)
app_target_setup_os(timeline)
app_target_default_entrypoint(timeline timeline MODULE TimelineApp)
if(NOT CMAKE_CROSSCOMPILING AND NOT WIN32)
add_custom_command(TARGET timeline
COMMAND strip timeline -o timeline.stripped
DEPENDS timeline)
endif()