qt5base-lts/examples/examples.pro
Marius Storm-Olsen 9fde9ab167 Properly implement a 'make docs' target for subdirs and apps/libs
Only call qdoc for projects which sets the QMAKE_DOCS variable to
point to a qdocconf file.

Exclude examples/ and tests/ from the qdoc run, by adding
    no_docs_target
to CONFIG for those projects.

Change-Id: Ic856c8f19db59309302d0602b3e99735609e525a
Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
Reviewed-by: Casper van Donderen <casper.vandonderen@nokia.com>
2012-05-09 08:34:42 +02:00

49 lines
1.3 KiB
Prolog

TEMPLATE = subdirs
CONFIG += no_docs_target
SUBDIRS = \
network \
statemachine \
threads \
xml \
qpa
!contains(QT_CONFIG, no-gui) {
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