Hi, I want to open Directory and file using the same function. Is it possible to do the same in QT. I used
QString directory = QFileDialog::getExistingDirectory(this, tr("Open Directory"),
"",
QFileDialog::ShowDirsOnly
| QFileDialog::DontResolveSymlinks);
Here i can open only directory. How to open both file and directory using single function