View previous topic :: View next topic |
Author |
Message |
Adel Ahmed Veteran
Joined: 21 Sep 2012 Posts: 1523
|
Posted: Mon Jan 02, 2017 1:40 pm Post subject: qt4 applications not displaying properly[solved] |
|
|
all my qt4 gui applications are displayed incorrectly, if I set $QT_GRAPHICSSYSTEM to native, and run the application from the terminal, everyhing is fine.
I want to run applications from thunar and changing the QT_GRAPHICSSYSTEM environ variable does not work there
how can I set this for my gui applications.
Last edited by Adel Ahmed on Thu Jan 26, 2017 7:24 am; edited 1 time in total |
|
Back to top |
|
|
kensington Developer
Joined: 02 Jan 2013 Posts: 177 Location: Australia
|
Posted: Wed Jan 04, 2017 8:19 am Post subject: |
|
|
You could set this globally:
Code: | eselect qtgraphicssystem set native |
|
|
Back to top |
|
|
Adel Ahmed Veteran
Joined: 21 Sep 2012 Posts: 1523
|
Posted: Thu Jan 05, 2017 8:21 am Post subject: |
|
|
ufortunately for some reason this did not work, I have changed the qtgraphicssystem successfully, but only the terminal launched applications display correctly.
I'm using xfce4 and thunar by the way |
|
Back to top |
|
|
Adel Ahmed Veteran
Joined: 21 Sep 2012 Posts: 1523
|
Posted: Sat Jan 14, 2017 6:51 pm Post subject: |
|
|
bump |
|
Back to top |
|
|
Fitzcarraldo Advocate
Joined: 30 Aug 2008 Posts: 2034 Location: United Kingdom
|
Posted: Mon Jan 16, 2017 12:54 pm Post subject: |
|
|
I had to do the following:
Code: | # eselect qtgraphicssystem set raster |
_________________ Clevo W230SS: amd64, VIDEO_CARDS="intel modesetting nvidia".
Compal NBLB2: ~amd64, xf86-video-ati. Dual boot Win 7 Pro 64-bit.
OpenRC udev elogind & KDE on both.
Fitzcarraldo's blog |
|
Back to top |
|
|
Adel Ahmed Veteran
Joined: 21 Sep 2012 Posts: 1523
|
Posted: Mon Jan 16, 2017 4:21 pm Post subject: |
|
|
changing the values seems to only affect clementine launched from the terminal(it stopped working with raster), the gui started one was unaffected, it wsa visible no matter what. it seems the gui is not reading the /etc/env.d files!!
I'm using xfce4 & slim ass a login manager |
|
Back to top |
|
|
mir3x Guru
Joined: 02 Jun 2012 Posts: 455
|
Posted: Mon Jan 16, 2017 6:56 pm Post subject: |
|
|
Check:
env | grep QT
if u installed qt5ct or some other weird stuff, its probably overwritting some variables. _________________ Sent from Windows |
|
Back to top |
|
|
Adel Ahmed Veteran
Joined: 21 Sep 2012 Posts: 1523
|
Posted: Tue Jan 17, 2017 4:08 am Post subject: |
|
|
adel@g50-80 ~/Desktop $ env | grep QT
QT_GRAPHICSSYSTEM=native
I don't have that installed |
|
Back to top |
|
|
Adel Ahmed Veteran
Joined: 21 Sep 2012 Posts: 1523
|
Posted: Thu Jan 26, 2017 7:22 am Post subject: |
|
|
WOW did not see this coming
slim was starting xfce4 with a non-login shell, I change the line from
exec startxfce4
to
exec /bin/bash -login /usr/bin/startxfce4
and everything is being displayed just fine now.
thanks everyone for your help |
|
Back to top |
|
|
|