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

FAIL! : tst_qquickiconimage::svgNoSizes() Compared values are not the same

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • P2: Important
    • None
    • 6.6.2
    • None
    • GNU Guix
    • Linux/X11

    Description

      Hello,

      This test newly fails after upgrading from 6.5.2 to 6.6.2:

      QWARN  : tst_qquickiconimage::svgNoSizes() file:///tmp/guix-build-qtdeclarative-6.6.2.drv-0/qtdeclarative-everywhere-src-6.6.2/tests/auto/quickcontrols/qquickiconimage/data/svgNoSizes.qml:12:5: QML QQuickImage: E
      rror decoding: qrc:/icons/testtheme/appointment-new.svg: Unsupported image format
      QWARN  : tst_qquickiconimage::svgNoSizes() file:///tmp/guix-build-qtdeclarative-6.6.2.drv-0/qtdeclarative-everywhere-src-6.6.2/tests/auto/quickcontrols/qquickiconimage/data/svgNoSizes.qml:9:5: QML IconImage: Erro
      r decoding: qrc:/icons/testtheme/appointment-new.svg: Unsupported image format
      FAIL!  : tst_qquickiconimage::svgNoSizes() Compared values are not the same
         Actual   (iconImage->sourceSize().width()): 0
         Expected (48 * integerDpr)                : 48
         Loc: [/tmp/guix-build-qtdeclarative-6.6.2.drv-0/qtdeclarative-everywhere-src-6.6.2/tests/auto/quickcontrols/qquickiconimage/tst_qquickiconimage.cpp(340)]

      This happens using GNU Guix (with patches to upgrade Qt 6), where qtdeclarative is configured with:

      -- Configure summary:
      
      Qt QML:
        QML network support .................... yes
        QML debugging and profiling support .... yes
        QML just-in-time compiler .............. yes
        QML XML http request ................... yes
        QML Locale ............................. yes
      Qt QML Models:
        QML list model ......................... yes
        QML delegate model ..................... yes
      Qt Quick:
        AnimatedImage item ..................... yes
        Canvas item ............................ yes
        Support for Qt Quick Designer .......... yes
        Flipable item .......................... yes
        GridView item .......................... yes
        ListView item .......................... yes
        TableView item ......................... yes
        TreeView item .......................... yes
        Path support ........................... yes
        PathView item .......................... yes
        Positioner items ....................... yes
        Repeater item .......................... yes
        ShaderEffect item ...................... yes
        Sprite item ............................ yes
      Qt Quick Templates 2:
        Hover support .......................... yes
        Multi-touch support .................... yes
        Calendar support ....................... yes
      Qt Quick Controls 2:
        Styles ................................. Basic Fusion Imagine Material Universal

      I'm not sure, but it may be related to the use of a non-FHS installation layout, as was found in https://bugreports.qt.io/browse/QTBUG-116019

      Attachments

        Issue Links

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

          Activity

            People

              axelspoerl Axel Spoerl
              apteryx Maxim Cournoyer
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes