summaryrefslogtreecommitdiffstats
path: root/examples/network
diff options
context:
space:
mode:
authorRainer Keller <Rainer.Keller@qt.io>2018-01-08 13:43:04 +0100
committerRainer Keller <Rainer.Keller@qt.io>2018-01-12 07:58:20 +0000
commitf13b0b2cf234811de73de4e521156cafaec82c1c (patch)
tree839df3762673afe6b08a7cb1c81a8c419594bb24 /examples/network
parentb03133231b99922a72831c4ec23faf55516ef404 (diff)
qtlite: Skip building examples when configured with no-feature-itemviews
Compiling the default examples should be possible without compile errors. Task-number: QTBUG-53141 Change-Id: I73d8787241291ae6230861a89b38e91d900fede0 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io> Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Diffstat (limited to 'examples/network')
-rw-r--r--examples/network/bearermonitor/bearermonitor.pro1
-rw-r--r--examples/network/fortuneclient/fortuneclient.pro1
-rw-r--r--examples/network/googlesuggest/googlesuggest.pro1
-rw-r--r--examples/network/network-chat/network-chat.pro1
-rw-r--r--examples/network/securesocketclient/securesocketclient.pro2
-rw-r--r--examples/network/torrent/torrent.pro1
6 files changed, 7 insertions, 0 deletions
diff --git a/examples/network/bearermonitor/bearermonitor.pro b/examples/network/bearermonitor/bearermonitor.pro
index d75e021834..7d90b408e0 100644
--- a/examples/network/bearermonitor/bearermonitor.pro
+++ b/examples/network/bearermonitor/bearermonitor.pro
@@ -1,5 +1,6 @@
TARGET = bearermonitor
QT = core gui network widgets
+requires(qtConfig(treeview))
HEADERS = sessionwidget.h \
bearermonitor.h
diff --git a/examples/network/fortuneclient/fortuneclient.pro b/examples/network/fortuneclient/fortuneclient.pro
index 8b376d9c53..6cf04a8b62 100644
--- a/examples/network/fortuneclient/fortuneclient.pro
+++ b/examples/network/fortuneclient/fortuneclient.pro
@@ -1,4 +1,5 @@
QT += network widgets
+requires(qtConfig(combobox))
HEADERS = client.h
SOURCES = client.cpp \
diff --git a/examples/network/googlesuggest/googlesuggest.pro b/examples/network/googlesuggest/googlesuggest.pro
index 84db77e30b..6e73906303 100644
--- a/examples/network/googlesuggest/googlesuggest.pro
+++ b/examples/network/googlesuggest/googlesuggest.pro
@@ -1,4 +1,5 @@
QT += network widgets
+requires(qtConfig(itemviews))
SOURCES = main.cpp searchbox.cpp googlesuggest.cpp
HEADERS = searchbox.h googlesuggest.h
diff --git a/examples/network/network-chat/network-chat.pro b/examples/network/network-chat/network-chat.pro
index 3d525c96cc..2e3cbbc489 100644
--- a/examples/network/network-chat/network-chat.pro
+++ b/examples/network/network-chat/network-chat.pro
@@ -12,6 +12,7 @@ SOURCES = chatdialog.cpp \
FORMS = chatdialog.ui
QT += network widgets
requires(qtConfig(udpsocket))
+requires(qtConfig(listwidget))
# install
target.path = $$[QT_INSTALL_EXAMPLES]/network/network-chat
diff --git a/examples/network/securesocketclient/securesocketclient.pro b/examples/network/securesocketclient/securesocketclient.pro
index 98d2041754..fb81ef6ed2 100644
--- a/examples/network/securesocketclient/securesocketclient.pro
+++ b/examples/network/securesocketclient/securesocketclient.pro
@@ -10,6 +10,8 @@ FORMS += certificateinfo.ui \
sslclient.ui \
sslerrors.ui
QT += network widgets
+requires(qtConfig(listwidget))
+requires(qtConfig(combobox))
# install
target.path = $$[QT_INSTALL_EXAMPLES]/network/securesocketclient
diff --git a/examples/network/torrent/torrent.pro b/examples/network/torrent/torrent.pro
index 16a44d8aad..c640c3b5d0 100644
--- a/examples/network/torrent/torrent.pro
+++ b/examples/network/torrent/torrent.pro
@@ -1,4 +1,5 @@
QT += network widgets
+requires(qtConfig(filedialog))
HEADERS += addtorrentdialog.h \
bencodeparser.h \