Make Qt WebChannel examples self-contained
The examples compiled shared transport sources from
examples/webchannel/shared, violating QUIP-13. This breaks the
"copy example out of tree" feature of Qt Creator and VS Code, which
requires examples to not reference files outside their own directory.
Each example now carries its own copy of the websocket transport and
client wrapper sources; the shared folder is removed.
Task-number: QTBUG-147516
Pick-to: 6.11 6.12
Change-Id: Ie2cffc88e1fe7e3864e0005b7669796890861a07
Reviewed-by: Kai Köhne <kai.koehne@qt.io>
| commit | 9391f239004e8a5e5ab86069d0028240f465a6a2 |
| parent | edc575ff20725cb836e2aad9e91a88d7ae48cd06 |
| author | Joerg Bornemann <joerg.bornemann@qt.io> |
| committer | Joerg Bornemann <joerg.bornemann@qt.io> |
| commit time | Fri, 19 Jun 2026 14:18:37 +0000 |
- M examples/webchannel/CMakeLists.txt
- M examples/webchannel/chatserver-cpp/CMakeLists.txt
- M examples/webchannel/chatserver-cpp/main.cpp
- R100 examples/webchannel/shared/websocketclientwrapper.cpp
- R100 examples/webchannel/shared/websocketclientwrapper.h
- R100 examples/webchannel/shared/websockettransport.cpp
- R100 examples/webchannel/shared/websockettransport.h
- D examples/webchannel/shared/CMakeLists.txt
- M examples/webchannel/standalone/CMakeLists.txt
- M examples/webchannel/standalone/main.cpp
- A examples/webchannel/standalone/websocketclientwrapper.cpp
- A examples/webchannel/standalone/websocketclientwrapper.h
- A examples/webchannel/standalone/websockettransport.cpp
- A examples/webchannel/standalone/websockettransport.h