Does the person who scanned the QR code have access to the wifi password after the fact on their phone? From what I remember, there is no way to access saved wifi passwords, you can just modify it but can't see the stored one.
This way, if you just have them scan the QR code on your phone (and don't let them photograph it), technically you have securely given the password without them knowing it, right?