Problem while linking QtCore4.lib



  • Hello,

    I am having somre troubles while on Release mode under MSVC 2005 and Windows 7 x64.

    My project builds and runs fine on Debug mode, but when I try to build it using Release at the end I get this message:

    2>LINK : fatal error LNK1181: cannot open input file '....\qt\lib\QtCore4.lib'

    Right now I buildt Qt using MSVC 2005 but I dont remember any special configuration for Debug or Release. Do I need to build Qt libraries with some kind of configuration for the release mode?

    Thanks in advance hopefully someone will share some hints :)


  • Lifetime Qt Champion

    Hi,

    Do you have these files ? And the corresponding dlls ? If not you might have built a debug only Qt



  • Hello,

    Ya, I double cheked this stuff and my path was wrong. I was supposed to be ussing QtCored4.lib and not QtCore4.lib

    Thanks for your answer though.

    I feel kind of dyslexic right now :(


  • Lifetime Qt Champion

    If you are building a release version you should be using QtCore4.lib not QtCored4.dll.

    Or I misunderstood something in your post


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.