[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: Problems with uic / cmake (missing -L kde_widgetdir)
From:       "Michael Biebl" <mbiebl () gmail ! com>
Date:       2006-08-31 15:26:40
Message-ID: aa76cdac0608310826q534a7a3bk18d474ec1151d751 () mail ! gmail ! com
[Download RAW message or body]

2006/8/31, Thomas Baumgart <ipwizard@users.sourceforge.net>:
> On Thursday 31 August 2006 00:09, Michael Biebl wrote:
>
> [...]
>
> > It seems, that the autogenerated *.cpp file is missing a ktextedit.h
> > include. After investigating the problem, I found that autotools
> > contains a m4 macro:
> > KDE_CHECK_UIC_FLAG(L,[/nonexistent],ac_uic_supports_libpath=yes,ac_uic_supp
> >orts_libpath=no) On Debian this means that autotools calls uic with the
> > parameter "-L /usr/lib/kde3/plugins/designer".
>
> The parameter -L tells uic to look in the said directory for widget libraries.
> The libs contain - among others - the information which "#include <xxx>" line
> should be generated for the widgets contained in the libs. If this
> information (path to directory containing libs) is missing while uic is
> running, the scenario you describe shows up.

This is more or less clear to me. My point is, that kde3uic.cmake
should be fixed and pass -L `kde-config
--prefix`/lib/kde3/plugins/designer as parameter to uic which it
currently does not.

> You mentioned that you run the failing make in a chroot jail. Do you still
> have access to the $(KDEDIR)/lib/kde3/plugins/designer directory there? This
> directory has to contain the kdewidgets.so file.

The files are there. The problem seems to be, that when I run uic
under my normal user account it seems to look for the *.so files in
/usr/lib/kde3/plugins/designer by default, but if I run uic in the
chroot I explicitely have to tell uic too look for the plugins in
/usr/lib/kde3/plugins/designer. Dunno why uic behaves differently in
these two environments. Does uic normally read a config file or
something alike?

Cheers,
Michael
 
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic