プロジェクト

Qt VS Tools では、いくつかのタイプの Qt プロジェクトやQt Quick プロジェクトを作成するためのウィザードが用意されています。また、プロジェクトに追加するファイル(クラス、フォームファイル、カスタム QML タイプなど)を作成するためのウィザードも用意されています。

また、既存の Qt プロジェクトを Visual Studio に読み込んで開発を進めることもできます。

統合 Qt リソースエディタを使用して、Qt プロジェクトのリソースを管理します。

Qt トランスレーション・ソース(TS)ファイルを作成し、Visual Studio からQt Linguist を起動し て、アプリケーション内の文字列を翻訳します。

Qt プロジェクトを作成するには、File >New >Project で Qt を検索します。

Qt プロジェクトウィザードテンプレート

以下のタイプのプロジェクトを作成できます。

テンプレート作成するもの
Qt ActiveQt Server単純な ActiveX サーバー。
Qt Class Library基本的な Qt ベースのダイナミック・ライブラリ
Qt Console Application基本的なQtコンソールアプリケーション
Qt Widgets Designer Custom WidgetQt Widgets Designer カスタムウィジェットプラグイン
Qt Empty Application空の Qt アプリケーションプロジェクト。
Qt Quick ApplicationQt Quick アプリケーションプロジェクト
Qt Test Applicationシンプルな Qt テストアプリケーション。
Qt Widgets Applicationシンプルな Qt ウィジェット・アプリケーション。

各 Qt プロジェクトには、プロジェクトに必要な Qt モジュールを指定するためのウィザードが用意されています。プロジェクトによっては、ウィザードによってスケルトンクラスや QML タイプのインスタンスが生成されます。

Qt コードの記述とプロジェクトのビルドを開始するには、Visual Studio に使用するQt バージョンの場所を知らせる必要があります。

アプリケーション・チュートリアルには、プロジェクト・テンプレートの使用例が含まれています:

Qt バージョンの追加とFilesも参照してください 。

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