I agree, but what you describe is a compromise on the absolute truth. The standard to sue a cop requires a bunch more proof of a bunch more "truth" than suing anyone else.Lets not pretend that the only difference between a police officer and every other citizen in the country is the shiny thing on their chest. I'm gonna go way out on a limb here and sate that qualified immunity was not developed because a judge somewhere really liked cops.
Police officers act under the authority of law, doesn't seem inappropriate that there should be law to protect an officer acting within and for it. People don't sue only individual officers because there's no money in it. Just like they don't sue McDonald's employees for serving hot coffee.
There are many cases where the courts find a police officer to have acted unlawfully, yet the officer wins automatically because of q.i. How is that not a compromise?