Edytuj pliki manifestu vcpkg
Po otwarciu pliku vcpkg.json zostanie on wyświetlony w edytorze plików manifestu vcpkg:

Dodaj pakiety do zarządzania
Aby dodać pakiet do projektu:
- Wybierz opcję „
” (Add vcpkg Package) na pasku narzędzi edytora plików manifestu.
- Wybierz pakiet, który chcesz dodać do projektu.
- Wybierz opcję „ OK ”, aby powrócić do edytora.
- Powtórz tę czynność, aby dodać kolejne pakiety.
Wygeneruj kod dla plików konfiguracyjnych CMake
Aby wygenerować przykładowy kod CMake do skopiowania do pliku CMakeLists.txt:
- Wybierz opcję „
” (CMake Code) na pasku narzędzi edytora manifestu.
- Wybierz potrzebny kod przykładowy i skopiuj go do pliku `
CMakeLists.txt`.
Ustaw ścieżkę do vcpkg
Aby ustawić ścieżkę do katalogu, w którym zainstalowano vcpkg, wybierz opcję „
” (Configure) na pasku narzędzi edytora.
Zobacz także: Konfiguracja menedżera pakietów vcpkg oraz Tworzenie plików manifestu vcpkg.
Copyright © The Qt Company Ltd. and other contributors. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.