path: root/examples/
diff options
authorMilian Wolff <>2014-07-03 14:57:03 +0200
committerMilian Wolff <>2014-07-04 20:19:27 +0200
commit20937e9192c52630b9b47765b58493ada64fcf65 (patch)
treead21560ea9eec538fab10abe7b6f70bc2c9d3c17 /examples/
parent856dc072acb649be03e02ac64c81015d3f2675c2 (diff)
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 <> Reviewed-by: Pierre Rossi <>
Diffstat (limited to 'examples/')
1 files changed, 3 insertions, 1 deletions
diff --git a/examples/ b/examples/
index 114d0fb..5120fef 100644
--- a/examples/
+++ b/examples/
@@ -1,3 +1,5 @@
TEMPLATE = subdirs
-SUBDIRS += standalone
+qtHaveModule(websockets) {
+ SUBDIRS += standalone