From 547a0fc2ffa4685bc09f1cfc7b36bfccc23f35e1 Mon Sep 17 00:00:00 2001 From: Eduardo Gonzalez Lazo <30321688+EddyTheCo@users.noreply.github.com> Date: Fri, 10 Nov 2023 13:42:11 +0100 Subject: [PATCH] link explicitly to QuickControls2 (#30) --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index c443a12..4c761c5 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -25,7 +25,7 @@ set(CMAKE_CXX_STANDARD 17) set(CMAKE_CXX_STANDARD_REQUIRED ON) set(CMAKE_CXX_EXTENSIONS OFF) -find_package(Qt6 REQUIRED COMPONENTS Core Gui Quick Qml ) +find_package(Qt6 REQUIRED COMPONENTS Core Gui Quick Qml QuickControls2 ) qt_standard_project_setup() qt6_add_executable(appqmlonline @@ -110,7 +110,7 @@ if(USE_IOTA) PRIVATE outMonitor outCreator outConsumer blockSender account nodeConection ) list(APPEND qmlimport outMonitor outCreator outConsumer blockSender nodeConection account) endif(USE_IOTA) -target_link_libraries(appqmlonline PRIVATE MyDesigns Qt::Core Qt::Gui Qt::Qml Qt::Quick +target_link_libraries(appqmlonline PRIVATE MyDesigns Qt6::Core Qt6::Gui Qt6::Qml Qt6::Quick Qt6::QuickControls2 $<$,STATIC_LIBRARY>:MyDesignsplugin> )