Build examples and demos in qtbase

This commit is contained in:
Marius Storm-Olsen 2011-02-25 19:14:08 +00:00 committed by axis
parent bd06459179
commit d383f9f8bc
2 changed files with 2 additions and 11 deletions

2
configure vendored
View File

@ -699,7 +699,7 @@ CFG_FONTCONFIG=auto
CFG_QWS_FREETYPE=auto
CFG_LIBFREETYPE=auto
CFG_SQL_AVAILABLE=
QT_DEFAULT_BUILD_PARTS="libs tools examples demos docs translations"
QT_DEFAULT_BUILD_PARTS="libs examples demos"
CFG_BUILD_PARTS=""
CFG_NOBUILD_PARTS=""
CFG_RELEASE_QMAKE=no

View File

@ -7,23 +7,14 @@ TEMPLATE = subdirs
cross_compile: CONFIG += nostrip
QT_BUILD_PARTS = libs qmake
#process the projects
for(PROJECT, $$list($$lower($$unique(QT_BUILD_PARTS)))) {
isEqual(PROJECT, tools) {
SUBDIRS += tools
} else:isEqual(PROJECT, examples) {
isEqual(PROJECT, examples) {
SUBDIRS += examples
} else:isEqual(PROJECT, demos) {
SUBDIRS += demos
} else:isEqual(PROJECT, libs) {
include(src/src.pro)
} else:isEqual(PROJECT, docs) {
contains(QT_BUILD_PARTS, tools):include(doc/doc.pri)
} else:isEqual(PROJECT, translations) {
!contains(QT_BUILD_PARTS, tools):!wince*:SUBDIRS += tools/linguist/lrelease
SUBDIRS += translations
} else:isEqual(PROJECT, qmake) {
# SUBDIRS += qmake
} else {