Qt Graphs Configure Options
This topic lists the configuration options that you can use to configure the Qt Graphs module build.
Main Features
If you disable both of these main features, the module will not be built at all.
QT_FEATURE_graphs_2denables building the 2D graph support into the Qt Graphs module. It isONby default.To disable, pass
-DFEATURE_graphs_2d=OFFto CMake.QT_FEATURE_graphs_3denables building the 3D graph support into the Qt Graphs module. It isONby default.To disable, pass
-DFEATURE_graphs_3d=OFFto CMake.
Qt Graphs for 2D Features
If you disable all of these features, the Qt Graphs for 2D module will not be usable for anything. These options are not in effect if QT_FEATURE_graphs_2d is disabled.
QT_FEATURE_graphs_2d_areaenables building the area graph support into the Qt Graphs module. It isONby default.To disable, pass
-DFEATURE_graphs_2d_area=OFFto CMake.Enabling area graph will also enable LineSeries support, as that is the minimum requirement for creating area graphs. If SplineSeries is required for the
upperSeriesorlowerSeries, theQT_FEATURE_graphs_2d_splineoption should also be enabled.QT_FEATURE_graphs_2d_barenables building the bar graph support into the Qt Graphs module. It isONby default.To disable, pass
-DFEATURE_graphs_2d_bar=OFFto CMake.QT_FEATURE_graphs_2d_donut_pieenables building the donut and pie graph support into the Qt Graphs module. It isONby default.To disable, pass
-DFEATURE_graphs_2d_donut_pie=OFFto CMake.QT_FEATURE_graphs_2d_lineenables building the line graph support into the Qt Graphs module. It isONby default.To disable, pass
-DFEATURE_graphs_2d_line=OFFto CMake.QT_FEATURE_graphs_2d_scatterenables building the scatter graph support into the Qt Graphs module. It isONby default.To disable, pass
-DFEATURE_graphs_2d_scatter=OFFto CMake.QT_FEATURE_graphs_2d_splineenables building the spline graph support into the Qt Graphs module. It isONby default.To disable, pass
-DFEATURE_graphs_2d_spline=OFFto CMake.
Qt Graphs for 3D Features
If you disable all of these features, the Qt Graphs for 3D module will not be usable for anything. These options are not in effect if QT_FEATURE_graphs_3d is disabled.
QT_FEATURE_graphs_3d_bars3denables building the Bars3D graph support into the Qt Graphs module. It isONby default.To disable, pass
-DFEATURE_graphs_3d_bars3d=OFFto CMake.QT_FEATURE_graphs_3d_scatter3denables building the Scatter3D graph support into the Qt Graphs module. It isONby default.To disable, pass
-DFEATURE_graphs_3d_scatter3d=OFFto CMake.QT_FEATURE_graphs_3d_surface3denables building the Surface3D graph support into the Qt Graphs module. It isONby default.To disable, pass
-DFEATURE_graphs_3d_surface3d=OFFto CMake.