[Qt-interest] Windows linker error VS2008
Peter Lee
ptle at risingsoftware.com
Thu Mar 26 00:01:48 CET 2009
My problem was solved by the tech support people at Trolltech... the
VS2008 Service Pack was causing the problem - if you have that installed
then you need to recompile Qt. I don't remember having this problem
with 4.4.3, but it's also possible that I hadn't done release builds for
a loooong time.
I uninstalled VS2008, reinstalled and all ok now.
Peter Lee
Michael Bieber wrote:
> 1>Linking...
> 1>fatal error C1047: The object or library file 'c:\Qt\lib\qtmain.lib'
> was created with an older compiler than other objects; rebuild old
> objects and libraries
> 1>LINK : fatal error LNK1257: code generation failed
>
> Happens with one of my applications using the recent Qt 4.5.0
> (commercial) for a release mode compilation. Never for Qt versions <
> 4.5.0 and even not for the applications debug version variant with 4.5.0.
> What the hell does it mean? Do I have to recompile Qt now? I did it most
> of the time in the past more or less painless. Now by using the
> precompiled installer, these kind of teething problems are a bit
> disappointing.
> BTW, the mix of files created at 14/03/09 and 26/02/09 (wildly varying
> between debug end release libraries - the nagging qtmain.lib one of the
> old ones) in my installed QTDIR/lib directory looks suspicious to me.
> The February files a bit old for my idea of a brand new Qt version.
>
> Micha
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
>
>
>
--
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