Google Drive can host:
- PDFs
- documents
- spreadsheets
- presentations
- images
- folders
- other files
To make a QR code for a Drive item:
- choose the file or folder
- set the correct sharing access
- copy the share link
- test it while signed out
- create a QR from that link
The QR opens the Drive link; it does not contain the file itself.