Konfigurera pakethanteraren vcpkg
Det experimentella vcpkg-pluginet integrerar vcpkg- pakethanteraren för C/C++. Det finns tillgängligt på alla plattformar som stöds för utveckling.
Skapa och rediger vcpkg.json -filer för att ange vilka paket som ska byggas som en del av ditt projekt när du använder CMake som byggsystem.
Obs: Aktivera Vcpkg-plugin för att kunna använda det.
Konfigurera vcpkg
För att konfigurera vcpkg från kommandoraden, skriv:
$ git clone https://github.com/microsoft/vcpkg $ cd vcpkg $ ./bootstrap-vcpkg.sh
Ange sökvägen till vcpkg
För att ställa in Path till den katalog där du installerade vcpkg, välj Preferences > CMake > Vcpkg.

Välj
för att ladda ner vcpkg om du inte har installerat det ännu.
Stäng av automatisk konfiguration
Som standard konfigureras vcpkg automatiskt för användning med CMake. För att inaktivera automatisk konfiguration, välj Preferences > CMake > General > Package manager auto setup.

Se även Skapa vcpkg-manifestfiler, Redigera vcpkg-manifestfiler, Aktivera och inaktivera plugins, Plattformar som stöds och 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.