generate qr code on-the-fly