It only applies to the police officer as an individual. If you want to sue someone because your rights were violated, qualified immunity just changes who you can sue, the officer or the department. It'd be like if your boss told you that the speed limit was 60, you drove 60 and got a ticket. Your company/boss would be liable not you.
So it doesn't erase that a violation happens, it just changes who's responsible.