[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: include libssh into a Qt project
[Thread Prev] | [Thread Next]
- Subject: Re: include libssh into a Qt project
- From: Giovanni Venturi <giovanni.venturi@xxxxxxxxx>
- Reply-to: libssh@xxxxxxxxxx
- Date: Thu, 9 Dec 2010 10:45:23 +0100
- To: libssh@xxxxxxxxxx
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
Library path, and related stuff | "Ronald F. Guilmette" <rfg@xxxxxxxxxxxxxxxxx> |
include libssh into a Qt project | Giovanni Venturi <giovanni.venturi@xxxxxxxxx> |
Re: include libssh into a Qt project | Giovanni Venturi <giovanni.venturi@xxxxxxxxx> |
Re: include libssh into a Qt project | Oleksandr Shneyder <oleksandr.shneyder@xxxxxxxxxxxxxxxxx> |
Re: include libssh into a Qt project | Giovanni Venturi <giovanni.venturi@xxxxxxxxx> |
Re: include libssh into a Qt project | Oleksandr Shneyder <oleksandr.shneyder@xxxxxxxxxxxxxxxxx> |