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

Re: include libssh into a Qt project


Giovanni Venturi schrieb:
> Hello,
> 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 <http://project.pro> file is the following:
> 
> unix {
> 
>   LIBS += -lssh
> 
> }
> 
> win32 {
> 
>   LIBS += -Llib/libssh_static.a -lssh
> 
>   INCLUDEPATH += include
> 
> }
> 
> 
> I copied the include files into the include directory and I copied the
> libssh_static.a into lib directory (I copied also the other libs) but it
> doesn't work. It tells me he cannot find -lssh .
> I used QtCreator to compile under Linux and the same under Windows.
> 
> Can someone help me to correct the project.pro <http://project.pro> file
> for the win32 session?
> 
> Thank you,
> Giovanni

Hello Giovanni,

Do you build your Qt application using mingw or msvc? If you use mingw I
can help you to build your application.

regards,
-- 
Oleksandr Shneyder
Dipl. Informatik
X2go Core Developer Team

email:  oleksandr.shneyder@xxxxxxxxxxxxxxxxx
web: www.obviously-nice.de

--> X2go - everywhere@home

Attachment: signature.asc
Description: OpenPGP digital signature


Follow-Ups:
Re: include libssh into a Qt projectGiovanni Venturi <giovanni.venturi@xxxxxxxxx>
References:
include libssh into a Qt projectGiovanni Venturi <giovanni.venturi@xxxxxxxxx>
Archive administrator: postmaster@lists.cynapses.org