diff options
author | Bernhard Rosenkraenzer <br@blankpage.ch> | 2010-04-07 16:33:52 +0200 |
---|---|---|
committer | Benjamin Poulain <benjamin.poulain@nokia.com> | 2010-04-07 16:46:24 +0200 |
commit | 493bfea18600c98431c10f6853310c1c0aa6d869 (patch) | |
tree | 12d662da33c4846cc763725837a859b7f801ef0f /demos | |
parent | 9e7aa36606bf8f407a3d9169e2253c550624f678 (diff) | |
download | qt4-tools-493bfea18600c98431c10f6853310c1c0aa6d869.tar.gz |
Allow building Qt without the QtGui module
This adds a -no-gui switch to configure, allowing to build Qt without
QtGui and components depending on QtGui.
This is useful on headless servers, and in using QtCore, QtNetwork,
QtXml, QtSql etc. on platforms QtGui hasn't been ported to yet.
Task-number: QTBUG-4007
Merge-request: 543
Reviewed-by: Thiago Macieira <thiago.macieira@nokia.com>
Reviewed-by: Benjamin Poulain <benjamin.poulain@nokia.com>
Diffstat (limited to 'demos')
-rw-r--r-- | demos/demos.pro | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/demos/demos.pro b/demos/demos.pro index 013d40f633..5e8a4ea538 100644 --- a/demos/demos.pro +++ b/demos/demos.pro @@ -1,4 +1,6 @@ TEMPLATE = subdirs + +!contains(QT_CONFIG, no-gui) { SUBDIRS = \ demos_shared \ demos_deform \ @@ -104,3 +106,4 @@ demos_sub-attaq.subdir = sub-attaq demos_arthurplugin.depends = demos_shared demos_pathstroke.depends = demos_shared } +} |