Get the name of file with path Qt
Hi i have one file like
How i can get the name of this file???
see QFileInfo class
Please use the search before posting.
Use the class QFileInfo
QString name = fi.fileName();
Here is the below link for more information regarding the QFileInfo Class and to get filename.