hey all
i did a qfiledialog and here is it's code
I want to get the directory of the selected file with filename and extension "C:/1.img3" and write this dir in lineeditQt Code:
dialog.setNameFilter(tr("IMG3 File (*.img3)")); QStringList fileNames; if (dialog.exec()) fileNames = dialog.selectedFiles();To copy to clipboard, switch view to plain text mode
I tried qfileinfo but no success
Thanks in advance
Bookmarks