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. qstandardpaths_use_xdg.cpp
          2 kB
        2. qstandardpaths_use_xdg.cpp
          2 kB
        3. QSP-patch-20150311.diff
          13 kB
        4. QSP-patch-20150310.diff
          8 kB
        5. QSP-patch-20150301.diff
          4 kB

        Issue Links

          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: