From 12aea8e85c08f4dd67ad4d080355cbfecaa36227 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Hrdli=C4=8Dka?= Date: Tue, 24 May 2022 23:14:20 +0200 Subject: [PATCH] vcpkg: use Qt6 --- CMakeLists.txt | 3 +++ vcpkg.json | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 145f92c34..aa3ee449d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -61,6 +61,9 @@ if(VCPKG_TOOLCHAIN) set(CMAKE_MSVC_RUNTIME_LIBRARY "MultiThreaded$<$:Debug>DLL") set(STATIC_BUILD OFF) endif() + + # `vcpkg.json` defaults to Qt6 + set(USE_QT6 ON) endif() if(WIN32) diff --git a/vcpkg.json b/vcpkg.json index aeb10dcb9..23f57c055 100644 --- a/vcpkg.json +++ b/vcpkg.json @@ -14,8 +14,8 @@ "qt-ui": { "description": "Qt User Interface", "dependencies": [ - "qt5-base", - "qt5-translations" + "qtbase", + "qttranslations" ] }, "munt": {