From c987e56db7286e09b7a208267d0f6bc7fcad9704 Mon Sep 17 00:00:00 2001 From: Akarshan Biswas Date: Sat, 1 Jul 2023 18:19:39 +0530 Subject: [PATCH] Update CMakeLists.txt - change WaylandClient to WaylandCompositor https://doc.qt.io/qt-6/qwaylandcompositor.html Signed-off-by: Akarshan Biswas --- gpt4all-chat/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gpt4all-chat/CMakeLists.txt b/gpt4all-chat/CMakeLists.txt index a35774be..f0baba2c 100644 --- a/gpt4all-chat/CMakeLists.txt +++ b/gpt4all-chat/CMakeLists.txt @@ -39,7 +39,7 @@ configure_file( ) if(LINUX) - find_package(Qt6 6.5 COMPONENTS Core Quick WaylandClient QuickDialogs2 Svg HttpServer Sql Pdf REQUIRED) + find_package(Qt6 6.5 COMPONENTS Core Quick WaylandCompositor QuickDialogs2 Svg HttpServer Sql Pdf REQUIRED) else() find_package(Qt6 6.5 COMPONENTS Core Quick QuickDialogs2 Svg HttpServer Sql Pdf REQUIRED) endif() @@ -162,7 +162,7 @@ target_compile_definitions(chat PRIVATE $<$,$>:QT_QML_DEBUG>) if(LINUX) target_link_libraries(chat - PRIVATE Qt6::Quick Qt6::Svg Qt6::HttpServer Qt6::Sql Qt6::Pdf Qt6::WaylandClient) + PRIVATE Qt6::Quick Qt6::Svg Qt6::HttpServer Qt6::Sql Qt6::Pdf Qt6::WaylandCompositor) else() target_link_libraries(chat PRIVATE Qt6::Quick Qt6::Svg Qt6::HttpServer Qt6::Sql Qt6::Pdf)