If we want to connect the OnePlus smartphone to a secure WiFi network, it requires the entry of a password, which can be very cumbersome in some cases.
To bypass the password entry, the OnePlus device can also connect to a WiFi network by scanning a QR code.
These QR codes contain all the necessary information and are a quick solution for connecting to the secure network in a café, airport or hotel, for example.

Android 10 | OxygenOS 10.0
Step 1:  Open the  Settings
Step 2:  Tap on  Wi-Fi & network
Step 3:  Tap on  Wi-Fi
Step 4:  Tap on  Add network via QR code
  1. Open the Settings
  2. Tap on Wi-Fi & network
  3. Tap on Wi-Fi
  4. Tap on Add network via QR code

OnePlus Instructions