Qt Graphs 配置选项

Main Features

When toggling main features, disabling both will result in the module not being built at all.

  • QT_FEATURE_graphs_2d enables building the 2D graph support into the Qt Graphs module. It is ON by default. This can be disabled by passing -DFEATURE_graphs_2d=OFF to CMake.
  • QT_FEATURE_graphs_3d enables building the 3D graph support into the Qt Graphs module. It is ON by default. This can be disabled by passing -DFEATURE_graphs_3d=OFF to CMake.

Qt Graphs for 3D Features

When toggling 3D features, disabling all will result in a module that is not usable for anything. These do not have any effect if QT_FEATURE_graphs_3d 被禁用。

  • QT_FEATURE_graphs_3d_bars3d enables building the Bars3D graph support into the Qt Graphs module. It is ON by default. This can be disabled by passing -DFEATURE_graphs_3d_bars3d=OFF to CMake.
  • QT_FEATURE_graphs_3d_scatter3d enables building the Scatter3D graph support into the Qt Graphs module. It is ON by default. This can be disabled by passing -DFEATURE_graphs_3d_scatter3d=OFF to CMake.
  • QT_FEATURE_graphs_3d_surface3d enables building the Surface3D graph support into the Qt Graphs module. It is ON by default. This can be disabled by passing -DFEATURE_graphs_3d_surface3d=OFF to CMake.