forked from mirrored-repos/manjaro-tools
[util-iso-image] with qt5ct 0.25 QT_STYLE_OVERRIDE needs to be removed
This commit is contained in:
parent
4cfbe4543f
commit
04c6b3917e
1 changed files with 4 additions and 4 deletions
|
@ -65,14 +65,14 @@ configure_environment(){
|
|||
case ${profile} in
|
||||
cinnamon*|deepin*|gnome|i3|lxde|mate|netbook|openbox|pantheon|xfce*)
|
||||
echo "QT_STYLE_OVERRIDE=gtk" >> $1/etc/environment
|
||||
if [[ -f "$1/usr/lib/qt/plugins/platformthemes/libqt5ct.so" ]];then
|
||||
sed -i '/QT_STYLE_OVERRIDE=gtk/d' $1/etc/environment
|
||||
echo "QT_QPA_PLATFORMTHEME=qt5ct" >> $1/etc/environment
|
||||
fi
|
||||
if [[ -f "$1/usr/lib/qt/plugins/styles/libqgtk2style.so" ]];then
|
||||
sed -i '/QT_STYLE_OVERRIDE=gtk/d' $1/etc/environment
|
||||
echo "QT_STYLE_OVERRIDE=gtk2" >> $1/etc/environment
|
||||
fi
|
||||
if [[ -f "$1/usr/lib/qt/plugins/platformthemes/libqt5ct.so" ]];then
|
||||
sed -i '/QT_STYLE_OVERRIDE=gtk/d' $1/etc/environment
|
||||
echo "QT_QPA_PLATFORMTHEME=qt5ct" >> $1/etc/environment
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue