[Qt-creator] How to set LIBS in pro file?

Danny Price deepblue842 at googlemail.com
Wed Jul 21 19:25:49 CEST 2010


You don't pass the 'lib' and '.a' parts to the variable, only the library name.

On 21 Jul 2010, at 17:21, Jothy wrote:

> Hi Guys,
> 
> I have managed to build Qt creator from src, now I am using it with vtk. I have built and installed vtk in C:\VTK and I have bin,lib,include.
> 
> I set INCLUDEPATH += C:\VTK\include\vtk-5.6
> 
> 
> 
> I set LIBS += -L\C:\VTK\lib\vtk-5.6 -llibQVTK.dll.a -llibvtkCommon.dll.a
> 
> and its able to find the files in include dir, but it say unable to find dir/file QVTK.
> 
> What's wrong?
> 
> Thanks,
> 
> Jothy
> 
> 
> _______________________________________________
> Qt-creator mailing list
> Qt-creator at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-creator





More information about the Qt-creator-old mailing list