[Qt-interest] Building release Qt with PDBs in Windows

Cyril C cyril.mailing.list at gmail.com
Wed Apr 21 11:24:58 CEST 2010


Hi

What about
QMAKE_LFLAGS_RELEASE += /DEBUG

hth

Le 21/04/2010 11:22, Jason Wood a écrit :
> Hi,
>
> I'm trying to build Qt from source in Windows and also build the PDBs 
> for the release version to enable me to work with crash dumps more 
> efficiently but I just can't seem to get them to build. Here's what 
> I've done so far:
>
> Duplicated msvc-2005 folder in mkspecs
> Edited qmake.conf in the new folder
> Set QMAKE_CFLAGS_RELEASE to '-O2 -Zi -MD'
> Set QMAKE_LFLAGS_LTCG to blank
> Run 'nmake clean'
> Run 'nmake cleanconf'
> Run configure including '-platform <duplicated platform name>'
> Run nmake
>
> This builds the PDBs for the debug build as usual but not the release 
> build. I removed the /LTCG to prevent whole program optimization as I 
> believe that prevents PDBs being built and I added -Zi to the CFLAGS 
> as I believe that tells the compiler to also build the PDBs but I 
> think I must be missing something else in the config.
>
> Does anyone know what else I need to change?
>
> Thanks,
> Jason
>
>
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
>    

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100421/19a76948/attachment.html 


More information about the Qt-interest-old mailing list