Skapa vcpkg-manifestfiler
Så här skapar du en ny manifestfil (vcpkg.json) för vcpkg-pak ethanteraren:
- Välj File > New File > vcpkg > vcpkg.json Manifest File > Choose för att öppna dialogrutan Location.
- I File name anger du ett namn för manifestfilen.
- I fältet Path anger du sökvägen till manifestfilen.
- Välj Next för att öppna dialogrutan vcpkg.json Manifest File.

- I fältet Name anger du ett namn för manifestfilen.
- I fältet Version string anger du ett versionsnummer för filen.
- I fönstret ” Dependencies ” anger du de paket som ska hanteras.
Du kan lägga till paket senare i en manifestredigerare.
- Välj ” Next ” för att öppna sidan ” Project Management ”.
- Välj Finish för att skapa filen.
Guiden lägger automatiskt till filen vcpkg.json i projektets CMakeLists.txt -fil.
Se även Konfigurera vcpkg-pakethanteraren och Redigera vcpkg-manifestfiler.
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.