As already stated, Qt itself does not provide such a module. However, there is a class, QDeviceWatcher user QDeviceWatcher . I have no experience with him personally, and he does not update regularly, but you can try.
You can find the forum post here and the Git repository here .
source share