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

tst_qquickwidget::readback() Compared values are not the same

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Not Evaluated Not Evaluated
    • None
    • 5.6.3
    • GUI: OpenGL, QPA: Wayland
    • None
    • Linux/Wayland

      Test case: tst_qquickwidget

      When I run this test case on my target board using Wayland, an error occurs. Although the red color is correctly displayed on the monitor, the read-back value is incorrect. Please help me find a solution. Here is my log:

      FAIL!  : tst_qquickwidget::readback() Compared values are not the same
         Actual   (pix)            : 4278190080
         Expected (qRgb(255, 0, 0)): 4294901760
         Loc: [tst_qquickwidget.cpp(266)]

      Here is the content of my rectangle.qml file::

      import QtQuick 2.0
      Rectangle

      {     width: 200     height: 200     color: "red" }

       

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

            lagocs Laszlo Agocs
            tamnguyen Nguyễn Tâm
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes