what versions of android lets you share saved wifi using qr code?
This is a feature of the upcoming Android Q version. 

There are device manufacturers who have already implemented this feature in their current Android 9 devices (e.g. Huawei).