| View previous topic :: View next topic |
| Author |
Message |
elmopl n00b

Joined: 09 Feb 2010 Posts: 3
|
Posted: Tue Feb 09, 2010 4:47 pm Post subject: Qt - no text on anything (labels, buttons etc.) after update |
|
|
So what I've done is | Code: | | emerge -u --deep qt-gui |
and after that I've run
And my problem is that when I run i.e. qtconfig or any other Qt application everything works except no text is displayed on label, buttons, inputs and all other widgets. I've already recompiled whole qt-gui, qt-core and qt-webkit. Run revdep-rebuild to ensure nothing's broken. And now I'm stuck. Has anyone idea what is wrong?
Some more info:
| Code: | $ emerge -pv gtk+ qt-gui
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild R ] x11-libs/gtk+-2.18.6 USE="cups jpeg jpeg2k tiff vim-syntax (-aqua) -debug -doc -test -xinerama" 0 kB
[ebuild R ] x11-libs/qt-gui-4.6.1 USE="accessibility cups dbus debug glib gtk mng qt3support tiff (-aqua) -nas -nis -pch -raster -xinerama" 0 kB |
Some examples of what I am talking about:
http://users.dolinka.net.pl/~elmo/rysunki_na_fora/gentoo/2010.02.09-1736.21.jpg
http://users.dolinka.net.pl/~elmo/rysunki_na_fora/gentoo/2010.02.09-1741.41.jpg |
|
| Back to top |
|
 |
Mike Hunt Watchman


Joined: 19 Jul 2009 Posts: 5287
|
Posted: Tue Feb 09, 2010 5:04 pm Post subject: |
|
|
Did you notice the postinst elog? | Quote: | WARN: postinst
After a rebuild or upgrade of Qt, it can happen that Qt plugins (such as Qt
and KDE styles and widgets) can no longer be loaded. In this situation you
should recompile the packages providing these plugins. Also, make sure you
compile the Qt packages, and the packages that depend on it, with the same
GCC version and the same USE flag settings (especially the debug flag). |
Not sure, but it may be required to re-emerge all the Qt packages together in the correct order: | Code: | | emerge -1av $(qlist -IC x11-libs/qt) |
|
|
| Back to top |
|
 |
elmopl n00b

Joined: 09 Feb 2010 Posts: 3
|
Posted: Tue Feb 09, 2010 7:11 pm Post subject: |
|
|
| Mike Hunt wrote: | | Did you notice the postinst elog? |
Yes I did, but while upgrading Qt all packages were updated so any recompilations should be unnecessary.
| Mike Hunt wrote: | Not sure, but it may be required to re-emerge all the Qt packages together in the correct order: | Code: | | emerge -1av $(qlist -IC x11-libs/qt) |
| Just to be sure I did wait hour and a half to check if this will help and nothing's changed.
So any other ideas what to do?
edit:
I think I should also note that any changes of the current style do not solve the problem (style changes, but still I do not have any text visible).
Also I get no errors on the console, only warning from GTK which appears for every application using GTK: | Code: | | (<unknown>:6505): Pango-WARNING **: failed to choose a font, expect ugly output. engine-type='PangoRenderFc', script='common' |
solved:
So after some clicking I found out that the problem was quite trivial. Selected font (ClearlyU Alternate Glyphs) is not printable by Qt. I don't know why, but after selecting other font everything is back to working.
P.S. I would edit subject and add 'Solved', but I cannot make subject any longer... |
|
| Back to top |
|
 |
Mike Hunt Watchman


Joined: 19 Jul 2009 Posts: 5287
|
Posted: Tue Feb 09, 2010 7:37 pm Post subject: |
|
|
Did you try revdep-rebuild?
Note that if you have upgraded to jpeg-8 or when you do, you need to run
revdep-rebuild --library libjpeg.so.7
and you can try | Code: | | pango-querymodules > /etc/pango/pango.modules |
|
|
| Back to top |
|
 |
elmopl n00b

Joined: 09 Feb 2010 Posts: 3
|
Posted: Tue Feb 09, 2010 8:29 pm Post subject: |
|
|
| Mike Hunt wrote: | | Did you try revdep-rebuild? |
| elmopl wrote: | | I've already recompiled whole qt-gui, qt-core and qt-webkit. Run revdep-rebuild to ensure nothing's broken. |
| Mike Hunt wrote: | | Code: | | pango-querymodules > /etc/pango/pango.modules |
|
Did nothing. |
|
| Back to top |
|
 |
|