Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Qt4 broken
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
wegas
n00b
n00b


Joined: 19 Jul 2014
Posts: 3

PostPosted: Sat Jul 19, 2014 8:34 pm    Post subject: Qt4 broken Reply with quote

Hello Forums,
I'm having trouble lately with Qt4.

Since I wanted to use QtCreator 5 I thought it a good idea to use the online installer. QtCreator could run fine, but sometimes crashed and it seemed to me that QtCreator actually used Qt4 and Qt5 in a mix. Later I wanted remove QtCreator 5 altogether with the bundled libs, which seems to not have worked.

From then on every program that uses Qt4 threw a floating point exception and I get the following error messages from gdb:
Code:

$ gdb /usr/bin/qtconfig
[...]
0x00007ffff75ef2e8 in QFontEngineFT::averageCharWidth() const ()
   from /usr/lib64/qt4/libQtGui.so.4

Code:

$ gdb /usr/bin/vlc
[...]
0x00007fffed7192e8 in QFontEngineFT::averageCharWidth() const () from /usr/lib64/qt4/libQtGui.so.4


I have already reemerged qtcore and vlc, as well as doing a world-update, preserved rebuild, as well as a revdep-rebuild. The Qt5 online (de-)installer won't start, because it needs a working Qt environment to draw its windows. Reading the strace files didn't get me any further but I uploaded them nonetheless: qtcreator, vlc.

Hopefully someone has another idea.
Back to top
View user's profile Send private message
The Doctor
Moderator
Moderator


Joined: 27 Jul 2010
Posts: 2678

PostPosted: Sat Jul 19, 2014 8:47 pm    Post subject: Reply with quote

Welcome to the forums.

In the future, you may want to do an overlay search before manually installing software. Manual installations are practically guaranteed to mess up your system. I believe qt5 is in the qt overlay.

A targeted rebuild of all your qt packages should do the trick. You can use qlist to get a list like so emerge -1 $(qlist -IC dev-qt/*)

If that doesn't work you may as well recompile the entire dependency tree. emerge -1ev qt-creator should do the trick, but it will also get a bunch of other packages unfortunately.
_________________
First things first, but not necessarily in that order.

Apologies if I take a while to respond. I'm currently working on the dematerialization circuit for my blue box.
Back to top
View user's profile Send private message
wegas
n00b
n00b


Joined: 19 Jul 2014
Posts: 3

PostPosted: Mon Jul 21, 2014 3:06 pm    Post subject: Reply with quote

Took my old machine quite some time for those ~300 packages.

Unfortunately that didn't work out, everything is still giving the same error as before. Thanks for the tips though, The Doctor.

I think it may have to do something with Infinality being installed on my system and it the only thing I currently can imagine having to do with fonts within Qt. The strange thing is that GTK works fine, even when I play around with fontconfig.

If some other idea comes up, I'd be happy to know.
Back to top
View user's profile Send private message
wegas
n00b
n00b


Joined: 19 Jul 2014
Posts: 3

PostPosted: Wed Jul 23, 2014 7:39 am    Post subject: Reply with quote

Unfortunately disabling and removing infinality did not help.

Does anyone else have an idea on how to progress?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum