Unsolved Win 32 Release mode : LINK : fatal error LNK1104: cannot open file "qtmain.lib"
-
Hi,
I am getting the following error when building the application in Release mode with VC++ 6.0 ,it is compiling and linking fine in debug mode my Qt open source version 4.4.3
Win 32 Release mode : LINK : fatal error LNK1104: cannot open file "qtmain.lib"
Thanks in advance -
VC++ 6.0 and Qt 4.4.3?!
Why such ancient software? -
@jsulm ya its very old system but still using due to some dependencies. do you have any suggestions to overcome the problem which i have raised thanks
-
Is Qt 4.4.3 you're using compiled with VC++ 6.0?
-
If it's not finding qtmain.lib in release mode, but links OK in debug mode check what you are linking to in debug mode (go to the project properties, linker -> input and check 'additional dependencies'. Is there a qtmain.lib or qtmaind.lib?
Maybe your Qt release build is incomplete and missing qtmain.lib. Or maybe the library path is wrong.