Skip to Content

qcoro v0.11.0

Created
Updated

Coroutine support for Qt

# Usage

qcoro-qt6 provides CMake targets:

# Generic coroutine types and tools
find_package(QCoro6Coro CONFIG REQUIRED)
target_link_libraries(main PRIVATE QCoro6::Coro)

# Coroutine support for QtCore types
find_package(QCoro6Core CONFIG REQUIRED)
target_link_libraries(main PRIVATE QCoro6::Core)

# Coroutine supports for QtDBus types
find_package(QCoro6DBus CONFIG REQUIRED)
target_link_libraries(main PRIVATE QCoro6::DBus)

# Coroutine support for QtNetwork types
find_package(QCoro6Network CONFIG REQUIRED)
target_link_libraries(main PRIVATE QCoro6::Network)

# Coroutine support for QtQml types
find_package(QCoro6Qml CONFIG REQUIRED)
target_link_libraries(main PRIVATE QCoro6::Qml)

# Coroutine support for QML
find_package(QCoro6Quick CONFIG REQUIRED)
target_link_libraries(main PRIVATE QCoro6::Quick)

# Coroutine support for developing tests with QtTest
find_package(QCoro6Test CONFIG REQUIRED)
target_link_libraries(main PRIVATE QCoro6::Test)

# Coroutine support for QtWebSockets types
find_package(QCoro6WebSockets CONFIG REQUIRED)
target_link_libraries(main PRIVATE QCoro6::WebSockets) 

You can also use QCoro target namespace for transparent
support of both Qt5 and Qt6.

# License

# Supported Platforms

All platforms are supported

# Features

Default features: dbus , network , qml , quick , test , websockets

# dbus default

Coroutine support for QtDBus module

Dependencies:
and 6 transitive dependencies:
Host Dependencies:
2 transitive dependencies:

# network default

Coroutine support for QtNetwork module

Dependencies:
and 4 transitive dependencies:
Host Dependencies:
2 transitive dependencies:

# qml default

Coroutine support for QtQml module

Dependencies:
and 12 transitive dependencies:
Host Dependencies:
2 transitive dependencies:

# quick default

Coroutine support for QtQuick module

Dependencies:
and 12 transitive dependencies:
Host Dependencies:
2 transitive dependencies:

# test default

Support code for easier testing of coroutines with QtTest.

Dependencies:
and 4 transitive dependencies:
Host Dependencies:
2 transitive dependencies:

# websockets default

Coroutine support for QtWebSockets module

Dependencies:
and 5 transitive dependencies:
Host Dependencies:
2 transitive dependencies:

# Dependencies

and 4 transitive dependencies:

# Host Dependencies

No transitive dependencies.

# Dependents

No dependents.

# Host Dependents

No dependents.

# Contributors

  • Dan Vrátil's avatar Dan Vrátil
  • Dan Vrátil's avatar Dan Vrátil
  • Alexey Rochev's avatar Alexey Rochev
  • Egor Krugletsov's avatar Egor Krugletsov

# Changelog

  • 6559c7e [qcoro] Update to 0.11.0 (#41773)
  • b09937b [qcoro] Depend on only required Qt features (#38699)
  • 9ce52f8 [qcoro] Update to 0.10.0 (#35532)
  • 848006d [qcoro] New port (#33273)

# Source