aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorKai Koehne <kai.koehne@qt.io>2020-04-29 13:02:50 +0200
committerKai Koehne <kai.koehne@qt.io>2020-05-03 08:31:08 +0000
commitacb4c425ff6c4e037df15b0e6847a1994e7e7254 (patch)
tree601297620199e76aab0bc895f18d611221890906 /tests
parent126ee5c901a9675a9ab61d4c6f2961c95b8bceac (diff)
Fix building of declarative tests with disabled opengl module
The test is already guarded by qtConfig(opengl(es1|es2)?) but even if opengl is available, the opengl module might be missing (for instance because it's dependency qtwidgets is disabled). This amends 8a7e8190b7c2e3. Fixes: QTBUG-83775 Pick-to: 5.15 Change-Id: I0a37a3ed11817965c261ebced52dae132ce8bbfa Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/quick/quick.pro5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/auto/quick/quick.pro b/tests/auto/quick/quick.pro
index 273f31bad1..a2c16f1d72 100644
--- a/tests/auto/quick/quick.pro
+++ b/tests/auto/quick/quick.pro
@@ -15,8 +15,9 @@ qtConfig(opengl(es1|es2)?) {
qquickframebufferobject \
qquickopenglinfo \
qquickspritesequence \
- qquickshadereffect \
- qquickrendercontrol
+ qquickshadereffect
+
+ qtHaveModule(opengl): QUICKTESTS += qquickrendercontrol
}
!cross_compile: PRIVATETESTS += examples