Qualified immunity is for civil cases, it has nothing to do with criminal.
As another reply mentioned QI is not connected to criminal liability (only civil), and it’s also a bit of a red herring.
In my opinion it’s vital that when an agent of the state (police officer) deprives someone of civil rights that the maximum possible restitution is not limited by their net worth or professional insurance carrier’s cap (which to my knowledge is not a thing for cops, but it is often suggested here).
Under qualified immunity that most police officers have this is not going to happen.
https://en.wikipedia.org/wiki/Qualified_immunity#Police_brut...