Переход на использование модуля с компонентами

This commit is contained in:
2024-05-16 15:55:23 +02:00
parent 98a8e64a80
commit 53659cea38
4 changed files with 34 additions and 129 deletions

View File

@@ -24,6 +24,14 @@ if (ANDROID)
${CMAKE_CURRENT_SOURCE_DIR}/android)
endif()
include(FetchContent)
FetchContent_Declare(
components
GIT_REPOSITORY https://gogs.dended.keenetic.pro/ded/components.git
GIT_TAG master
)
FetchContent_MakeAvailable(components)
# Qt for iOS sets MACOSX_BUNDLE_GUI_IDENTIFIER automatically since Qt 6.1.
# If you are developing for iOS or macOS you should consider setting an
@@ -37,7 +45,7 @@ set_target_properties(appnooLight PROPERTIES
)
target_link_libraries(appnooLight
PRIVATE Qt6::Quick
PRIVATE Qt6::Quick componentsplugin
)
include(GNUInstallDirs)