diff options
Diffstat (limited to 'tests/auto/cpptest/q3dbars/tst_bars.cpp')
-rw-r--r-- | tests/auto/cpptest/q3dbars/tst_bars.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/auto/cpptest/q3dbars/tst_bars.cpp b/tests/auto/cpptest/q3dbars/tst_bars.cpp index 952682b9..0d128c36 100644 --- a/tests/auto/cpptest/q3dbars/tst_bars.cpp +++ b/tests/auto/cpptest/q3dbars/tst_bars.cpp @@ -34,6 +34,8 @@ #include <QtDataVisualization/Q3DInputHandler> #include <QtDataVisualization/QTouch3DInputHandler> +#include "cpptestutil.h" + using namespace QtDataVisualization; class tst_bars: public QObject @@ -85,6 +87,8 @@ QBar3DSeries *newSeries() void tst_bars::initTestCase() { + if (!CpptestUtil::isOpenGLSupported()) + QSKIP("OpenGL not supported on this platform"); } void tst_bars::cleanupTestCase() |