Building kdelibs - dll not found

Stromek stromek at realtime.sk
Sun Jan 21 13:08:39 CET 2007


On Sun, Jan 21, 2007 at 12:45:47PM +0100, Stromek wrote:
> On Sat, Jan 20, 2007 at 09:39:44PM -0800, Ryan Loebs wrote:
> > I've seen the same thing, and removing it works for me... here's a
> > screenshot of a running Kate:
> 
> I have found that there is a problem with QT_QTMAIN_LIBRARIES in
> KDE4_ADD_EXECUTABLE macro. Printing out the variable shows
> 
> QT_QTMAIN_LIBRARIES:
> optimized;optimized;N:/Qt/4.2/lib/qtmain.lib;debug;N:/Qt/4.
> 2/lib/qtmaind.lib;debug;N:/Qt/4.2/lib/qtmaind.lib
> 
> There is one optimized that shouldn't be there and cmake expands it to
> optimized.lib. I cannot find where QT_QTMAIN_LIBRARIES is filled. It
> looks like not in kdelibs. However, according to cmake documentation
> there is QT_QTMAIN_LIBRARY variable. Any idea how to fix it?

It looks like it is just a typing error. CMake shouldn't have
QT_QTMAIN_LIBRARIES according to documentation  but unfortunately it has and its content is somewhat strange.
I think that originally (r622674) QT_QTMAIN_LIBRARY was intended to be there.

> > http://pengu.in/~obsidian/pics/png/katewin.png
> > 
> > On 1/20/07, Stromek <stromek at realtime.sk> wrote:
> > > On Sun, Jan 21, 2007 at 12:03:31AM +0100, Stromek wrote:
> > > > On Sat, Jan 20, 2007 at 06:51:28PM +0100, Stromek wrote:
> > > > > Ehm, solved. All were just smaller errors, fortunately for me :) It
> > > > > looks like, kdelibs are gonna build successfully for me and than I will post
> > > > > the fixes, however here are some of them:
> > > >
> > > > Building kdelibs in release makes lots of linking errors because it
> > > > looks for some library "optimized.lib". What it is? Where can I
> > > > find/generate/learn_about it? :)
> > >
> > > It looks like it is good for nothing. When I remove it from linking it
> > > links without error. However, it is present in lots of projects under
> > > kdelibs. Anyone?

-- 
Stromek



More information about the Kde-windows mailing list