qcoro6
« Back to VersTracker
Description:
C++ Coroutines for Qt
Type: Formula  |  Latest Version: 0.12.0@0  |  Tracked Since: Oct 30, 2025
Links: Homepage  |  formulae.brew.sh
Category: Developer tools
Tags: qt coroutines c++20 asynchronous qcoro
Install: brew install qcoro6
About:
QCoro is a C++ library that brings Qt and QML support for C++20 coroutines. It allows developers to write asynchronous Qt code in a linear, synchronous-looking style, significantly simplifying code structure and readability. By integrating with Qt's event loop, it eliminates the complexity of callbacks and nested lambdas.
Key Features:
  • Seamless integration with Qt's event loop
  • Support for QCoro::Task, QCoro::Generator, and QCoro::SignalIterator
  • Compatibility with QNetworkAccessManager and QDBus
  • Minimal overhead and no external dependencies beyond Qt
Use Cases:
  • Simplifying complex asynchronous network operations
  • Managing sequential or concurrent database queries
  • Writing readable event-driven GUI logic
Alternatives:
  • QtConcurrent – QtConcurrent is better for CPU-bound parallelism, while QCoro excels at I/O-bound asynchronous tasks interacting with the event loop.
  • Boost.Asio – Boost.Asio is a standalone C++ networking library, whereas QCoro is specifically designed to integrate with the Qt ecosystem.
Version History
Detected Version Rev Change Commit
Oct 30, 2025 11:28am 0 VERSION_BUMP 15539aec