![]() Registered Member ![]()
|
I want to show usb devices in my self witten kde programm and than do some action with this device like format, uname.... Is there a function to do that ? Should I use KAction ?
Another question: Is there a overview of all standard Icons which I can use with KIcon e.g a picture + name where I can search the suitable one für my need? An Link would help ![]() Thanks for help and be patient I'm an newbie in KDE programming ![]() |
![]() Manager ![]()
|
does the command lsusb suffice?
|
![]() Global Moderator ![]()
|
|
![]() Registered Member ![]()
|
I had a look at Solid but when I try the example at http://techbase.kde.org/Development/Tut ... _Discovery I get always errors like this : .../main.cpp:47: undefined reference to `Solid::DeviceNotifier::instance()' and the links to the example code are also broken...
Is there somewere an example/tutorial how to use Solid to show/interact USB devices ? |
![]() Global Moderator ![]()
|
|
![]() Registered Member ![]()
|
This is my CmakeList but which solid lib should I link ?
|
![]() Global Moderator ![]()
|
In KF5 it's KF5::Solid, for 4 I don't know right now, sorry -- maybe someone else knows or if not, google will tell you
![]()
I'm working on the KDevelop IDE.
|
![]() Registered Member ![]()
|
Yea now the example works for me
![]() ![]()
I will continue...thanks for your help |
Registered users: Bing [Bot], Google [Bot], Sogou [Bot]