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

Setting up the channel project

The BroadcasterChannel project will be another Qt Unit Test subproject. To distinguish the Channel from the entity_broadcaster, we will name the QMake project channel_broadcaster. The test harness source file will be called tst_broadcaster_bt.cpp, as in this case, we want to test the Bluetooth implementation of the broadcasterChannel. The test class will be named Test_Channel_broadcasterBt.

We will also add channel_broadcaster.pri to the project, where we will be adding the necessary Qt dependencies and header and source files.

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