Home > other >  For help, and has set up a afternoon didn't solve. QFileSystemModel file deletion problem
For help, and has set up a afternoon didn't solve. QFileSystemModel file deletion problem

Time:11-19

Through many experiments and found that it's an odd question, I use the QListView and QFileSystemModel implementation file browsing, now have a directory D:/1/2/3/by QListView setRootIndex function can change the current directory browsing, but if the beginning from the root directory browsing to D:/1/2/3/, and returned in turn to D:/directory, the issue came at this time, through the system browser can't delete D://and 1 D: 1/2/directory/, must turn off the program, and call the rmdir QFileSystemModel cannot delete these two directory, the console QFileSystemWatcher: FindNextChangeNotification failed!! (???????? ) in the wrong, I think it is related to QFileSystemWatcher, may be increased in the process of browsing the path of the current monitoring, lead to cannot be deleted, but can not find a specific solution, who come into contact with this please do me a favor, thank you,

CodePudding user response:

QFileSystemWatcher met directory delete when there is a problem, I use qt4.8.5

CodePudding user response:

Meet the same problem, can you solve it?
  • Related