Qt Widgets Designer
Qt Widgets Designer 用の独自のカスタムウィジェットプラグインを作成するためのクラスと、Qt Widgets Designer コンポーネントにアクセスするためのクラスを提供します。
さらに、QFormBuilder クラスは、実行時に UI ファイルからユーザー・インターフェースを構築する可能性を提供します。
注: このドキュメントでは、Qt Widgets Designer のツールと、Qt Widgets のグラフィカル・ユーザー・インターフェースの構築に関連するクラスについて説明します。 Qt Design Studioは、Qt Quick ユーザー・インターフェースの UI 設計と実装のすべてのステップをカバーする UI 構成ツールです。
モジュールの使用
Qt モジュールの C++ API を使用するには、モジュール・ライブラリを直接リンクするか、他の依存関係を通 してリンクする必要があります。CMakeや qmakeなど、いくつかのビルドツールはこのための専用サポートを持っています。
CMake でのビルド
find_package() コマンドを使用して、必要なモジュール・コンポーネントをQt6 パッケージから探します:
find_package(Qt6 REQUIRED COMPONENTS Designer)
target_link_libraries(mytarget PRIVATE Qt6::Designer)詳細については、CMakeによるビルドの概要を参照してください。
qmakeでのビルド
qmakeでビルドするようにモジュールを設定するには、プロジェクトの.proファイルにQT 変数の値としてモジュールを追加します:
QT += designer
記事とガイド
これらの記事にはQt Widgets Designer に関する情報が含まれています。
- Qt Widgets Designer 用コンポーネントの作成と使用- カスタムウィジェットプラグインの作成と使用
- Qt Widgets Designer マニュアル Qt Widgets Designer
APIリファレンス
これらは API リファレンス資料へのリンクです。
© 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.