Results 1 to 4 of 4

Thread: tail -f in qt

  1. #1
    Join Date
    Aug 2012
    Posts
    19
    Thanks
    4
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default tail -f in qt

    hi
    I have a file from which I will extract data and display. The file will keep on getting new entries from other program. Now My gui should be able to extract new entries from the file. Something like “tail -f” in linux.
    Is there any way to implement such thing in qt.
    Thank you

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

    Default Re: tail -f in qt

    Yes, of course.
    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
    Aug 2012
    Posts
    19
    Thanks
    4
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: tail -f in qt

    Can u please guide me how to proceed or wher to look...
    thanks

  4. #4
    Join Date
    Jan 2006
    Location
    Germany
    Posts
    4,380
    Thanks
    19
    Thanked 1,005 Times in 913 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows Symbian S60
    Wiki edits
    5

    Default Re: tail -f in qt

    Watch for changes of the file with QFileSystemWatcher and then react on those changes in the application.

Similar Threads

  1. pipe tail -f to Qlistbox realtime
    By unclecameron in forum Qt Programming
    Replies: 3
    Last Post: 11th December 2008, 00:39
  2. Replies: 3
    Last Post: 27th July 2008, 17:39

Tags for this Thread

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
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.