mirror of
https://github.com/status-im/status-desktop.git
synced 2025-01-09 22:06:25 +00:00
cecfd7f8e8
Demo controls migrations to Qt6 POC for an application layout with isolated components Closes: #5902
26 lines
698 B
CMake
26 lines
698 B
CMake
# Controls specialized on user workflows
|
|
project(StatusQ_Application_Navigation)
|
|
|
|
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
|
|
|
|
# TODO: temporary until we make qt_target_qml_sources work
|
|
QML_FILES
|
|
StatusNavigationBar.qml
|
|
StatusNavigationButton.qml
|
|
|
|
# Required to suppress "qmllint may not work" warning
|
|
OUTPUT_DIRECTORY
|
|
${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/Status/Application/Navigation
|
|
)
|