Generate QR code based on the given information