I need fileDialogto work with tags correctly. In OSX, when I try to click on a tag, this code deletes all the files from the file dialog, so I cannot select them.
Looks like I found a solution Option::DontResolveSymlinks, but it doesn't work either.
Update: if the filter "Any (\*.\*)"shows folders, in other cases it is not. As well as disabling the files that you need to select - I already came up with a workaround, but I hope there is a solution.
QStringList filenames = QFileDialog::getOpenFileNames(nullptr,
caption,
lastDirPath,
filter,
nullptr,
QFileDialog::Option::DontResolveSymlinks);
Refresh: Added screen to describe what a tag is.

source
share