Every QR code is issued once and works once. Whoever checks in with it first gets in – after that the ticket is used up.
So do not post pictures of your ticket, and only pass the code on to people you trust.