How can i open dir?
General and Desktop
9
Posts
3
Posters
4.0k
Views
1
Watching
-
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 already tried, but it is doesnt worke
I try
@ QUrl url;
url.setPath(QFileInfo(addressOfCurrenFile).dir().absolutePath());
QDesktopServices::openUrl(url);//program hangs@
@ QUrl url(QFileInfo(addressOfCurrenFile).dir().absolutePath());
QDesktopServices::openUrl(url);@