diff options
author | Andy Nichols <andy.nichols@qt.io> | 2016-04-25 12:09:44 +0200 |
---|---|---|
committer | Andy Nichols <andy.nichols@qt.io> | 2016-05-06 19:17:24 +0000 |
commit | 11e788c9a555694f3ec5c4839eb98c4048801bf2 (patch) | |
tree | 61cbb54c8fb21eeb96c42825d189799b9a8829cd /tests/auto/quick/quick.pro | |
parent | 53c5398529f852903fb6774210573a25f5ea144a (diff) |
Get tests building when QT_NO_OPENGL is defined
Change-Id: I36f9e5e916b59657990d7613850ba76d2489a21e
Reviewed-by: Laszlo Agocs <laszlo.agocs@theqtcompany.com>
Diffstat (limited to 'tests/auto/quick/quick.pro')
-rw-r--r-- | tests/auto/quick/quick.pro | 17 |
1 files changed, 11 insertions, 6 deletions
diff --git a/tests/auto/quick/quick.pro b/tests/auto/quick/quick.pro index 45c6e2fdaf..e1ed4418f1 100644 --- a/tests/auto/quick/quick.pro +++ b/tests/auto/quick/quick.pro @@ -2,10 +2,19 @@ TEMPLATE = subdirs PUBLICTESTS += \ geometry \ - rendernode \ qquickpixmapcache -qtHaveModule(widgets): PUBLICTESTS += nodes +contains(QT_CONFIG, opengl(es1|es2)?) { + PUBLICTESTS += \ + rendernode + qtHaveModule(widgets): PUBLICTESTS += nodes + + QUICKTESTS += \ + qquickanimatedsprite \ + qquickframebufferobject \ + qquickopenglinfo \ + qquickspritesequence +} !cross_compile: PRIVATETESTS += examples @@ -39,7 +48,6 @@ QUICKTESTS = \ qquickaccessible \ qquickanchors \ qquickanimatedimage \ - qquickanimatedsprite \ qquickdynamicpropertyanimation \ qquickborderimage \ qquickwindow \ @@ -48,7 +56,6 @@ QUICKTESTS = \ qquickflickable \ qquickflipable \ qquickfocusscope \ - qquickframebufferobject \ qquickgridview \ qquickimage \ qquickitem \ @@ -58,7 +65,6 @@ QUICKTESTS = \ qquickloader \ qquickmousearea \ qquickmultipointtoucharea \ - qquickopenglinfo \ qquickpainteditem \ qquickpathview \ qquickpincharea \ @@ -68,7 +74,6 @@ QUICKTESTS = \ qquickrepeater \ qquickshadereffect \ qquickshortcut \ - qquickspritesequence \ qquicktext \ qquicktextdocument \ qquicktextedit \ |