Disable BoomBlock qml compilation benchmark when building without OpenGL
The BoomBlock benchmark imports the Particles module which requires OpenGL, so it will be skipped for -no-opengl builds. Change-Id: I1754461f0920e85a51c5b1d5b3f5c8b2c5d26e18 Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
This commit is contained in:
parent
787918e7f2
commit
4f501e364e
|
@ -75,7 +75,9 @@ void tst_compilation::boomblock()
|
|||
QQmlComponent c(&engine);
|
||||
c.setData(data, QUrl());
|
||||
}
|
||||
|
||||
#ifdef QT_NO_OPENGL
|
||||
QSKIP("boomblock imports Particles which requires OpenGL Support");
|
||||
#endif
|
||||
QBENCHMARK {
|
||||
QQmlComponent c(&engine);
|
||||
c.setData(data, QUrl());
|
||||
|
|
Loading…
Reference in New Issue