diff options
author | Alan Alpert <alan.alpert@nokia.com> | 2011-07-06 17:53:58 +1000 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2011-07-07 13:55:34 +0200 |
commit | 435a7c7739eed93acd783a7bca2755668f4e1d28 (patch) | |
tree | 04d7353c9b4ed404bb7439635ce5327bad7495cc /qt.pro | |
parent | 3be6eb30427f4f53c812a11043fdab2610ec1391 (diff) |
Can now tell init-repository to only use a subset of modules
Still useful to use init-repository because of all the other logic, such
as repository urls. More general than --no-webkit, although it is still
a valid convenience as the most common case.
Also makes qt.pro check for existence of modules, since it is no longer
certain that you'll have everything but webkit.
Change-Id: Iaaaa30e24e0a793218e2e307bdde56067760c513
Reviewed-on: http://codereview.qt.nokia.com/1258
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
Diffstat (limited to 'qt.pro')
-rw-r--r-- | qt.pro | 42 |
1 files changed, 23 insertions, 19 deletions
@@ -87,25 +87,29 @@ module_qtfeedback.depends = module_qtbase module_qtdeclarative # not yet enabled by default module_qtfeedback.CONFIG = no_default_target no_default_install -SUBDIRS = \ - module_qtbase \ - module_qtsvg \ - module_qtphonon \ - module_qtxmlpatterns \ - module_qtscript \ - module_qtdeclarative \ - module_qtmultimedia \ - module_qttools \ - module_qttranslations \ - module_qtdoc \ - module_qlalr \ - module_qtqa \ - module_qtlocation \ - module_qtactiveqt \ - module_qtsensors \ - module_qtsystems \ - module_qtmultimediakit \ - module_qtfeedback \ +# only qtbase is required to exist. The others may not - but it is the +# users responsibility to ensure that all needed dependencies exist, or +# it may not build. + +SUBDIRS = module_qtbase + +exists(qtsvg/qtsvg.pro): SUBDIRS += module_qtsvg +exists(qtphonon/qtphonon.pro): SUBDIRS += module_qtphonon +exists(qtxmlpatterns/qtxmlpatterns.pro): SUBDIRS += module_qtxmlpatterns +exists(qtscript/qtscript.pro): SUBDIRS += module_qtscript +exists(qtdeclarative/qtdeclarative.pro): SUBDIRS += module_qtdeclarative +exists(qtmultimedia/qtmultimedia.pro): SUBDIRS += module_qtmultimedia +exists(qttools/qttools.pro): SUBDIRS += module_qttools +exists(qttranslations/qttranslations.pro): SUBDIRS += module_qttranslations +exists(qtdoc/qtdoc.pro): SUBDIRS += module_qtdoc +exists(qlalr/qlalr.pro): SUBDIRS += module_qlalr +exists(qtqa/qtqa.pro): SUBDIRS += module_qtqa +exists(qtlocation/qtlocation.pro): SUBDIRS += module_qtlocation +exists(qtactiveqt/qtactiveqt.pro): SUBDIRS += module_qtactiveqt +exists(qtsensors/qtsensors.pro): SUBDIRS += module_qtsensors +exists(qtsystems/qtsystems.pro): SUBDIRS += module_qtsystems +exists(qtmultimediakit/qtmultimediakit.pro): SUBDIRS += module_qtmultimediakit +exists(qtfeedback/qtfeedback.pro): SUBDIRS += module_qtfeedback exists(qtwebkit/Tools/Scripts/build-webkit) { SUBDIRS += module_qtwebkit \ |