qt5base-lts/examples/examples.pro
Kent Hansen 6b95e54f1f Fix compilation of examples with -no-widgets
Change-Id: Ie0e19daf6c6476b5c5130f4930dfa3df92917384
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
2012-06-07 07:27:53 +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):SUBDIRS += qtestlib
contains(QT_CONFIG, opengl): 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