[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: Oleksandr Shneyder <oleksandr.shneyder@xxxxxxxxxxxxxxxxx>
- Reply-to: libssh@xxxxxxxxxx
- Date: Wed, 08 Dec 2010 16:08:34 +0100
- To: libssh@xxxxxxxxxx
Giovanni Venturi schrieb: > On Wednesday, December 08, 2010 01:42:21 pm you wrote: > What do you exactly mean with "put the file libssh.fll.a in lib dir from mingw"? > > This is the project tree: > > [ksniffer@arch-laptop ~]$ tree development/programs/Qt/QDeployer > development/programs/Qt/QDeployer > |-- bin > | `-- libssh.dll > |-- COPYING > |-- deployerui.cpp > |-- deployerui.h > |-- filesystemtreeview.cpp > |-- filesystemtreeview.h > |-- images > | |-- new.png > | |-- open.png > | `-- save.png > |-- include > | `-- libssh > | |-- callbacks.h > | |-- libssh.h > | |-- server.h > | |-- sftp.h > | `-- ssh2.h > |-- KNOWN_BUGS > |-- lib > | |-- libssh.dll.a > | `-- libssh_static.a > |-- lineedit.cpp > |-- lineedit.h > |-- main.cpp > |-- mainwindow.cpp > |-- mainwindow.h > |-- packagetree.cpp > |-- packagetree.h > |-- projectview.cpp > |-- projectview.h > |-- qdeployer_it.ts > |-- QDeployer.pro > |-- qdeployer.qrc > |-- README > |-- settings.cpp > |-- settings.h > |-- sha2.c > |-- sha2.h > |-- sshmanager.cpp > |-- sshmanager.h > |-- textedit.cpp > |-- textedit.h > |-- TODO > |-- treewidgetitem.cpp > |-- treewidgetitem.h > `-- version.h > > 6 directories, 48 files > > If I use just: > > LIBS += -lssh > > it doesn't find -lssh. > > Giovanni This is a tree of your project. I mean a file tree where mingw is installed. Mingw is shipped with Qt. If you install Qt SDK for windows for example under D:\Qt, file tree will look like this: D:\ --Qt ----2009.04 --------bin --------lib --------mingw -------------bin -------------doc -------------include -------------info -------------lib -------------libexec --------qt --------share And you must put headers in D:\Qt\2009.04\mingw\include and libssh.dll.a in D:\Qt\2009.04\mingw\lib. 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
Re: include libssh into a Qt project | Giovanni Venturi <giovanni.venturi@xxxxxxxxx> |
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> |