Skip to content

Ubuntu 22.04 uses Wayland by default #542

@macumber

Description

@macumber

Issue overview

By default the QT_QPA_PLATFORM is xcb on Ubuntu 20.04, but on 22.04 it's wayland. echo $XDG_SESSION_TYPE returns x11 on 20.04 but wayland in 22.04

When launching the OSApp, the platform plugin wayland is not found.

Workaround is to launch the OSApp with QT_QPA_PLATFORM=xcb OpenStudioApp

Current Behavior

OSApp doesn't run on Ubuntu 22.04

Expected Behavior

OSApp should run for both xcb and wayland

Possible Solution

Install wayland plugins for Ubuntu packages

Environment

Some additional details about your environment for this issue (if relevant):

  • Platform (Operating system, version): Ubuntu 22.04
  • Version of OpenStudioApplication (if using an intermediate build, include SHA): 1.4.0-RC.2

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions