This tutorial is for the Singer Futura 250, though there are a lot of ways to get a working QR code onto fabric (including cross-stitch!).
Step 1: Generate your QR code
Make your QR image really big- the bigger the file, the better the definition you will get.
Tip: You can make it bigger in paint- just go to Image > Stretch and make it 1000% as big!