2022-05-31 21:26:41 +00:00
|
|
|
# Controls specialized on user workflows
|
2022-07-04 21:14:13 +00:00
|
|
|
project(Status_Application_Navigation)
|
2022-05-31 21:26:41 +00:00
|
|
|
|
|
|
|
set(QT_NO_CREATE_VERSIONLESS_FUNCTIONS true)
|
|
|
|
|
|
|
|
find_package(Qt6 ${STATUS_QT_VERSION} COMPONENTS Quick Qml REQUIRED)
|
|
|
|
qt6_standard_project_setup()
|
|
|
|
|
|
|
|
set_source_files_properties(Style.qml PROPERTIES
|
|
|
|
QT_QML_SINGLETON_TYPE TRUE
|
|
|
|
)
|
|
|
|
|
|
|
|
qt6_add_qml_module(${PROJECT_NAME}
|
|
|
|
URI Status.Application.Navigation
|
|
|
|
VERSION 1.0
|
|
|
|
|
|
|
|
QML_FILES
|
2022-07-15 07:30:16 +00:00
|
|
|
NavigationBarButton.qml
|
|
|
|
SimpleNavBarSection.qml
|
2022-05-31 21:26:41 +00:00
|
|
|
|
|
|
|
# Required to suppress "qmllint may not work" warning
|
|
|
|
OUTPUT_DIRECTORY
|
|
|
|
${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/Status/Application/Navigation
|
|
|
|
)
|
2022-07-04 21:14:13 +00:00
|
|
|
add_library(Status::Application::Navigation ALIAS Status_Application_Navigation)
|