How can I get the partition id in Qt?
I'm searching for a good way to keep file directory without the partition name
For example, I want to save the directory of a file that is in my flash memory. in my computer maybe it's "Local Disc (F:)", and in another computer maybe it's "Local Disc (G:)", and if I keep the file directory with local disc name, i'm in a wrong way.
That's because i'm searching for another way, and I want to get the partition id and save the directory with partition id.
Can anyone help? Does anyone have a better idea? :)
I'm trying to do it in linux and windows.