QPR defender Jose Bosingwa has left the club by mutual consent as he closes on a transfer to Turkish side Trabzonspor.