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

QIcon::fromTheme() returns null icon

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • P3: Somewhat important
    • None
    • 6.5.3, 6.6.1
    • GUI: Look'n'Feel
    • None
    • Windows

    Description

      In Qt 6.6.1, the QIcon::fromTheme() returns null icons.

      Test code:

      void TestSuite::testIconFromTheme()
      {
          QIcon icon = QIcon::fromTheme("dialog-information");
          QVERIFY(!icon.isNull()); // Fails in Qt 6.6.1
      } 

       

      Attachments

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

        Activity

          People

            axelspoerl Axel Spoerl
            simisas Per Ivar Bruheim
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes