The problem that i have i that QFileDialog doesnt seem to support choosing files or folders. FileMode flags dont have one that mixes both.


Is there any way to make a QFileDialog able to select files and folders?

FileMode::AnyFiles let you select a file, but if you choose a folder it opens it and shows you the files in it and FileMode:irectory only let you select folders. Since im doing a compressor i must allow the user to select files, folders, or both at the same time (multiple files and folders). Is there any other way that doesnt require craeting a new dialog from scratch?

thanks!