[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: "Bernhard R. Link" <brlink@xxxxxxxxxx>
- Reply-to: libssh@xxxxxxxxxx
- Date: Wed, 8 Dec 2010 11:01:55 +0100
- To: Giovanni Venturi <giovanni.venturi@xxxxxxxxx>
- Cc: libssh@xxxxxxxxxx
* Giovanni Venturi <giovanni.venturi@xxxxxxxxx> [101208 09:52]:
> win32 {
> LIBS += -Llib/libssh_static.a -lssh
> INCLUDEPATH += include
> }
I don't know much about windows, but that does not look like it could
work. -L specifies a directory in which to look for files,
so unless you have a lib/libssh_static.a/libssh.a file, I think this
will not work.
So assuming you hava a file (and not a directory) lib/libssh_static.a,
you should either do a
> LIBS += lib/libssh_static.a
(without -L and any -l)
or do a
> LIBS += -Llib -lssh_static
Bernhard R. Link
| include libssh into a Qt project | Giovanni Venturi <giovanni.venturi@xxxxxxxxx> |