This package provides a set of tools to make use of C++20 coroutines with Qt.
This package is known to build and work properly using an LFS 12.4 platform.
Download (HTTP): https://github.com/danvratil/qcoro/archive/v0.12.0/qcoro-0.12.0.tar.gz
Download SHA256 Sum: 809afafab61593f994c005ca6e242300e1e3e7f4db8b5d41f8c642aab9450fbc
Download MD5 sum: 60c26d10ba0ef5a593a8b0011674939c
Download size: 708.9 KB
Estimated disk space required: 4,860.9 KB
Estimated build time: less than 0.5 SBU
Prepare qcoro by running the following commands:
cmake -B build \
-D CMAKE_INSTALL_PREFIX=/opt/qt6 \
-D CMAKE_BUILD_TYPE=Release \
-D BUILD_TESTING=OFF \
-D QCORO_BUILD_EXAMPLES=OFF \
-D BUILD_SHARED_LIBS=ONNow Build the package, issue:
cmake --build build
![[Note]](../images/note.png)
To test this package, remove the 'BUILD_TESTING=OFF' parameter above and run:
cd build make test cd ../
Now Install the package, as the root user:
cmake --install build
-D CMAKE_BUILD_TYPE=Release: This switch is
used to apply a higher level of compiler optimizations.