Xiaomi Android phones has started using QR to use WiFi for sharing. The idea was to get started with Bash, from Android to PC or PC to Mobile, and use Interface for zenity, QR for zbar and qrencode, and nmcli from Network-Manager for Network. For security, you can use WPA, WPA2, WEP, Open and share with the Hidden Network. QR code does not support LDAP Network and VPN. Android can easily generate WiFi QR, but iOS isn't quite so sure.