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

xdgConfigDirs doesn't look in the default INSTALL_SYSCONFDIR location

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3: Somewhat important P3: Somewhat important
    • None
    • 6.0.0 Alpha
    • Build System: CMake

      With Qt6, the default location for config file is ${CMAKE_INSTALL_PREFIX}/etc/xdg and QtBuild.cmake allows using a location outside of the installation dir.

      However, qstandardpath_unix.cpp doesn't look there if XDG_CONFIG_DIRS is not set.

      xdgConfigDirs will only contain /etc/xdg

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

            jbornema Joerg Bornemann
            cgiboudeaux Christophe Marin
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes