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

QIcon::fromTheme() returns null icon

XMLWordPrintable

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

      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
      } 

       

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes