Results 1 to 4 of 4

Thread: [Question]Qt Utils namespace, SftpChannel, and SshConnection.

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Oct 2011
    Location
    Space
    Posts
    2
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Question [Question]Qt Utils namespace, SftpChannel, and SshConnection.

    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:


    Simply doing
    Qt Code:
    1. #include <Utils>
    To copy to clipboard, switch view to plain text mode 

    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.

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,368
    Thanks
    3
    Thanked 5,018 Times in 4,794 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: [Question]Qt Utils namespace, SftpChannel, and SshConnection.

    You do understand what "QtCreator" is, right?
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  3. #3
    Join Date
    Oct 2011
    Location
    Space
    Posts
    2
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: [Question]Qt Utils namespace, SftpChannel, and SshConnection.

    Yes. i do, and i was unsure if this is usable in an application, or if this was something else.
    hence my creating this thread, and asking.

  4. #4
    Join Date
    Oct 2011
    Posts
    1
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11

    Default Re: [Question]Qt Utils namespace, SftpChannel, and SshConnection.

    Don't know whether you still need the answer, but since I was just searching for about the topic I figure some reply might be useful for someone else...

    The Util namespace, SftpChannel, SshConnection, along with many other components are not part of the Qt framework, but part of the Qt Creator source. Therefore you won't find anything about them in a Qt library, but only in the source of Qt Creator.

    Still, since Qt Creator is open-sourced and is freeware, you surely can use its code in your own application (with the right license, of course). I did take a look at the source, and it seems like that the components of Qt Creator are pretty nicely modularized, so it should be easy to extract the source you need and combine it with your own project if you know what to do.

  5. The following user says thank you to uranusjr for this useful post:

    reasra (28th July 2014)

Similar Threads

  1. QTM namespace
    By Aman607 in forum Qt Programming
    Replies: 1
    Last Post: 13th June 2011, 08:00
  2. QTSoapMessage namespace
    By ken123 in forum Qt Programming
    Replies: 0
    Last Post: 26th July 2010, 21:36
  3. using namespace with VS integration
    By jan in forum Qt Tools
    Replies: 0
    Last Post: 29th September 2009, 04:20
  4. Simple namespace question
    By JPNaude in forum Qt Programming
    Replies: 3
    Last Post: 30th June 2009, 09:31
  5. namespace problem
    By mhoover in forum Qt Programming
    Replies: 4
    Last Post: 11th July 2006, 22:53

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.