The QR code is strictly required to board the flight. You are given two QR codes after filling out the form to exit and enter the country. However, you only need to present the QR code upon entering the country.