All of the QR code generator workflows I've come across use a dependency, such as an external installation, embedded app, or web service. Given that MacOS can create QR codes natively, that's what I did with this workflow.
This workflow doesn't require any dependencies for installation, all that is required is to double click and import the workflow into Alfred. If you wish to enable a selection hotkey, look for the yellow workflow action to configure.
The current version of this workflow contains two keywords for Alfred, qrc & qrp. When using either qrc or qrp without a parameter this workflow will attempt to use text contained on the clipboard. This same flow is followed if you set a hotkey for the selection and nothing is selected.
The universal actions use the selected text as the parameter.
- qrc [your text] -- Creates your QR code and copies it to the clipboard
- qrp [your text] -- Creates your QR code, by copying it to the clipboard and also opens it with Preview for saving