[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: include libssh into a Qt project


2010/12/9 Oleksandr Shneyder <oleksandr.shneyder@xxxxxxxxxxxxxxxxx>

> 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

Follow-Ups:
Library path, and related stuff"Ronald F. Guilmette" <rfg@xxxxxxxxxxxxxxxxx>
References:
include libssh into a Qt projectGiovanni Venturi <giovanni.venturi@xxxxxxxxx>
Re: include libssh into a Qt projectGiovanni Venturi <giovanni.venturi@xxxxxxxxx>
Re: include libssh into a Qt projectOleksandr Shneyder <oleksandr.shneyder@xxxxxxxxxxxxxxxxx>
Re: include libssh into a Qt projectGiovanni Venturi <giovanni.venturi@xxxxxxxxx>
Re: include libssh into a Qt projectOleksandr Shneyder <oleksandr.shneyder@xxxxxxxxxxxxxxxxx>
Archive administrator: postmaster@lists.cynapses.org