Qt Graphs オプション設定
メイン機能
メイン機能を切り替えるとき、両方を無効にするとモジュールはまったくビルドされません。
- QT_FEATURE_graphs_2d は、Qt Graphs モジュールへの 2D グラフ・サポートのビルドを有効にします。デフォルトでは
ON。CMakeに-DFEATURE_graphs_2d=OFFを渡すことで無効にできます。 - QT_FEATURE_graphs_3d を使用すると、Qt Graphs モジュールに 3D グラフ・サポートをビルドできます。デフォルトは
ONです。これを無効にするには、-DFEATURE_graphs_3d=OFFを CMake に渡します。
Qt Graphs 3D機能
3D機能を切り替える場合、すべてを無効にすると、何も使えないモジュールになります。QT_FEATURE_graphs_3d が無効になっている場合、これらは何の効果も持ちません。
- QT_FEATURE_graphs_3d_bars3d は、Bars3D グラフサポートをQt Graphs モジュールにビルドできるようにします。デフォルトは
ONです。CMakeに-DFEATURE_graphs_3d_bars3d=OFFを渡すことで無効にできます。 - QT_FEATURE_graphs_3d_scatter3d はScatter3D グラフサポートをQt Graphs モジュールにビルドします。デフォルトでは
ON。これは、-DFEATURE_graphs_3d_scatter3d=OFFを CMake に渡すことで無効にできます。 - QT_FEATURE_graphs_3d_surface3d を使用すると、Surface3D グラフ・サポートをQt Graphs モジュールにビルドできます。デフォルトでは
ON。これはCMakeに-DFEATURE_graphs_3d_surface3d=OFFを渡すことで無効にできます。
© 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.