I've avoided the restaurant-QR-code deal so far. They don't have a menu I can read? I walk out.
I've been fairly successful at avoiding spots like that myself, also by just walking out. But its completely impractical if you're meeting up with (multiple) people.
Do you still leave if you’ve gone out to eat with someone else?