[Qt-interest] Compiling App on Visual Studio 2008

Hildebrando Trannin htrannin at gmail.com
Thu Aug 25 22:00:59 CEST 2011


Hi,

I tried to compile my Qt application on Visual Studio 2008.

I used my .pro file to generate the makefile and then executed it with
nmake. I have 3 libraries projects and 1 app project. The dependency are as
follow: lib2 depends on lib1; lib3 depends on lib1 and lib2; app depends on
lib3, lib2 and lib1.

The first library compiled successful, but I got an error in the second one
when it tries to link to the first library. The error is:* fatal error
LNK1181: cannot open input file XXXX.lib*

I think that it's trying to use the .lib file, but the compilation generates
only the .dll file.

How can I generate a makefile to the second library that uses the dll file
of the first one? The compilation on Linux and MingW worked without any
problem.

Thanks,
   Hildebrando
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20110825/e31ffda2/attachment.html 


More information about the Qt-interest-old mailing list