开发者

How to get USB notifications under linux / Qt?

开发者 https://www.devze.com 2023-01-29 20:25 出处:网络
I am newbi开发者_开发技巧e to linux and qt . I want to get notify when usb get inserted and removed .

I am newbi开发者_开发技巧e to linux and qt .

I want to get notify when usb get inserted and removed .

How to do it ?


This sounds like a job for DBus. I also think this answer could be of use to you.


There was a similar question. Take a look here. Maybe it can help. Btw. Since you are a newbie, I would suggest to avoid DBus if possible, as usually it is a pain in the ass.

0

精彩评论

暂无评论...
验证码 换一张
取 消