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

Andre Poenitz andre.poenitz at mathematik.tu-chemnitz.de
Wed Jul 21 19:26:54 CEST 2010


On Wed, Jul 21, 2010 at 05:21:40PM +0100, 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

The  -L\... seems wrong. Could you try  -LC:\VTK\...

Also, are there really files named libQVTK.dll.a?

Maybe -lQVTK.dll (without the lib, without the .a) works?

Andre'



More information about the Qt-creator-old mailing list