qt5ct - Segmentation fault [Resolvido]
Dica publicada em Linux / Configuração
qt5ct - Segmentation fault [Resolvido]
Dica testada no Debian 11 estável.
Para aplicar o mesmo tema GTK nos aplicativos QT, resolvi usar o "qt5ct".
sudo apt install qt5ct qt5-style-plugins
Ou:
sudo nala install qt5ct qt5-style-plugins #se estiver usando nala
Mas ao selecionar o tema gtk2, o aplicativo fechava com a mensagem:
Para contornar isso, é necessário executar antes:
export QT_QPA_PLATFORMTHEME=qt5ct
Depois:
qt5ct
Agora sim, poderá aplicar o tema.
Para agilizar, coloque no ".bashrc":
echo "export QT_QPA_PLATFORMTHEME=qt5ct" >> ~/.bashrc
source ~/.bashrc
Fica a dica.
Fonte: [SOLVED] Yet another 'Qt5 apps theme broken
Para aplicar o mesmo tema GTK nos aplicativos QT, resolvi usar o "qt5ct".
sudo apt install qt5ct qt5-style-plugins
Ou:
sudo nala install qt5ct qt5-style-plugins #se estiver usando nala
Mas ao selecionar o tema gtk2, o aplicativo fechava com a mensagem:
(qt5ct:88628): GLib-GObject-CRITICAL **: 21:51:04.378: g_object_new_with_properties: assertion 'G_TYPE_IS_OBJECT (object_type)' failed Segmentation fault
Para contornar isso, é necessário executar antes:
export QT_QPA_PLATFORMTHEME=qt5ct
Depois:
qt5ct
Agora sim, poderá aplicar o tema.
Para agilizar, coloque no ".bashrc":
echo "export QT_QPA_PLATFORMTHEME=qt5ct" >> ~/.bashrc
source ~/.bashrc
Fica a dica.
Fonte: [SOLVED] Yet another 'Qt5 apps theme broken
Se eu precisar uso essa dica. Muito boa. Mas creio que vou continuar no KDE.
___________________________________________________________
Conhecimento não se Leva para o Túmulo.
https://github.com/mxnt10