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": {