Hi all,
I know the QDir::home() method and I get the next path:
I want C:/Users/qt_developer/DocumentsQuote:
C:/Users/qt_developer
Is it possible to obtain the documents directory?
Kind regards.
Printable View
Hi all,
I know the QDir::home() method and I get the next path:
I want C:/Users/qt_developer/DocumentsQuote:
C:/Users/qt_developer
Is it possible to obtain the documents directory?
Kind regards.
In Qt 4 there is the QDesktopServices::storageLocation(StandardLocation type) where in your case StandardLocation is QDesktopServices:: DocumentsLocation
In Qt 5 there is something similar in QStandardPaths class
Thank you!