Absolutely not, just looking at the screen makes it clear that they are different things.
Furthermore, BaoFeng hardware is superior to QuanSheng, but the software lags behind. The 5RH, which is comparable to the K6, has been available for over a year, and the firmware still hasn't caught up.
I'm boldly speculating that your K5P and 5rh are actually the same board.