mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-05-09 22:49:53 +08:00
add xcb fallback in case wayland does not work (#3528)
This commit is contained in:
@@ -4,7 +4,7 @@ import os
|
||||
import sys
|
||||
|
||||
# Make sure to use Wayland for high DPI screens
|
||||
os.environ["QT_QPA_PLATFORM"] = "wayland"
|
||||
os.environ["QT_QPA_PLATFORM"] = "wayland;xcb"
|
||||
|
||||
dirname = os.path.dirname(os.path.abspath(__file__))
|
||||
PAPARAZZI_HOME = os.getenv("PAPARAZZI_HOME",dirname)
|
||||
|
||||
Reference in New Issue
Block a user