Once you scan the QR code it quickly redirects you to the website. And website may have contained malware so it will affect your phone. Sometimes it will add automatically add calendar events to your smartphones.