Trep
3rd October 2011, 11:58
I'm working on a file-transfer application with Qt4, and i need to incorporate SFTP.
I know there are libraries such as libssh2; i want to try and keep my application mostly Qt based.
After a while of google searching, i came across these two class references:
http://doc.qt.nokia.com/qtcreator-extending/utils-sftpchannel.html
http://doc.qt.nokia.com/qtcreator-extending/utils-sshconnection.html
Simply doing
#include <Utils>
Like in the class references returns an error. (Specifically that it's not found.)
I'm thinking maybe i have to add something to my *.PRO (something like: QT += core network) only problem is i don't know what.
If anyone could point me in the proper direction on this, maybe an example? Most of the Qt Class references have them, it seems these do not though.
I know there are libraries such as libssh2; i want to try and keep my application mostly Qt based.
After a while of google searching, i came across these two class references:
http://doc.qt.nokia.com/qtcreator-extending/utils-sftpchannel.html
http://doc.qt.nokia.com/qtcreator-extending/utils-sshconnection.html
Simply doing
#include <Utils>
Like in the class references returns an error. (Specifically that it's not found.)
I'm thinking maybe i have to add something to my *.PRO (something like: QT += core network) only problem is i don't know what.
If anyone could point me in the proper direction on this, maybe an example? Most of the Qt Class references have them, it seems these do not though.