Revert "Disallow deprecated Qt API"
It breaks the build with bluetooth enabled
This reverts commit 1a32a31a035fd0bf79be068aac5c0bf6af0665dd.