Have you tried by replacing localhost with
http://www.yourdomain.com instead ?
Probably reason : Any domain that is encoded without a .com, such as .live, will be treated as text by the QR reader, giving only the option to copy the text. On the other hand, any domain that contains .com, .com.es, .com.uy, will be notified by the readers as a valid URL and giving the possibility to go to it.
Also: ¿Have you tried to scan the QR code with another application, problem could be there and not un QR Code itself ?