Results 1 to 3 of 3

Thread: QDirModel over network?

  1. #1
    Join Date
    Aug 2006
    Posts
    221
    Thanks
    3
    Thanked 29 Times in 19 Posts

    Default QDirModel over network?

    Hi,
    does anyone know if it is possible to 'stream' a QDirModel over a TCP connection to a remote QTreeView? I don't see how this could be done. I don't even expect that it is possible. Else Qt would have more or less accidentally created a new remote filesystem, which easily could compete with nfs. But you never know, perhaps someone here has an idea?

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

    Default Re: QDirModel over network?

    I don't really see a point in reinventing the wheel... You have a number of protocols you can use, including samba and ftp

  3. #3
    Join Date
    Aug 2006
    Posts
    221
    Thanks
    3
    Thanked 29 Times in 19 Posts

    Default Re: QDirModel over network?

    Quote Originally Posted by wysota View Post
    I don't really see a point in reinventing the wheel... You have a number of protocols you can use, including samba and ftp
    I have only very limited access to the remote machine. nfs or samba is a no go.
    I'd prefer sshfs for this problem, but I have to access the remote file system via
    a windows machine. I don't know whether there is a way to use sshfs on windows.
    And even if there is, the ppl for which I write the program would to totally
    incapable to install it. The program I write is only a favour I do for some friends
    and I am not willing to render any additional administrative services.

    Currently I let the remote machine create an xml file, send it over the tcp connection
    and update a lokal model with it. Works fine, I can live with it. The 'model over tcp'
    is more or less an academic question. When I started my program I looked into
    this possibility, failed, and am now interested, if someone else might have an
    idea and if and how this could be possible.

Similar Threads

  1. QDirModel and QTreeView cut and paste
    By Micawber in forum Qt Programming
    Replies: 4
    Last Post: 28th May 2008, 21:16
  2. Checking network availability
    By fullmetalcoder in forum Qt Programming
    Replies: 2
    Last Post: 10th March 2008, 20:23
  3. No network when Modem Emulator connect to a real device
    By tommy_tang in forum Qt for Embedded and Mobile
    Replies: 3
    Last Post: 10th December 2007, 09:24
  4. QDirModel, Model/View, extend the file onfo
    By VlJE in forum Qt Programming
    Replies: 10
    Last Post: 11th December 2006, 11:56
  5. QSocket - signal for network wire disconnection
    By manivannan_1984 in forum Qt Programming
    Replies: 7
    Last Post: 5th September 2006, 14:52

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.