kwan888-github / iep

Automatically exported from code.google.com/p/iep
0 stars 0 forks source link

Version of Qt issue #198

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Won't launch.
2. Cannot mix incompatible Qt library (version 0x40803) with this library 
(version 0x40804)
3.

What is the expected output? What do you see instead?

What version of the product are you using? On what operating system?
iep-3.2beta.linux64.tar.gz
Kubuntu 12.10 x-86_64 Linux

Please provide any additional information below.

Original issue reported on code.google.com by garyfran...@gmail.com on 10 Mar 2013 at 3:42

GoogleCodeExporter commented 8 years ago
This is a known problem with Qt apps on KDE. When the Oxygen theme is trying to 
be loaded, Qt tries to load it natively from the system, which relies on the 
system Qt libraries, which wont mix with the ones that ship with IEP.

I can make IEP start a bit further by setting the default Qt theme to 
cleanlooks using the qtconfig tool. But then it crashes again...

Original comment by almar.klein@gmail.com on 10 Mar 2013 at 11:14

GoogleCodeExporter commented 8 years ago
I found things that go wrong:
1) the qt theme cannot be set to Oxygen
2) the file browser and project manager use a QFileIconProvider, which also 
triggers into using the system libs when an icon for a file on the filesystem 
is requested.

I made fixes to make things work, but there is still one problem: You still 
need to unset Oxygen as the default theme using the qtconf util. Otherwise the 
QApplication cannot even be created.

Original comment by almar.klein@gmail.com on 11 Mar 2013 at 11:53

GoogleCodeExporter commented 8 years ago
Oh wow.  The solution is embarrassingly simple: put a qt.conf next to the 
executable to disable the qt plugin directory. Like magic, all problems are 
solved. 

The Oxygen theme can even be the active one, but it will simply be ignored. The 
file icons in the file browser are simply the default file icon.

Original comment by almar.klein@gmail.com on 11 Mar 2013 at 11:59

GoogleCodeExporter commented 8 years ago
This issue was closed by revision 81204d9753ce.

Original comment by almar.klein@gmail.com on 11 Mar 2013 at 12:21

GoogleCodeExporter commented 8 years ago

Original comment by almar.klein@gmail.com on 13 Mar 2013 at 8:21