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

Adding the QHttp library to the channel broadcaster project

In Chapter 7Sending Sensor Readings to a Device with a Non-UI App, we chose to place all configuration related to the channel_broadcaster subproject in the channel_broadcaster.pri QMake project include. This allowed us to easily include the channel_broadcaster component in our client applications. For the very same reason, we will now add the QHttp library dependency to the same file so that when the component's sources are compiled, the library is properly linked. This process amounts to the following steps:

  • Adding the path containing the QHttp header files to QMake's INCLUDEPATH variable
  • Ensuring that the library binary file is copied to the deployment folder
  • Ensuring that the ...

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