[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 19:36:02 +0100
- To: libssh@xxxxxxxxxx
On Wednesday, December 08, 2010 04:08:34 pm you wrote: > 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, Fixed. Thank you. Is it really not possible to tell to qmake .pro file where to get the libraries and have a lib subdirectory in my own project avoiding to move the libssh.dll.a into the mingw part? Because, for example, the include files are just into my project and with the: DEPENDPATH += . include INCLUDEPATH += . include into the win32 part. It finds the include files and it compiles the code without problem. I think a similar thing could be done with libssh.dll.a file, just I don't know how. Any idea? Thank you, 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 | Giovanni Venturi <giovanni.venturi@xxxxxxxxx> |
Re: include libssh into a Qt project | Oleksandr Shneyder <oleksandr.shneyder@xxxxxxxxxxxxxxxxx> |