View previous topic :: View next topic |
Author |
Message |
wegas n00b
Joined: 19 Jul 2014 Posts: 3
|
Posted: Sat Jul 19, 2014 8:34 pm Post subject: Qt4 broken |
|
|
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 |
|
|
The Doctor Moderator
Joined: 27 Jul 2010 Posts: 2678
|
Posted: Sat Jul 19, 2014 8:47 pm Post subject: |
|
|
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 |
|
|
wegas n00b
Joined: 19 Jul 2014 Posts: 3
|
Posted: Mon Jul 21, 2014 3:06 pm Post subject: |
|
|
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 |
|
|
wegas n00b
Joined: 19 Jul 2014 Posts: 3
|
Posted: Wed Jul 23, 2014 7:39 am Post subject: |
|
|
Unfortunately disabling and removing infinality did not help.
Does anyone else have an idea on how to progress? |
|
Back to top |
|
|
|