I once had a similar problem. Please check if the compass readings in the status tab are working. If all three of them show zero, you might have my problem.
I solved it by resetting all parameters and then performing the setup once again. But I did the compass calibration in QGroundControl.