mirror of
https://github.com/status-im/status-desktop.git
synced 2025-01-09 13:56:10 +00:00
16b866ccbd
Important changes: - Converted the easy to mix strings to named types as phantom types - Renamed `AccountDto`s to `MultiAccount` to better match the status-go domain knowledge. - Renamed MultiAccount to ChatOrWalletAccount to better match its multi purpose and don't confuse with the MultiAccount domain knowledge. - Remove libs/CMakeLists.txt Note: Tried to use the fluent::NamedType but it doesn't work with nlohmann_json, gave up finding why. Therefore I extracted only the needed functionality for the simple types we use. Updates: #6321
26 lines
553 B
CMake
26 lines
553 B
CMake
# Custom container and layouts
|
|
project(StatusQ_Containers)
|
|
|
|
set(QT_NO_CREATE_VERSIONLESS_FUNCTIONS true)
|
|
|
|
find_package(Qt6 ${STATUS_QT_VERSION} COMPONENTS Quick Qml REQUIRED)
|
|
qt6_standard_project_setup()
|
|
|
|
qt6_add_qml_module(${PROJECT_NAME}
|
|
URI Status.Containers
|
|
VERSION 1.0
|
|
|
|
QML_FILES
|
|
LayoutSpacer.qml
|
|
|
|
# Required to suppress "qmllint may not work" warning
|
|
OUTPUT_DIRECTORY
|
|
${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/Status/Containers
|
|
)
|
|
|
|
target_link_libraries(${PROJECT_NAME}
|
|
PRIVATE
|
|
Qt6::Quick
|
|
Qt6::Qml
|
|
)
|