[Development] Linking release build of webkit with debug build of Qt

Simon Hausmann simon.hausmann at digia.com
Thu Jul 11 11:22:43 CEST 2013


On Thursday 11. July 2013 08.12.16 Saether Jan-Arve wrote:
> You shouldn't mix debug and release libraries. It will most likely cause
> your application to malfunction.
> 
> If you need webkit in release mode you should also build the rest of Qt in
> release mode.

In addition to what Jan-Arve said: The pthreads dependency of QtWebKit is 
removed in Qt 5 and webkit trunk. I don't remember  exactly, but I think we 
also had a patch in Qt 4's WebKit to eliminate it.


Simon

> From: development-bounces+jan-arve.saether=digia.com at qt-project.org
> [mailto:development-bounces+jan-arve.saether=digia.com at qt-project.org] On
> Behalf Of Amogh Kudari Sent: 10. juli 2013 13:28
> To: development at qt-project.org
> Subject: [Development] Linking release build of webkit with debug build of
> Qt
> 
> 
> 
> Hi All,
> 
>                 I have qt built for windows in debug mode without webkit. I
> wanted to build webkit as a separate component. Now I am building webkit
> but in release mode.I am using build-webkit script to build webkit with the
> following options "perl build-webkit --qt --release --only-webkit". I am
> facing 2 issues here
> 
> 1. LINK : fatal error LNK1181: cannot open input file 'pthreadVC2.lib'
> I am unable to find this lib in my system. Should I download it from
> somewhere or will Qt provide any supporting libs for windows pthreads... I
> did not get much help in net....
> 
> and
> 
> 2. LINK : fatal error LNK1181: cannot open input file
> 'C:\Admin\qt\lib\QtGui4.lib' I am having QtGuid4.dll in qt\lib\ folder as I
> have already built qt in debug mode.So is there any configuration that has
> to be done to link release build of webkit with qt built in debug mode.
> 
> Please help....
> 
> Thanks and Regards,
> Amogh.



More information about the Development mailing list