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

    • User Story
    • Resolution: Out of scope
    • Not Evaluated
    • None
    • None
    • Core: I/O
    • None
    • 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
          René Bertin
        2. QSP-patch-20150310.diff
          8 kB
          René Bertin
        3. QSP-patch-20150311.diff
          13 kB
          René Bertin
        4. qstandardpaths_use_xdg.cpp
          2 kB
          René Bertin
        5. qstandardpaths_use_xdg.cpp
          2 kB
          René Bertin

        Issue Links

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

          Activity

            People

              cnn Qt Core & Network
              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