2010/12/9 Oleksandr Shneyder <[email protected]>

> Hi Giovanni,
>
> Sure you can do this,
> There is no option in Qt project file to specify library path, but it is
> command line option for gcc. You can specify this path with -L option.
> So as you did was almost right, you made only one error, -L must specify
> path to directory with libraries, not to library file. So, in your case,
> you must write in project file:
>
> LIBS += -L lib/ -lssh
>
> You must specify the path relative to directory where make is running or
> absolute path.
>
> Strange. I did, but in this way it doesn't work.


> But I think, it is better idea to put libraries in "system" directory
> where other libs are.
>
> I used this way to compile and link the application. I give up to Windows.
:)

regards,
>

Thank you,
Giovanni

Reply via email to