How to trigger an event when USB is connected in ubuntu using qt?
-
wrote on 11 Oct 2016, 04:35 last edited by Bharathi 10 Nov 2016, 04:35
Is there any event to trigger when USB is connected in ubuntu using qt?
-
-
@Bharathi Also there are several other ways:
- libusb. Check if you can find some Qt wrapper for it.
- KDE Solid library
- UDisks: Since you are using Ubuntu there is probably
udisks
daemon running in the background. It exposes a nice Dbus Interface to which your Qt application can connect and wait for events.
1/3