Configurare il gestore di pacchetti vcpkg
Il plugin sperimentale vcpkg integra il gestore di pacchetti vcpkg per C/C++. È disponibile su tutte le piattaforme di sviluppo supportate.
Creare e modificare i file ` vcpkg.json ` per specificare i pacchetti da compilare come parte del progetto quando si utilizza CMake come sistema di compilazione.
Nota: Abilita il plugin Vcpkg per poterlo utilizzare.
Configurare vcpkg
Per configurare vcpkg dalla riga di comando, digitare:
$ git clone https://github.com/microsoft/vcpkg $ cd vcpkg $ ./bootstrap-vcpkg.sh
Impostare il percorso di vcpkg
Per impostare il percorso di Path nella directory in cui è stato installato vcpkg, selezionare Preferences > CMake > Vcpkg.

Selezionare "
" per scaricare vcpkg se non è ancora stato installato.
Disattivare la configurazione automatica
Per impostazione predefinita, vcpkg viene configurato automaticamente per l’uso con CMake. Per disattivare la configurazione automatica, selezionare Preferences > CMake > General > Package manager auto setup.

Vedi anche Creare file manifest vcpkg, Modificare file manifest vcpkg, Abilitare e disabilitare i plugin, Piattaforme supportate e 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.