Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-44127

QStandardPaths::AppDataLocation missing user library directory on OS X

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Not Evaluated
    • None
    • 5.4.0
    • Extras: Mac
    • None
    • macOS

    Description

      Steps:
      1. call "auto list = QStandardPaths::standardLocations(QStandardPaths::AppDataLocation);" on OS X

      Expected:
      list contains:
      "~/Library/Application Support/<APPNAME>", "/Library/Application Support/<APPNAME>". "<APPDIR>/../Resources"
      (see documentation: http://doc.qt.io/qt-5/qstandardpaths.html#StandardLocation-enum)

      Instead:
      list contains: "/Library/Application Support/myorg/myapp",
      "/Library/Application Support/myorg/myapp", "/Users/myuser/Workspace/build-myapp-Desktop_Qt_5_4_0_clang_64bit-Debug/myapp.app/"

      So the first two entries are the same. (I checked that with a string compare.)
      Somehow the prefix for using the home directory got lost.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            sorvig Morten Sørvig
            Shubit Marvin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes