Set up vcpkg package manager | Qt Creator Documentation

- Qt Creator Documentation
- Set up vcpkg package manager
- Qt Creator 19.0.1

Set the default build and run directories ◦ Use Development Containers

# Set up vcpkg package manager

The experimental vcpkg plugin integrates the vcpkg C/C++ package manager. It is available on all the supported development platforms.

Create and edit `vcpkg.json` files to specify packages to build as part of your project when using CMake as the build system.

Note: Enable the Vcpkg plugin to use it.

## Set up vcpkg

To set up vcpkg from the command line, enter:

     $ git clone https://github.com/microsoft/vcpkg
     $ cd vcpkg

     $ ./bootstrap-vcpkg.sh

## Set the path to vcpkg

To set the Path to the directory where you installed vcpkg, select Preferences > CMake > Vcpkg.

Select to download vcpkg if you have not installed it yet.

## Turn off automatic setup

By default, vcpkg is automatically set up for use with CMake. To turn off automatic setup, select Preferences > CMake > General > Package manager auto setup.

See also Create vcpkg manifest files, Edit vcpkg manifest files, Enable and disable plugins, Supported platforms, and vcpkg.

Set the default build and run directories ◦ Use Development Containers