PDA

View Full Version : USB connected event using Qt in Linux OS



arunkumaraymuo1
17th April 2013, 06:42
I am developing an application that will interact with USB devices. I want to pop up a message when a USB device is connected to the system. How can I do this using Qt. Is there any other library available to fire an event when a usb device is connected to the system.

I need an event or slot to when a new USB device connected to the system.

kuzulis
17th April 2013, 08:29
Use libudev

anda_skoa
17th April 2013, 09:55
http://techbase.kde.org/Development/Architecture/KDE4/Solid#Solid::DeviceNotifier

arunkumaraymuo1
17th April 2013, 11:38
Use libudev

Is there any sample cod available using this libudev

kuzulis
17th April 2013, 15:40
E.g. from this link (http://www.signal11.us/oss/udev/).