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

KDE relies on QStandardPath for shared resource lookups, which fails when running on non Linux systems

    XMLWordPrintable

    Details

    • Type: User Story
    • Status: Withdrawn
    • Priority: Not Evaluated
    • Resolution: Out of scope
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Core: I/O
    • Labels:
      None
    • Environment:

      Any except linux.

      Description

      KDE currently relies on QStandardPath for shared resource lookups.

      QStandardPaths DataLocation, ConfigLocation, etc. return platform specific defaults but on Linux they also return the values from XDG_DATA_DIRS, XDG_CONFIG_DIRS, etc. so when installing applications in non default paths applications that use QStandardPaths can still find their data/libraries/plugins/config, etc.

      QStandardPaths is not changable at runtime on OS X and Windows, which means the strategy of using QStandardPaths fails when KDE is deployed though eg homebrew.

        Attachments

        1. QSP-patch-20150301.diff
          4 kB
        2. QSP-patch-20150310.diff
          8 kB
        3. QSP-patch-20150311.diff
          13 kB
        4. qstandardpaths_use_xdg.cpp
          2 kB
        5. qstandardpaths_use_xdg.cpp
          2 kB

          Issue Links

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

            Activity

              People

              Assignee:
              cnn Qt Core & Network
              Reporter:
              jpwhiting Jeremy Whiting
              Votes:
              2 Vote for this issue
              Watchers:
              13 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes