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

List:       kde-windows
Subject:    Re: Building kdelibs - dll not found
From:       Stromek <stromek () realtime ! sk>
Date:       2007-01-21 11:45:47
Message-ID: 20070121114547.GA10875 () core ! realtime ! sk
[Download RAW message or body]

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?

> http://pengu.in/~obsidian/pics/png/katewin.png
> 
> On 1/20/07, Stromek <stromek@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
_______________________________________________
Kde-windows mailing list
Kde-windows@kde.org
https://mail.kde.org/mailman/listinfo/kde-windows
[prev in list] [next in list] [prev in thread] [next in thread] 

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