Edit vcpkg manifest files | Qt Creator Documentation

- Qt Creator Documentation
- Edit vcpkg manifest files
- Qt Creator 19.0.0

Edit Qbs profiles ◦ Enable debugging

# Edit vcpkg manifest files

When you open a `vcpkg.json` file, it opens in the vcpkg manifest file editor:

## Add packages to manage

To add a package to your project:

1. Select (Add vcpkg Package) on the manifest editor toolbar.

2. Select the package to add to your project.
3. Select OK to return to the editor.
4. Repeat to add more packages.

## Generate code for CMake configuration files

To generate sample CMake code to copy to the `CMakeLists.txt` file:

1. Select (CMake Code) on the manifest editor toolbar.

2. Select the example code you need and copy-paste it to the `CMakeLists.txt` file.

## Set the path to vcpkg

To set the path to the directory where you installed vcpkg, select (Configure) on the editor toolbar.

See also Set up vcpkg package manager and Create vcpkg manifest files.

Edit Qbs profiles ◦ Enable debugging