File: index.md

package info (click to toggle)
qcoro 0.12.0-3
  • links: PTS, VCS
  • area: main
  • in suites: forky
  • size: 1,700 kB
  • sloc: cpp: 8,573; python: 32; xml: 26; makefile: 23; sh: 15
file content (27 lines) | stat: -rw-r--r-- 482 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
<!--
SPDX-FileCopyrightText: 2022 Daniel Vrátil <dvratil@kde.org>

SPDX-License-Identifier: GFDL-1.3-or-later
-->

# WebSockets Module

The `WebSockets` module contains coroutine-friendly wrapper for
[QtWebSockets][qtdoc-websockets] classes.

## CMake Usage

```
find_package(QCoro6 COMPONENTS WebSockets)

...
target_link_libraries(my-target QCoro::WebSockets)
```

## QMake Usage

```
QT += QCoroWebSockets
```

[qtdoc-websockets]: https://doc.qt.io/qt-5/qtwebsockets-index.html