Skip to content

XDG Directories and QStandardPaths #177

@hmaarrfk

Description

@hmaarrfk

Comment:

This is a 2-in-1 question:

Qt defines standard interfaces for paths
https://doc.qt.io/qt-6/qstandardpaths.html#details

The code can be found
https://github.com/qt/qtbase/blob/dev/src/corelib/io/qstandardpaths_unix.cpp#L395

However:

  1. Conda packages do not install there
  2. Therefore, packages that rely on "system" files in those location cannot find them. eg. Theming not quite right qgnomeplatform-feedstock#4

should we:

Option 1

Create an XDG package that sets the environment variables correctly.

  • I really don't like adding to the environment variables, but it seems like a good idea....

Option 2

Patch Qt to also include some of the Qt installation directories???

I feel like we almost need both....

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions