O'Reilly logo

Qt 5 Projects by Marco Piccolino

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Compiling and linking the QHttp library

Besides being popular and well designed, the QHttp library also has the advantage of leveraging QMake as the out-of-the-box build system. This means that we will be able to compile it without needing to rely on external tools, such as CMake.

To make things easier for you, we will choose version 2.1 of the library since it requires C++11, just like Qt does. This ensures that the compiler that you have been using so far for the other projects will be enough. Feel free to use one of the subsequent versions, which require C++14, if you so wish.

As we will be using the library to implement the server component of our HTTP BroadcasterChannel, we will add the resulting library to the previously created channel_broadcaster ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required