diff --git a/examples/examples.pro b/examples/examples.pro index a3851c6d810..d87fa2da888 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]