Uploaded image for project: 'Qt Installer Framework'
  1. Qt Installer Framework
  2. QTIFW-1043

CreateDesktopEntry doesn't use set XDG_DATA_DIRS or XDG_DATA_HOME values

    XMLWordPrintable

Details

    • e9e77e0c690af7589089c97eebdc698ad8d5d322

    Description

      The documentation of CreateDesktopEntry says: "desktop entry is stored [...] in the location specified in $XDG_DATA_DIRS/applications or $XDG_DATA_HOME/applications, including the default paths for both, as defined by freedesktop.org." But the desktop entry is always created in default folder i.e. ~/.local/share/applications if installed locally.
      While it makes sense that the desktop entry is created in where the operating system looks for it, the documentation gives impression that the env variables have some effect.

      To reproduce, create the attached example installer, set XDG_DATA_HOME env variable and run installer.

      Attachments

        1. qtifw1043.zip
          373 kB
          Qt Support

        Issue Links

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

          Activity

            People

              rakeller Rainer Keller
              qtcomsupport Qt Support
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes