On which platform are you running this on?

Does your Qt version have Bluetooth support for that platform? http://doc.qt.io/qt-5/qtbluetooth-index.html

I.e. in the thread you are referencing someone is trying to run this on Windows, which doesn't have a released backend yet and requires that the backend be built from a development branch.

Cheers,
_