Is there a Qstandardpaths::pubilcDirecotry(); function?
-
Qstandardpaths delivered a beautiful set of standard paths for all platforms.
What I am wondering is, if there is a function/shortcut to retrieve the shared directories also.
Mac OS X = /Users/Shared
Windows = C:\Users\public
-
As @JonB said, such a function doesn't exist.
You can suggest it though, by posting a request to https://bugreports.qt.io
-
@ademmler
My answer would be: since you can search docs page https://doc.qt.io/qt-5/qstandardpaths.html forshared
orpublic
and neither of the paths you mention appear, there is no Qt standard path referring to these respective directories.
-
As @JonB said, such a function doesn't exist.
You can suggest it though, by posting a request to https://bugreports.qt.io
-
@JKSH Thank you so much - that is the perfect answer - it tells me what to do to improve it.
@JonB I did this search - you mentioned - and that made me writing this post.
It would have been possible that I over see something. thx for proving me, that I am right.