diff options
author | Andy Nichols <andy.nichols@theqtcompany.com> | 2016-06-23 16:47:11 +0200 |
---|---|---|
committer | Andy Nichols <andy.nichols@qt.io> | 2016-06-27 09:33:54 +0000 |
commit | 27a4d0faa22b9302ed427841574eef91a4412b5d (patch) | |
tree | 59248f79d985a6a8e8fc4906ef679f48c0ba02bf /qtcanvas3d.pro | |
parent | c8eb610d8635c02d96deebcf47631d859fd92e5b (diff) |
Explicitly requires qt build contain opengl support
Currently there is a check that is made before the module is built, but
the examples are still built otherwise for -no-opengl builds. Now this
module takes the same approach as Qt3D and uses the qmake function
requires().
Change-Id: I596df68dbe8ea4e9bcce195ef2b9a1ee8d2ce110
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
Diffstat (limited to 'qtcanvas3d.pro')
-rw-r--r-- | qtcanvas3d.pro | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/qtcanvas3d.pro b/qtcanvas3d.pro index 0bcc16b..d78224a 100644 --- a/qtcanvas3d.pro +++ b/qtcanvas3d.pro @@ -1,3 +1,5 @@ +requires(contains(QT_CONFIG, opengl)) + load(qt_parts) # We need opengl, minimum es2 |