PDA

View Full Version : cannot open input file "c:\Qt\4.3.3\lib\qtmain.lib?



vishal.chauhan
25th January 2008, 10:07
Hi All,

I have downloaded Qt 4.3.3 open source edition and installed it on my window 2000 having visual studio 2006.

I have set the environment variables on my pc.

I have successfully run the command qmake and have make the .dsw project for vc.
when I build the project from the vc editor it give the following error ....

LINK : fatal error LNK1181: cannot open input file "c:\Qt\4.3.3\lib\qtmain.lib"

the qtmain.lib does not exists in the lib directory of qt.

If any body knows how I can Build my project then plz help me.


Thanks.
Vishal

wysota
25th January 2008, 10:25
What files are in that directory?

vishal.chauhan
25th January 2008, 10:32
Actually the lib folder contains the .a and .prl files.

ChristianEhrlicher
25th January 2008, 11:14
You downloaded the mingw version but compile with msvc - this can't work.
You need to compile Qt by your own.

santosh.kumar
25th January 2008, 13:04
You downloaded the mingw version but compile with msvc - this can't work.
You need to compile Qt by your own.
Yeah we have downloaded the mingw version so that this is not working..
Which Qt should be dowload and install so that it will support VC6.0 and not give this type of
lib error...

wysota
25th January 2008, 15:02
Look at our homepage and choose the version without MinGW.

mismael85
19th February 2008, 22:17
you must rebuild it but note that you must configure it for msvc as follows:
configure -release -platform win32-msvc2005
and build it.
for more information to konw how to build Qt source visit :
http://mismael85.blogspot.com/