Linux: Force QT_QPA_PLATFORM=xcb for Wayland compat.
This commit is contained in:
committed by
Chris Hennes
parent
e9d298a94f
commit
3c25cdc213
@@ -9,6 +9,9 @@ export PATH_TO_FREECAD_LIBDIR=${HERE}/usr/lib
|
|||||||
export FONTCONFIG_FILE=/etc/fonts/fonts.conf
|
export FONTCONFIG_FILE=/etc/fonts/fonts.conf
|
||||||
export FONTCONFIG_PATH=/etc/fonts
|
export FONTCONFIG_PATH=/etc/fonts
|
||||||
|
|
||||||
|
# Fix: Use X to run on Wayland
|
||||||
|
export QT_QPA_PLATFORM=xcb
|
||||||
|
|
||||||
# Show packages info if DEBUG env variable is set
|
# Show packages info if DEBUG env variable is set
|
||||||
if [ "$DEBUG" = 1 ]; then
|
if [ "$DEBUG" = 1 ]; then
|
||||||
cat ${HERE}/packages.txt
|
cat ${HERE}/packages.txt
|
||||||
|
|||||||
Reference in New Issue
Block a user