[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: Wed, 8 Dec 2010 11:55:46 +0100
- To: libssh@xxxxxxxxxx
On Wednesday, December 08, 2010 10:49:12 am you wrote: > On Wednesday, December 08, 2010 09:52:52 you wrote: > > Hello, > > Hi Giovanni, > > > I was using libssh into a Nokia Qt Project. Under Linux I have no > > problem. I compile, it links and it works. Under Linux I donwloaded the > > file as suggested on the website but I don't know how to use them. > > > > My project.pro file is the following: > > unix { > > > > LIBS += -lssh > > > > } > > > > win32 { > > > > LIBS += -Llib/libssh_static.a -lssh > > > > INCLUDEPATH += include > > > > } > > I don't know not qmake works but you should only define one library, the > shared or the static one. However, if you want to link against the static > library you have to define LIBSSH_STATIC. > > Regards, > > > -- andreas I prefer use dynamic library. How do I fix win32 part? Giovanni
Re: include libssh into a Qt project | Oleksandr Shneyder <oleksandr.shneyder@xxxxxxxxxxxxxxxxx> |
include libssh into a Qt project | Giovanni Venturi <giovanni.venturi@xxxxxxxxx> |
Re: include libssh into a Qt project | Andreas Schneider <asn@xxxxxxxxxxxx> |