How to get usb path on button event without using UDisks
I need to get a mounted USB path on button clicked in my application without UDisks
I don't understand the question. If the problem is getting a path, perhaps leave out the button part of your question and elaborate more on the path question? In other words, dive into the core of your problem - and describe it - instead of fishing for a complete solution.
For the button part, please have a look at Qt's documentation. As for not using UDisk, it's outside of the scope of this forum. You might be interested by KDE's library named solid.