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

QPA platform probing

    XMLWordPrintable

Details

    Description

      Status:

      • QT_QPA_PLATFORM only supports a single value
      • QPA plugin failing brings down the whole application
      • this is problematic on modern platforms (Wayland, Mir) that provide legacy support (XWayland, XMir)

      Prior art

      Proposal

      • add (optional?) API for QPA plugins probing the system
      • have QT_QPA_PLATFORM accept a comma-separated list
      • alternatively a higher-priority QT_QPA_PLATFORMS to not modify behaviour
      • have QApplication try the plugins in order (skipping any missing ones)
      • default order on Linux should have Wayland and Mir prior to X11

      Attachments

        Issue Links

          Activity

            People

              johanhelsing Johan Helsing
              saviq MichaƂ Sawicz
              Votes:
              2 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: