This code solved my problem Qt Code: Switch view QString path = QFileInfo(url.path()).filePath();qDebug()<< QDir("/").relativeFilePath(path); QString path = QFileInfo(url.path()).filePath(); qDebug()<< QDir("/").relativeFilePath(path); To copy to clipboard, switch view to plain text mode
QString path = QFileInfo(url.path()).filePath();qDebug()<< QDir("/").relativeFilePath(path);
QString path = QFileInfo(url.path()).filePath(); qDebug()<< QDir("/").relativeFilePath(path);
Forum Rules
Bookmarks