[Qt-interest] vs2008 release build problem
Peter Lee
ptle at risingsoftware.com
Tue Mar 24 08:31:50 CET 2009
Sorry... I forgot to mention that turning off the /GL compiler option
(which is on by default from qmakeing the .pro file) allows the build to
work in release mode. It isn't on for debug mode.
Thanks,
Peter Lee
Peter Lee wrote:
> Hello,
>
> I've got a problem building our projects with Visual Studio 2008 Pro.
> They all work compile and link fine in Debug mode, but in Release mode
> I'm getting this:
>
> fatal error C1047: The object or library file
> 'c:\Qt\4.5.0\lib\qtmain.lib' was created with an older compiler than
> other objects; rebuild old objects and libraries
> LINK : fatal error LNK1257: code generation failed
>
> We're using Qt 4.5.0 Commercial - installed using
> qt-win-commercial-4.5.0-vs2008.exe. We haven't recompiled any bits of Qt.
>
> Thanks,
>
> Peter Lee
>
>
--
Peter Lee ptle at risingsoftware.com
-----------------------------------------------------------------------
Rising Software Australia Pty. Ltd. http://www.risingsoftware.com/
Publishers of 'Auralia' - Ear Training and 'Musition' - Theory Training
Ph: +61 3 9481 3320 FAX: +61 3 9481 3380 USA Freecall: 1 888 667 7839
More information about the Qt-interest-old
mailing list