このページでは

vcpkgパッケージマネージャー

実験的なvcpkgプラグインはvcpkg C/C++パッケージマネージャを統合します。

vcpkgは、サポートされているすべての開発プラットフォームで利用可能です。

ビルド・システムとして CMake を使用する場合、Qt Creator を使用してvcpkg.json ファイルを作成・編集し、プロジェクトの一部としてビルドするパッケージを指定できます。

注: Vcpkg プラグインを使用するには、有効にしてください。

vcpkgの環境設定

デフォルトでは、vcpkg は CMake で使用するために自動的にセットアップされます。自動セットアップを無効にするには、Preferences>CMake >General >Package manager auto setup を選択します。

CMake環境設定の「一般」タブ

Path を vcpkg をインストールしたディレクトリに設定するには、Preferences>CMake >Vcpkg を選択します。

CMake環境設定のVcpkgタブ

vcpkg をまだインストールしていない場合は、URL を選択してダウンロードします。

vcpkg マニフェスト・ファイルの作成」、「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.