qcoro v0.12.0
- Created
- Updated
Coroutine support for Qt
- https://github.com/qcoro/qcoro
- Documentation: https://qcoro.dev/
# 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:
qtbase
Features:
dbus
Host Dependencies:
4 transitive dependencies:
- vcpkg-cmake (by vcpkg-cmake-get-vars )
- vcpkg-cmake-config (by pcre2 )
- vcpkg-cmake-get-vars (by vcpkg-make )
- vcpkg-make (by libb2 )
# network default
Coroutine support for QtNetwork module
Dependencies:
qtbase
Features:
network
Host Dependencies:
4 transitive dependencies:
- vcpkg-cmake (by vcpkg-cmake-get-vars )
- vcpkg-cmake-config (by pcre2 )
- vcpkg-cmake-get-vars (by vcpkg-make )
- vcpkg-make (by libb2 )
# qml default
Coroutine support for QtQml module
Dependencies:
qtdeclarative
Features: (none)
and 32 transitive dependencies:
- bzip2 (by libx11 )
- double-conversion (by qtbase )
- egl (by qtbase )
- egl-registry (by opengl-registry )
- libxau (by xcb )
- libxdmcp (by xcb )
- libxfixes (by libxi )
- libxslt (by xproto )
- opengl-registry (by opengl )
- pthread (by xcb )
- pthread-stubs (by xcb )
- pthreads (by pthread )
qtbase (by qtbase , qtdeclarative , qtlanguageserver , qtshadertools , qtsvg )
Features:
concurrent
,cups
,doubleconversion
,egl
,freetype
,gles2
,gui
,network
,opengl
,pcre2
,testlib
,thread
- qtlanguageserver (by qtdeclarative )
qtshadertools (by qtdeclarative )
Features: (none)
- qtsvg (by qtdeclarative )
- xcb (by libx11 )
- xcb-proto (by xcb )
- xcb-util-m4 (by xcb )
- xorg-macros (by libxau )
- xproto (by libxau )
- xtrans (by libx11 )
- zlib (by qtbase )
Host Dependencies:
6 transitive dependencies:
- libiconv (by libxml2 )
- vcpkg-cmake (by vcpkg-cmake-get-vars )
- vcpkg-cmake-config (by pcre2 )
- vcpkg-cmake-get-vars (by vcpkg-make )
- vcpkg-make (by libb2 )
- vcpkg-tool-meson (by xproto )
# quick default
Coroutine support for QtQuick module
Dependencies:
qtdeclarative
Features: (none)
and 32 transitive dependencies:
- bzip2 (by libx11 )
- double-conversion (by qtbase )
- egl (by qtbase )
- egl-registry (by opengl-registry )
- libxau (by xcb )
- libxdmcp (by xcb )
- libxfixes (by libxi )
- libxslt (by xproto )
- opengl-registry (by opengl )
- pthread (by xcb )
- pthread-stubs (by xcb )
- pthreads (by pthread )
qtbase (by qtbase , qtdeclarative , qtlanguageserver , qtshadertools , qtsvg )
Features:
concurrent
,cups
,doubleconversion
,egl
,freetype
,gles2
,gui
,network
,opengl
,pcre2
,testlib
,thread
- qtlanguageserver (by qtdeclarative )
qtshadertools (by qtdeclarative )
Features: (none)
- qtsvg (by qtdeclarative )
- xcb (by libx11 )
- xcb-proto (by xcb )
- xcb-util-m4 (by xcb )
- xorg-macros (by libxau )
- xproto (by libxau )
- xtrans (by libx11 )
- zlib (by qtbase )
Host Dependencies:
6 transitive dependencies:
- libiconv (by libxml2 )
- vcpkg-cmake (by vcpkg-cmake-get-vars )
- vcpkg-cmake-config (by pcre2 )
- vcpkg-cmake-get-vars (by vcpkg-make )
- vcpkg-make (by libb2 )
- vcpkg-tool-meson (by xproto )
# test default
Support code for easier testing of coroutines with QtTest.
Dependencies:
qtbase
Features:
testlib
Host Dependencies:
4 transitive dependencies:
- vcpkg-cmake (by vcpkg-cmake-get-vars )
- vcpkg-cmake-config (by pcre2 )
- vcpkg-cmake-get-vars (by vcpkg-make )
- vcpkg-make (by libb2 )
# websockets default
Coroutine support for QtWebSockets module
Dependencies:
qtwebsockets
Features: (none)
Host Dependencies:
4 transitive dependencies:
- vcpkg-cmake (by vcpkg-cmake-get-vars )
- vcpkg-cmake-config (by pcre2 )
- vcpkg-cmake-get-vars (by vcpkg-make )
- vcpkg-make (by libb2 )
# Dependencies
qtbase
Features:
thread
# Host Dependencies
and 2 transitive dependencies:
- vcpkg-cmake-get-vars (by vcpkg-make )
- vcpkg-make (by libb2 )
# Dependents
No dependents.
# Host Dependents
No dependents.
# Contributors
Dan Vrátil
Dan Vrátil
Alexey Rochev
Egor Krugletsov
chausner