qt5base-lts/examples/examples.pro
Rohan McGovern 0feb264674 examples: fixed compile with -no-widgets
Disable a few examples depending on widgets which had previously been
missed.

Change-Id: Ic9c7cda94f690ee9d541c742997b7db9ace40fe0
Reviewed-by: Toby Tomkins <toby.tomkins@nokia.com>
2012-07-27 03:27:27 +02:00

49 lines
1.3 KiB
Prolog

TEMPLATE = subdirs
CONFIG += no_docs_target
SUBDIRS = \
network \
statemachine \
threads \
xml \
qpa
!contains(QT_CONFIG, no-widgets) {
SUBDIRS += \
animation \
desktop \
dialogs \
draganddrop \
effects \
graphicsview \
ipc \
layouts \
linguist \
mainwindows \
painting \
richtext \
scroller \
sql \
tools \
tutorials \
touch \
gestures
!contains(QT_CONFIG, no-widgets) {
SUBDIRS += widgets \
itemviews
}
}
wince*|embedded|x11:!contains(QT_CONFIG, no-gui): SUBDIRS += embedded
contains(QT_BUILD_PARTS, tools):!contains(QT_CONFIG, no-gui):!contains(QT_CONFIG, no-widgets):SUBDIRS += qtestlib
contains(QT_CONFIG, opengl):!contains(QT_CONFIG, no-widgets):SUBDIRS += opengl
contains(QT_CONFIG, dbus): SUBDIRS += dbus
contains(DEFINES, QT_NO_CURSOR): SUBDIRS -= mainwindows
contains(QT_CONFIG, concurrent): SUBDIRS += qtconcurrent
# install
sources.files = README *.pro
sources.path = $$[QT_INSTALL_EXAMPLES]
INSTALLS += sources