summaryrefslogtreecommitdiffstats
path: root/qt.pro
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@intel.com>2013-11-26 14:20:34 -0800
committerSimon Hausmann <simon.hausmann@theqtcompany.com>2015-09-24 05:22:45 +0000
commit942ae1dd8224e8d22d900765f90803efaf49b47d (patch)
tree4df78eab8c23b8060d6d058f7e534227f133faa6 /qt.pro
parentd7f477d1cd1fbad5fb0609f340af278cab8c6bae (diff)
Add a way to build just a few of Qt's modules more easily
The current way requires passing -skip to configure, which is a list of what not to build. To set a list of what to build (e.g., for testing, in a specialized build, etc.), there was no way. Now you can just do: qmake "QT_BUILD_MODULES=qtbase qtdeclarative qtsvg qtxmlpatterns" (the order doesn't matter) Change-Id: Ifcaefa35b16b137866ca839a483ce366e35de7ab Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
Diffstat (limited to 'qt.pro')
-rw-r--r--qt.pro1
1 files changed, 1 insertions, 0 deletions
diff --git a/qt.pro b/qt.pro
index a9ade877..efa091ee 100644
--- a/qt.pro
+++ b/qt.pro
@@ -14,6 +14,7 @@ defineReplace(moduleName) {
# Arguments: module name, [mandatory deps], [optional deps], [project file]
defineTest(addModule) {
contains(QT_SKIP_MODULES, $$1): return(false)
+ !isEmpty(QT_BUILD_MODULES):!contains(QT_BUILD_MODULES, $$1): return(false)
mod = $$moduleName($$1)
isEmpty(4) {