Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
How can i open dir?
I have object of class QDir, how i can open this directory?
koahnig last edited by
The best reference is "this":http://doc.qt.nokia.com/4.7/qdir.html
What do you mean with opening?
If you are looking for setting the "working path":http://doc.qt.nokia.com/4.7/qdir.html#setCurrent this might be the solution.
I want that dir will be open in system filemanadger
Perhaps QDesktopServices::openUrl can be of help to you.
I already tried, but it is doesnt worke
@ QUrl url;
@ QUrl url(QFileInfo(addressOfCurrenFile).dir().absolutePath());
Did you try using QUrl::fromLocalFile?
I try, but it is worke noly with files, no dir
Then, I am sorry, I think you have to resport to platform dependent code. On windows, you can start explorer.
pity, thank you for your try to help