diff options
author | Peter Seiderer <ps.report@gmx.net> | 2017-08-07 22:54:11 +0200 |
---|---|---|
committer | Peter Seiderer <ps.report@gmx.net> | 2017-08-29 20:30:45 +0000 |
commit | 6ce4b680cdde7827a6ed4d00dbeb7e7e91569433 (patch) | |
tree | 1d576d38da865c9ae9a940b3dc7cb211107ad7ab /examples/examples.pro | |
parent | 789f9d0d56204354652760fcde407b30b3b3aded (diff) |
examples: fix compile without opengl support
Compile examples/opengl only in case opengl support is available.
Task-number: QTBUG-62372
Change-Id: I742a1eb7b7639a5a722c4d5e9b4ee070b629b02e
Reviewed-by: Jake Petroules <jake.petroules@qt.io>
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io>
Diffstat (limited to 'examples/examples.pro')
-rw-r--r-- | examples/examples.pro | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/examples.pro b/examples/examples.pro index a3851c6d81..d87fa2da88 100644 --- a/examples/examples.pro +++ b/examples/examples.pro @@ -14,7 +14,8 @@ qtHaveModule(concurrent): SUBDIRS += qtconcurrent qtHaveModule(sql): SUBDIRS += sql qtHaveModule(widgets): SUBDIRS += widgets qtHaveModule(xml): SUBDIRS += xml -qtHaveModule(gui): SUBDIRS += gui opengl +qtHaveModule(gui): SUBDIRS += gui +qtHaveModule(gui):qtConfig(opengl): SUBDIRS += opengl aggregate.files = aggregate/examples.pro aggregate.path = $$[QT_INSTALL_EXAMPLES] |