diff options
author | Miikka Heikkinen <miikka.heikkinen@theqtcompany.com> | 2015-09-15 17:39:54 +0300 |
---|---|---|
committer | Miikka Heikkinen <miikka.heikkinen@theqtcompany.com> | 2015-09-25 06:44:35 +0000 |
commit | 79a856530b6986ca6d6d7485b2e6cec810c3b7fe (patch) | |
tree | 6f3f8dfe76e64da9ec48909fef1d7cccb87c3fc0 /examples/charts/charts.pro | |
parent | 3a89e3fee61a52927f836f3b3de4c922c6b954e4 (diff) |
Accelerating lineseries with OpenGL
Added support for QAbstractSeries::useOpenGL property.
When true, the series in question is drawn on a separate
offscreen buffer using OpenGL and then superimposed on
the chart. Currently this property is only supported
for line and scatter series.
Change-Id: I174fec541f9f3c23464270c1fe08f824af16a0fb
Reviewed-by: Titta Heikkala <titta.heikkala@theqtcompany.com>
Reviewed-by: Tomi Korpipää <tomi.korpipaa@theqtcompany.com>
Diffstat (limited to 'examples/charts/charts.pro')
-rw-r--r-- | examples/charts/charts.pro | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/examples/charts/charts.pro b/examples/charts/charts.pro index a104fcdd..3f463e46 100644 --- a/examples/charts/charts.pro +++ b/examples/charts/charts.pro @@ -50,7 +50,13 @@ qtHaveModule(quick) { qtHaveModule(multimedia) { SUBDIRS += audio } else { - message("QtMultimedia library not available. Some examples are disabled") + message("QtMultimedia library not available. Some examples are disabled.") +} + +contains(QT_CONFIG, opengl) { + SUBDIRS += openglseries +} else { + message("OpenGL not available. Some examples are disabled.") } !linux-arm*: { |