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

The color of Qt5 widget is wrong when shown in a Linux vnc session with bgrNNN pixel format

    XMLWordPrintable

    Details

      Description

      1. create a vnc session on linux with pixel format bgrNNN. For realvnc or tigervnc, you can do: vncserver -pixelformat bgr888. (This pixel format seems to be part of the default setting for some vncserver )

      2. run the example attached.

      3. click "red" button, you will see the background turns into blue.

      This does not happen with Qt4

        Attachments

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

          Activity

            People

            Assignee:
            lagocs Laszlo Agocs
            Reporter:
            pyl0420 Yili Pan
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes