Good solution. To make if perfect: suppress scrolling of generated QR code area (because of text field, it oversized relatively to QR image; it could be user-sizeable multi-line BTW).
Also, it would be very handy placing buttons/links inserting popular QR URI protocol templates below/under text field (eg. "tel:", "geo:", etc.).