msvc: makekdewidgets

Christian Ehrlicher Ch.Ehrlicher at gmx.de
Sun May 14 18:27:16 CEST 2006


Alexander Neundorf schrieb:
> 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 ?
> 
Something in this way.
You also have to make sure to use kdewin32*d*.dll instead kdewin32.dll

Christian

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 250 bytes
Desc: OpenPGP digital signature
Url : http://mail.kde.org/pipermail/kde-buildsystem/attachments/20060514/9b0c30af/attachment.pgp 


More information about the Kde-buildsystem mailing list