Hi All,
How it is possible to filter the Executable files in linux to show in QFileDialog?
Thank u all.
Hi All,
How it is possible to filter the Executable files in linux to show in QFileDialog?
Thank u all.
Hi,
see QFileDialog::setFilter() with QDir::Executable.
I did like
But its not working. I'm using Ubuntu.
First your pasted code is senseless since fileDlg and open are not the same. Second QFileDialog::getOpenFileName() is a static member function, so all settings you made before are not used. So use QFileDialog::exec() instead.
Bookmarks