qcoro-0.12.0

Introduction to qcoro

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.

Package Information

qcoro Dependencies

Required

Qt-6.10.1

Installation of qcoro

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=ON

Now Build the package, issue:

cmake --build build
[Note]

Note

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

Command Explanations

-D CMAKE_BUILD_TYPE=Release: This switch is used to apply a higher level of compiler optimizations.

Contents

Installed Programs: None
Installed Libraries: libQCoro6Core.so, libQCoro6DBus.so, libQCoro6Network.so, libQCoro6Qml.so, libQCoro6Quick.so, and libQCoro6WebSockets.so
Installed Directories: Nine directories in /opt/qt6/lib/cmake/ and /opt/qt6/include/qcoro6