It says:

The inferior stopped because it received a signal from OS.
Signal name: SIGSEGV.
Signal meaning: Segmentation fault.

it crashes on the line socket.connectToService(address, QBluetoothUuid(QBluetoothUuid::SerialPort));