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

autotest failure between Qt 4.6.3 and Qt 4.7.2 in QLinearGradient::setStops method on Symbian^3 platform

XMLWordPrintable

    • eb20a7341827b5590fbd891ca1b82ea7ba37d679

      tests/auto/qbrush(tst_qbrush) is failed on Symbian^3 device in following test case

      void tst_QBrush::gradientStops()
      {
          // A hack in parseStopNode() in qsvghandler.cpp depends on inserting stops at NaN.
          gradient.setStops(QGradientStops() << QGradientStop(qQNaN(), QColor()));
          QCOMPARE(gradient.stops().size(), 1);
      }
      

      gradient.stops().size() method still returns 2. According documentation it seems correct behavior.
      But it is passed on Qt 4.6.3 and also on Windows platform and emulator for 4.7.2.
      Failing is only Symbian device. Perhaps it is not BC issue but should be fixed somehow.

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

            agocs Laszlo Agocs (Inactive)
            vasyura Oleh Vasyura
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes