diff --git a/examples/examples.pro b/examples/examples.pro index b57d2813849..f66c5cbf220 100644 --- a/examples/examples.pro +++ b/examples/examples.pro @@ -15,7 +15,7 @@ SUBDIRS = \ widgets \ xml -qtConfig(opengl): SUBDIRS += opengl +qtHaveModule(gui):qtConfig(opengl): SUBDIRS += opengl aggregate.files = aggregate/examples.pro aggregate.path = $$[QT_INSTALL_EXAMPLES]