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.2 platform.
Download (HTTP): https://github.com/danvratil/qcoro/archive/v0.10.0/qcoro-0.10.0.tar.gz
Download MD5 sum: 2af4e86cd77493cd41ba5ffcac33d5f4
Download size: 148 KB
Estimated disk space required: 8.4 MB (Add 19 MB for tests)
Estimated build time: 0.4 SBU (Add 0.5 SBU for tests)
Install qcoro by running the following commands:
mkdir build && cd build && cmake -D CMAKE_INSTALL_PREFIX=$QT6DIR \ -D CMAKE_BUILD_TYPE=Release \ -D BUILD_TESTING=OFF \ -D QCORO_BUILD_EXAMPLES=OFF \ -D BUILD_SHARED_LIBS=ON \ .. && make
To test this package, remove the 'BUILD_TESTING=OFF' parameter above and run:
make test
Now, as the root
user:
make install
-D
CMAKE_BUILD_TYPE=Release
: This switch is used to apply
a higher level of compiler optimizations.