This package provides a set of tools to make use of C++20 coroutines with Qt.
Development versions of BLFS may not build or run some packages properly if LFS or dependencies have been updated since the most recent stable versions of the books.
下载地址(HTTP):https://github.com/danvratil/qcoro/archive/v0.13.0/qcoro-0.13.0.tar.gz
MD5 校验和:1cc2b522b90d8d0842523f751e75c99b
大小:160 KB
预计所需磁盘空间:31 MB(含测试)
预计构建时间:0.4 SBU (Using parallelism=4; add 0.6 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.