Hi Paul, I appreciate the kind reply and thank you.
Those were good suggestions. I should of been truncating from the beginning instead of recreating the file, this is a better approach. Implementing this did solve the problem with the monitor path directly to my file. Implementing you other suggestion however did not work (Linking watcher to the directory), which I don’t fully understand since I thought it would look for any changes within the directory including the file change.
thread = new QThread(this);
IIRC, these lines are doing more than you think they do. thread's parent is your object, then you move your MyObject instance to thread, so all objects who are child of your MyObject instance are moved the thread. So thread will be moved to itself.
All in all, you should rather have thread in your main as a stack object
Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.