QR codes were invented in 1994. A Toyota subsidiary named Denso Wave developed the code in order to help in the manufacturing process. These codes aided in tracking vehicles and parts. It was designed for fast decoding speeds, hence the name Quick Response code. 
QR codes owe their existence to the development and success of barcodes.