Qt/MSBuild フォーマットのソリューションをビルドする 2

Qt/MSBuild のプロジェクトフォーマットは、Qt VS Tools のバージョン間で変更されています。

プロジェクト形式 2 のソリューションをビルドするには

  1. ソリューションを開きます。
  2. コンテキスト・メニューから、Properties >C/C++ >Command Line と進み、追加のコマンドライン・オプションを設定します。
  3. Additional Options で、以下のオプションを入力します:/std:c++17 /Zc:__cplusplus /permissive-

    その他のコマンドラインオプション

  4. Extensions >Qt VS Tools >Qt Versions に移動します。
  5. 最初にプロジェクトを作成した Qt バージョンを選択し、Default を選択します。

    Qtバージョン

Qt バージョンを追加する」、「ソリューションを最新の Qt/MSBuild フォーマットに変換する」、「ビルドする」も参照してください 。

© 2026 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.