From 61edb803785ea7e62043b4f8a926b6b1db4f3a81 Mon Sep 17 00:00:00 2001 From: Rafael Roquetto Date: Fri, 9 Aug 2013 18:22:50 -0300 Subject: Fix compilation of windowcontainer example Compilation was failing when compiling with -no-opengl Task-number: QTBUG-32712 Change-Id: I7c3f7c6be542aa79afa20d8563565fd477cc053c Reviewed-by: Oswald Buddenhagen --- examples/widgets/widgets.pro | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'examples') diff --git a/examples/widgets/widgets.pro b/examples/widgets/widgets.pro index 726494ffd6..14acebc33f 100644 --- a/examples/widgets/widgets.pro +++ b/examples/widgets/widgets.pro @@ -19,8 +19,11 @@ SUBDIRS = \ statemachine \ tools \ tutorials \ - widgets \ - windowcontainer + widgets + +contains(QT_CONFIG, opengl(es1|es2)?) { + SUBDIRS += windowcontainer +} contains(DEFINES, QT_NO_CURSOR): SUBDIRS -= mainwindows contains(DEFINES, QT_NO_DRAGANDDROP): SUBDIRS -= draganddrop -- cgit v1.2.3