Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Is there a Qstandardpaths::pubilcDirecotry(); function?

Is there a Qstandardpaths::pubilcDirecotry(); function?

Scheduled Pinned Locked Moved Solved General and Desktop
4 Posts 3 Posters 366 Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • ademmlerA Offline
    ademmlerA Offline
    ademmler
    wrote on last edited by
    #1

    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

    JonBJ 1 Reply Last reply
    0
    • JKSHJ Offline
      JKSHJ Offline
      JKSH
      Moderators
      wrote on last edited by
      #3

      As @JonB said, such a function doesn't exist.

      You can suggest it though, by posting a request to https://bugreports.qt.io

      Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

      1 Reply Last reply
      0
      • ademmlerA ademmler

        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

        JonBJ Offline
        JonBJ Offline
        JonB
        wrote on last edited by JonB
        #2

        @ademmler
        My answer would be: since you can search docs page https://doc.qt.io/qt-5/qstandardpaths.html for shared or public and neither of the paths you mention appear, there is no Qt standard path referring to these respective directories.

        ademmlerA 1 Reply Last reply
        0
        • JKSHJ Offline
          JKSHJ Offline
          JKSH
          Moderators
          wrote on last edited by
          #3

          As @JonB said, such a function doesn't exist.

          You can suggest it though, by posting a request to https://bugreports.qt.io

          Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

          1 Reply Last reply
          0
          • JonBJ JonB

            @ademmler
            My answer would be: since you can search docs page https://doc.qt.io/qt-5/qstandardpaths.html for shared or public and neither of the paths you mention appear, there is no Qt standard path referring to these respective directories.

            ademmlerA Offline
            ademmlerA Offline
            ademmler
            wrote on last edited by ademmler
            #4

            @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.

            1 Reply Last reply
            1

            • Login

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • Users
            • Groups
            • Search
            • Get Qt Extensions
            • Unsolved