Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 6736 - kdelibs does not register his qt-plugins to qt
Summary: kdelibs does not register his qt-plugins to qt
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Dan Armak (RETIRED)
URL:
Whiteboard:
Keywords:
: 6955 (view as bug list)
Depends on:
Blocks:
 
Reported: 2002-08-19 15:11 UTC by Hannes Mehnert (RETIRED)
Modified: 2003-02-04 19:42 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Hannes Mehnert (RETIRED) gentoo-dev 2002-08-19 15:11:08 UTC
the kde-plugins needed by kemerge, kportagemaster and some other applications 
are not in librarypath from qt, so emerge them will end in an error "invalid 
use of undefined type `struct KURLLabel'" 
 
this error also appears when kdelibs is compiled with an older qt version. 
 
kdelibs should point qt that it has plugins for him, or they just have to be 
copied or linked to /usr/qt/3/plugins/designer (the default dir of plugins 
from qt) 
 
this error can only be reproduced with a new system from scratch, because 
older versions of kdelibs installed their plugins in the qt-plugin dir.
Comment 1 Dan Armak (RETIRED) gentoo-dev 2002-08-22 18:52:32 UTC
Hmm...   
  
The reason kdelibs no longer installs plugins into the qt plugin dir is that   
there can be several kdelibs packages installed at the same time (3.0.x, 3.1.x   
and so on) with conflicting plugins, but there is only one qt plugin dir.   
  
And QT has no system-wide configuration file which we can use to add the kde  
plugins dir to its search path. It only uses ~/.qt/qtrc and ebuilds cannot  
modify per-user files.  
  
Ideas? Can't we fix the kemerge/kportagemaster build process somehow so that it  
doesn't require such a setup?  
  
Adding the kemerge author to cc:. Ideas anyone? 
Comment 2 Sebastian Kratzert 2002-08-23 10:44:41 UTC
Isn't ist possible to preload a library?  Maybe it works with: export LD_PRELOAD=/usr/kde/3/lib/kde3/plugins/designer/kdewidgets.so  
Comment 3 Dan Armak (RETIRED) gentoo-dev 2002-08-26 07:06:08 UTC
OK, I believe I've fixed this. Long story which I don't want to repeat here. 
Please emerge rsync for the latest kde.eclass and see if the problem goes away. 
Comment 4 Dan Armak (RETIRED) gentoo-dev 2002-08-26 13:42:07 UTC
*** Bug 6955 has been marked as a duplicate of this bug. ***
Comment 5 Stefano Zamprogno 2002-08-27 02:38:52 UTC
k3b problems FIXED :)

thanks!
Comment 6 Dan Armak (RETIRED) gentoo-dev 2002-08-27 02:55:54 UTC
Officially fixed, with confirmation from Hannes.