openstudiocoalition / OpenStudioApplication

The OpenStudio Application is a fully featured graphical interface to OpenStudio models including envelope, loads, schedules, and HVAC.
https://openstudiocoalition.org
Other
132 stars 25 forks source link

Ubuntu 22.04 uses Wayland by default #542

Open macumber opened 2 years ago

macumber commented 2 years ago

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):

MatthewSteen commented 2 years ago

+1 for Ubuntu 22.04.

jmarrec commented 1 month ago

is that still relevant? I just tested 1.8.0-rc2 on 22.04 and it worked fine on a clean VM?