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

[autotests] tst_QIcon::availableSizes() and tst_QIcon::task223279_inconsistentAddFile() fail with -no-widgets

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • 5.1.1
    • 5.1.0 RC1
    • GUI: Look'n'Feel
    • None
    • Ubuntu 12.04 x64
    • d309574c03820beeb60f668fdace1817106b0bd9

    Description

      Testing tst_QIcon
      FAIL!  : tst_QIcon::availableSizes() Compared values are not the same
         Actual   (availableSizes.size()): 0
         Expected (1): 1
         Loc: [tst_qicon.cpp(442)]
      FAIL!  : tst_QIcon::task223279_inconsistentAddFile() Compared values are not the same
         Actual   (pm1.isNull()): 1
         Expected (false): 0
         Loc: [tst_qicon.cpp(638)]
      Totals: 43 passed, 2 failed, 0 skipped
      

      This is most likely due to the fact that when "-no-widgets" is used, qtbase/src/widgets/styles/qstyle.qrc doesn't get loaded so ":/qt-project.org/styles/commonstyle/images/standardbutton-open-16.png" is not found.

      Attachments

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

        Activity

          People

            seahumad [BB] Sergio Ahumada (Inactive)
            seahumad [BB] Sergio Ahumada (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes