diff options
author | Bernhard Rosenkraenzer <br@blankpage.ch> | 2010-04-07 14:33:52 (GMT) |
---|---|---|
committer | Benjamin Poulain <benjamin.poulain@nokia.com> | 2010-04-07 14:46:24 (GMT) |
commit | 493bfea18600c98431c10f6853310c1c0aa6d869 (patch) | |
tree | 12d662da33c4846cc763725837a859b7f801ef0f /examples/network | |
parent | 9e7aa36606bf8f407a3d9169e2253c550624f678 (diff) | |
download | Qt-493bfea18600c98431c10f6853310c1c0aa6d869.zip Qt-493bfea18600c98431c10f6853310c1c0aa6d869.tar.gz Qt-493bfea18600c98431c10f6853310c1c0aa6d869.tar.bz2 |
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 'examples/network')
-rw-r--r-- | examples/network/network.pro | 21 |
1 files changed, 13 insertions, 8 deletions
diff --git a/examples/network/network.pro b/examples/network/network.pro index bd632b8..16c4087 100644 --- a/examples/network/network.pro +++ b/examples/network/network.pro @@ -1,9 +1,13 @@ TEMPLATE = subdirs -SUBDIRS = blockingfortuneclient \ +SUBDIRS = \ + download \ + downloadmanager + +!contains(QT_CONFIG, no-gui) { + SUBDIRS += \ + blockingfortuneclient \ broadcastreceiver \ broadcastsender \ - download \ - downloadmanager \ fortuneclient \ fortuneserver \ qftp \ @@ -15,13 +19,14 @@ SUBDIRS = blockingfortuneclient \ bearercloud \ bearermonitor -# no QProcess -!vxworks:!qnx:SUBDIRS += network-chat + # no QProcess + !vxworks:!qnx:SUBDIRS += network-chat -symbian: SUBDIRS = qftp + contains(QT_CONFIG, openssl):SUBDIRS += securesocketclient + contains(QT_CONFIG, openssl-linked):SUBDIRS += securesocketclient +} -contains(QT_CONFIG, openssl):SUBDIRS += securesocketclient -contains(QT_CONFIG, openssl-linked):SUBDIRS += securesocketclient +symbian: SUBDIRS = qftp # install sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS network.pro README |