Frankly I’m not sure Fairphone’s own camera app ever included this. Maybe you use an alternative camera app?(I hadn’t realized Google Lens serves as a QR code scanner.)
Either way, there’s a simple way to scan a QR code with your FP4 without installing anything anew. We only just discussed this a few days ago here, it should work on your FP4 just as it does on the FP5: