vcpkg Package Manager

vcpkg is available on all the supported development platforms.

You can use Qt Creator to 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.

Setting vcpkg Preferences

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

{General tab in CMake Preferences}

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

{Vcpkg tab in CMake Preferences}

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

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

© 2024 The Qt Company Ltd. 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.