Qt Graphs Configure Options

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 is disabled.

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

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