Build examples and demos in qtbase
This commit is contained in:
parent
bd06459179
commit
d383f9f8bc
2
configure
vendored
2
configure
vendored
@ -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
|
||||
|
11
qtbase.pro
11
qtbase.pro
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user