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

Creating the Bluetooth Receiver channel project

To be able to test and include the Bluetooth Receiver channel component with ease, we will create a dedicated subproject of type Qt Unit Test for it under the previously created channels project, and name it channel_receiver. The test file will be called tst_channel_receiver.cpp, and the test class, Test_channel_receiver. We won't show how to implement tests for the Bluetooth Receiver channel — make sure you do add a few tests to ensure that its public methods behave properly. We will also add a channel_receiver.pri file, so that we can import all our source files and resources and dependencies easily into client projects such as cmmonitor.

As we did in the previous chapter, we want to create ...

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