Building kdelibs - dll not found
Peter Kümmel
syntheticpp at gmx.net
Sun Jan 21 14:34:20 CET 2007
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
Have you looked at kdelibs/cmake/modules/FindQt4.cmake?
You could also compare this file with the original cmake file
which resides in 'your cmake installation folder'\share\cmake-2.4\Modules
Peter
> 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 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?
>
More information about the Kde-windows
mailing list