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

List:       kde-buildsystem
Subject:    msvc: makekdewidgets
From:       syntheticpp () gmx ! net (=?ISO-8859-1?Q?Peter_K=FCmmel?=)
Date:       2006-05-14 19:58:44
Message-ID: 44678BF4.1090800 () gmx ! net
[Download RAW message or body]

Alexander Neundorf wrote:
> On Sunday 14 May 2006 18:02, Christian Ehrlicher wrote:
>> Peter K?mmel schrieb:
>>> Something for the kdewin32 TODO list:
>>>
>>>
>>> makekdewidgets throws an assert in win/src/mmap.c:
>>>
>>> line 117:
>>> 	hfd = (HANDLE)_get_osfhandle( fd );
>>>
>>>
>>> When the mmap call is avoided then makekdewidgets
>>> does not crash:
>> I wonder how often I have to say this - you *can't* mix debug and relase
>> libs as you do here. Because of this I stopped msvc compilation - the
>> kdelibs need a debug prefix like the qt libs have.
> 
> Ok, so what exactly is required ?
> 
> if (MSVC)
>    set(DEBUG_POSTFIX "_debug")
> endif (MSVC)
> 
> and then always only use debug versions of all kde libs in debug build mode ?
> 
> Bye
> Alex

When I delete all release versions of Qt then cmake generates makefiles which
only link against the debug versions, and the makekdewidget crash is gone.

So I think it couldn't be very hard to add a switch to link for msvc only against
the debug version-libs of Qt.


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

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