Results 1 to 3 of 3

Thread: qtmaind.lib fatal error LNK1103

  1. #1
    Join Date
    Jan 2009
    Posts
    1
    Qt products
    Qt4
    Platforms
    Windows

    Default qtmaind.lib fatal error LNK1103

    Hi all!

    I installed qt 4.4.3 in Windows XP, and everything went perfect. I installed both release and debug libraries. Release version runs ok, but when I try to compile my applications in debug mode I get this error:

    qtmaind.lib(qtmain_win.obj) : fatal error LNK1103: debugging information corrupt; recompile module

    I've tried to recompile QT several times, but nothing...

    Does anyone has an idea on how to solve such problem?

    many Thanks!!

    Jaime.

  2. #2
    Join Date
    Jul 2008
    Posts
    1
    Qt products
    Qt4
    Platforms
    Windows

    Lightbulb Re: qtmaind.lib fatal error LNK1103

    I had the exact same problem (on a couple different projects). This is a late response, but in case anyone else comes across this problem, here are some things to look at:
    1. Is this an upgrade from a previous version of Qt? If so, make sure that the correct version of Qt has been selected in your project. (NOTE: If you are using Visual Studio, understand that changing the Qt version in a project is *NOT* done in Tools->Options->Qt->Build: default -- that only changes the default version for new projects. You have to change it by selecting the project in the Solution tree, then editing the properties in the Properties Window)
    2. Make sure your QTDIR environment variable and PATH variables have been changed appropriately.
    3. Do you happen to be running multiple versions of Visual Studio (e.g '05 & '08)? It may sound silly, but if you installed 4.4.3 for VS08, make sure you're not trying to build your project in VS05.
    I've made all those mistakes at one time or another, and rectifying them seems to have solved the problem.

  3. #3
    Join Date
    May 2010
    Posts
    1
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: qtmaind.lib fatal error LNK1103

    It works after recompile the qt lib using Visual Studio 2005 nmake.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.