Nice! I didn't realise that iOS supports QR codes out of the box now.
https://9to5mac.com/2018/05/16/how-to-qr-codes-ios-11-iphone...
The shortcut is just regex match the base station, password and security from the text 1Password shares, then format it as WIFI:S:<ssid>;T:<security>;P:<password>;; and then pipe that to the Generate QR code action.