Says GCC:
qtbase/examples/network/multistreamclient/timeconsumer.cpp:85:37: error: incomplete type ‘QIODevice’ used in nested name specifier
85 | QDataStream ds(&buf, QIODevice::WriteOnly);
| ^~~~~~~~~
Instead of including <QIODevice>, use the correct 'nested name
specifier', QIODeviceBase.
Pick-to: 6.2
Change-Id: Id8d87dbcb497e4feca1d5d3ce6b1bdb9da5c0dab
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
|
||
|---|---|---|
| .. | ||
| blockingfortuneclient | ||
| broadcastreceiver | ||
| broadcastsender | ||
| dnslookup | ||
| doc | ||
| download | ||
| downloadmanager | ||
| fortuneclient | ||
| fortuneserver | ||
| googlesuggest | ||
| http | ||
| loopback | ||
| multicastreceiver | ||
| multicastsender | ||
| multistreamclient | ||
| multistreamserver | ||
| network-chat | ||
| securesocketclient | ||
| secureudpclient | ||
| secureudpserver | ||
| shared | ||
| threadedfortuneserver | ||
| torrent | ||
| .prev_CMakeLists.txt | ||
| CMakeLists.txt | ||
| README | ||
| network.pro | ||
README
Qt is provided with an extensive set of network classes to support both client-based and server side network programming. These examples demonstrate the fundamental aspects of network programming with Qt. Documentation for these examples can be found via the Examples link in the main Qt documentation.