I know this question is old, but it seems noone is answering BLE related questions here. (I've just posted such a question myself, and fear noone will anwer it either).
I developed an app based on the same example, and it worked fine under both android 4.3.2, 5.1.2, and 6.0. However, the customer came with an android 5.01, and sure enough, the app did not work as expected. It seemed to "hang" and tried to connect to two devices at the same time, etc. We did not investigate it further. This was with Qt 5.6, so the issue is not resolved, and may never be, since with newer versions of Android it is working fine.