Skip to content

Commit

Permalink
link explicitly to QuickControls2 (#30)
Browse files Browse the repository at this point in the history
  • Loading branch information
EddyTheCo authored Nov 10, 2023
1 parent cd75c34 commit 547a0fc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
$<$<STREQUAL:$<TARGET_PROPERTY:MyDesigns,TYPE>,STATIC_LIBRARY>:MyDesignsplugin>
)

Expand Down

0 comments on commit 547a0fc

Please sign in to comment.