Konfigurer vcpkg-pakkehåndteringen
Det eksperimentelle vcpkg-plugin integrerer vcpkg C/C++-pakkehåndteringen. Det er tilgængeligt på alle understøttede udviklingsplatforme.
Opret og rediger filerne i mappen ` vcpkg.json ` for at angive de pakker, der skal kompileres som en del af dit projekt, når du bruger CMake som kompileringssystem.
Bemærk: Du skal aktivere Vcpkg-pluginet for at kunne bruge det.
Konfigurer vcpkg
For at konfigurere vcpkg fra kommandolinjen skal du indtaste:
$ git clone https://github.com/microsoft/vcpkg $ cd vcpkg $ ./bootstrap-vcpkg.sh
Indstil stien til vcpkg
For at indstille Path til det bibliotek, hvor du har installeret vcpkg, skal du vælge Preferences > CMake > Vcpkg.

Vælg "
" for at downloade vcpkg, hvis du endnu ikke har installeret det.
Deaktiver automatisk opsætning
Som standard konfigureres vcpkg automatisk til brug med CMake. For at deaktivere automatisk opsætning skal du vælge Preferences > CMake > General > Package manager auto setup.

Se også Opret vcpkg-manifestfiler, Rediger vcpkg-manifestfiler, Aktiver og deaktiver plugins, Understøttede platforme og 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.