PDA

View Full Version : tail -f in qt



decipher
27th February 2013, 07:13
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

wysota
27th February 2013, 09:09
Yes, of course.

decipher
27th February 2013, 09:55
Can u please guide me how to proceed or wher to look...
thanks

Lykurg
27th February 2013, 11:08
Watch for changes of the file with QFileSystemWatcher and then react on those changes in the application.