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

Qt should honor /usr/share/pixmaps as a valid icon directory on Linux

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • Some future release
    • 4.7.0, 6.4.2
    • GUI: Look'n'Feel
    • None
    • MeeGo Linux

    Description

      According to the Freedesktop.org icon theme specification (http://standards.freedesktop.org/icon-theme-spec/icon-theme-spec-latest.html#directory_layout), applications should look in the /usr/share/pixmaps directory. From what I can tell, Qt doesn't look for icons in this directory.

      I've attached a patch that adds this functionality. You could improve this patch by adding a helper function to generate the entries, as the code is largely the same regardless of whether the icon is loaded from a theme directory or from /usr/share/pixmaps.

      Attachments

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

        Activity

          People

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            rupertk Kaitlin Rupert
            Votes:
            5 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes