Search code examples
c++qtqt5qtguifile-browser

How to create a browser for system drives, folders and files


I want to create as the following:

Unfortunately, Qt does not supported ready widget for that.

Is there is a plugin or any way to do that?


Solution

  • Use QFileSystemModel on a QTreeView. If you look at the first of those two links, it actually contains example code doing exactly that.