I created file dialogs for selecting files in a Qt application. When switching to Qt5, I encounter regression, the dialogue with the file is much worse when linking to Qt5, not Qt4:
Qt4

Qt5

For example, it is very difficult for a user to navigate to network shared directories.
The code is as simple as this one:
QString path; path = QFileDialog::getExistingDirectory(this, tr("Pick a file"));
QFileDialog::DontUseNativeDialog does not change anything.
My OS is Ubuntu 16.04, I have both nautilus (3.14.3) and nemo (2.8.7) installed. nemo is configured as the default file manager:
xdg-mime default nemo.desktop inode/directory application/x-gnome-saved-search
Every other application seems to use the same dialog as the screenshot of the Qt4 file dialog box.
How do I get the "old" file dialog in Qt5?
If I try with QT_QPA_PLATFORMTHEME= ./my_app , I will get this:

source share