I'm not a coder, but have you looked at
https://coinb.in/#newTransaction yet? It's open source, and can create the raw transaction you want. I took some random addresses from a recent block as an example for this transaction:
0100000001bf30ef1b55bb50e8829b4b5a809dec154ac349a541479bbe12d05b7b6a6f6fba010000001976a914bf1b46e4a6528ec6a24bd7f389624718994e6a4e88acffffffff03e0220200000000001976a914900a302d61d4f40e87a9eee68cf0aeea948e674788ace0220200000000001976a9141cb7394a70efff9df764481dc82d9dc69959914c88ac40420f00000000001976a9144645b4077fbd1ed8e39b5bdc808d249631c8841d88ac00000000
Several online QR-code-generators can do the rest, although I would prefer a local application to ensure they can't change the unsigned transaction.
If you start from the open source software coinb.in, you're almost there already.