summaryrefslogtreecommitdiff
path: root/examples/examples.pro
diff options
context:
space:
mode:
authorMilian Wolff <milian.wolff@kdab.com>2014-07-03 14:57:03 +0200
committerMilian Wolff <milian.wolff@kdab.com>2014-07-04 20:19:27 +0200
commit20937e9192c52630b9b47765b58493ada64fcf65 (patch)
treead21560ea9eec538fab10abe7b6f70bc2c9d3c17 /examples/examples.pro
parent856dc072acb649be03e02ac64c81015d3f2675c2 (diff)
downloadqtwebchannel-20937e9192c52630b9b47765b58493ada64fcf65.tar.gz
Only depend optionally on QtWebSockets, and only use it in the example.
The utility QWebChannelAbstractTransport implementation based on the QtWebSocket has no big value. Instead, it would pull in the QtWebSocket link-time dependency into QtWebKit/QtWebEngine, which is not desired. Considering that the WebSocket usecase is minor, and only few people will ever use it, we agreed that having the code in the example alone is enough. Change-Id: Ica038329a1d684f33e805fc296e9dff71b1446ba Reviewed-by: Jocelyn Turcotte <jocelyn.turcotte@digia.com> Reviewed-by: Pierre Rossi <pierre.rossi@gmail.com>
Diffstat (limited to 'examples/examples.pro')
-rw-r--r--examples/examples.pro4
1 files changed, 3 insertions, 1 deletions
diff --git a/examples/examples.pro b/examples/examples.pro
index 114d0fb..5120fef 100644
--- a/examples/examples.pro
+++ b/examples/examples.pro
@@ -1,3 +1,5 @@
TEMPLATE = subdirs
-SUBDIRS += standalone
+qtHaveModule(websockets) {
+ SUBDIRS += standalone
+}