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

Turn QT_QPA_PLATFORM into a list of possible plugins

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Unresolved
    • P4: Low
    • None
    • 6.3.0 Beta2
    • QPA
    • None
    • Ubuntu 20.04 LTS

    • Linux/Wayland

    Description

      1. In an X11 desktop session, set the environment variable "QT_QPA_PLATFORM" to "wayland".
      2. Start Creator.
        It won't start. On the command line you can read:
        Failed to create wl_display (Connection refused)
        qt.qpa.plugin: Could not load the Qt platform plugin "wayland" in "" even though it was found.
        

        Sure, the users get what they asked for. A problem I see with this is that if somebody set the environment variable system-wide and tries to start Creator from a GUI menu, it will just not show up without any feedback. Would it be better to start on xcb anyway and inform the user about this with something like a warning message box?

      Attachments

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

        Activity

          People

            vestbo Tor Arne Vestbø
            rlohning Robert Löhning
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes