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

[Wayland] GTK theme gets loaded when the Wayland plugin is used, and tries to connect to X

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.1.0
    • 5.0.0
    • QPA: Wayland
    • None
    • 10652f8dd675aa0d12c11597c165831c8ba0b8b4

    Description

      Hi.

      I am building QT 5 from GIT, I have tried release, and then the stable branch. With both, I have tried to run a sample with the Wayland backend, however the issue is that they also try to connect to an xserver.

      With weston, it uses xwayland, so it gets worked around, but when I unset DISPLAY I get a GTK error, that it can not connect to an Xserver.

      After asking on the IRC, it has been determined that QT is using the gtk style when this error happens, and when I pass -style fusion to the QT sample, it is able to run on Wayland without DISPLAY being set.

      Attachments

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

        Activity

          People

            janichol Andy Nichols
            nerdopolis nerdopolis turfwalker
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes