Quantcast
Channel: QtWebEngine
Viewing all articles
Browse latest Browse all 13965

Detecting mounted drives on Linux and Mac OS X

$
0
0
I’m using QDir::drives() to get the list of drives. It works great on Windows, but on Linux and Mac it only returns a single item “/”, i. e. root. It is expected behavior, but how can I get a list of drives on Mac and Linux?

Viewing all articles
Browse latest Browse all 13965

Trending Articles