Results 1 to 4 of 4

Thread: QFileWatcher infinite loop and can't move a folder which is watched

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    May 2013
    Posts
    321
    Thanks
    9
    Thanked 8 Times in 8 Posts
    Qt products
    Qt5
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: QFileWatcher infinite loop and can't move a folder which is watched

    Solved, QFileWatcher is not enough robust, you need to use an external file watcher code from Qt to be robust.

  2. #2
    Join Date
    Jan 2008
    Location
    Alameda, CA, USA
    Posts
    5,328
    Thanks
    317
    Thanked 871 Times in 858 Posts
    Qt products
    Qt5
    Platforms
    Windows

    Default Re: QFileWatcher infinite loop and can't move a folder which is watched

    you need to use an external file watcher
    Can you post the GitHub link where you found this? Thanks.
    <=== The Great Pumpkin says ===>
    Please use CODE tags when posting source code so it is more readable. Click "Go Advanced" and then the "#" icon to insert the tags. Paste your code between them.

  3. #3
    Join Date
    May 2013
    Posts
    321
    Thanks
    9
    Thanked 8 Times in 8 Posts
    Qt products
    Qt5
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: QFileWatcher infinite loop and can't move a folder which is watched

    https://github.com/SpartanJ/efsw
    Just, the best file watcher actually there, working perfectly!

  4. The following user says thank you to Alundra for this useful post:

    d_stranz (26th February 2021)

Similar Threads

  1. Qt window resize without infinite loop
    By rpvpqq in forum Newbie
    Replies: 1
    Last Post: 15th April 2019, 16:34
  2. QThread : how to stop an infinite loop
    By TarielVincent in forum Qt Programming
    Replies: 9
    Last Post: 24th February 2012, 21:22
  3. Infinite loop in QXmlSchemaValidator::validate()?
    By TropicalPenguin in forum Qt Programming
    Replies: 0
    Last Post: 9th November 2010, 15:09
  4. infinite loop
    By zakis in forum Qt Programming
    Replies: 1
    Last Post: 4th November 2009, 17:52
  5. Infinite loop - resize parent from child
    By bitChanger in forum Qt Programming
    Replies: 3
    Last Post: 5th May 2006, 13:21

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.