18d49808db
With disabled gui module qmake in the directory examples/gui and examples/widgets failes with: Project ERROR: Could not find feature opengl. Fix this by protecting 'qtConfig(opengl)' by 'qtHaveModule(gui)' as already done in examples/examples.pro. Task-number: QTBUG-60488 Change-Id: Ia842124e818e8c81d41d2b8e3b8905bf1dee58ce Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io>
31 lines
774 B
Prolog
31 lines
774 B
Prolog
requires(qtHaveModule(widgets))
|
|
|
|
TEMPLATE = subdirs
|
|
CONFIG += no_docs_target
|
|
|
|
SUBDIRS = \
|
|
animation \
|
|
desktop \
|
|
dialogs \
|
|
draganddrop \
|
|
effects \
|
|
gestures \
|
|
graphicsview \
|
|
itemviews \
|
|
layouts \
|
|
mainwindows \
|
|
painting \
|
|
richtext \
|
|
scroller \
|
|
statemachine \
|
|
tools \
|
|
tutorials \
|
|
widgets
|
|
|
|
qtHaveModule(gui):qtConfig(opengl): \
|
|
SUBDIRS += windowcontainer
|
|
|
|
contains(DEFINES, QT_NO_CURSOR): SUBDIRS -= mainwindows
|
|
contains(DEFINES, QT_NO_DRAGANDDROP): SUBDIRS -= draganddrop
|
|
mac:SUBDIRS += mac
|