Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Does QFileSystemWatcher support subdirectories yet?

Does QFileSystemWatcher support subdirectories yet?

Scheduled Pinned Locked Moved Unsolved General and Desktop
4 Posts 2 Posters 778 Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C Offline
    C Offline
    Crag_Hack
    wrote on last edited by
    #1

    Does QFileSystemWatcher support watching directories and everything underneath them yet? Not looking for a hack... I know the Win API supports it with a simple flag passed to ReadDirectoryChangesW. Thanks!

    1 Reply Last reply
    0
    • Kent-DorfmanK Offline
      Kent-DorfmanK Offline
      Kent-Dorfman
      wrote on last edited by Kent-Dorfman
      #2

      Implementation of such a function (supporting recursion) could be very intensive depending upon tree depth and type filesystem used. Something about generically implementing the feature bothers my sensibilities. While the docs are not specific, I would highly doubt it. Remember that windoze only supports a small number of filesystem types. Linux supports many.

      If you meet the AI on the road, kill it.

      1 Reply Last reply
      1
      • C Offline
        C Offline
        Crag_Hack
        wrote on last edited by
        #3

        Thanks Kent. Time to go with Win API.

        Kent-DorfmanK 1 Reply Last reply
        0
        • C Crag_Hack

          Thanks Kent. Time to go with Win API.

          Kent-DorfmanK Offline
          Kent-DorfmanK Offline
          Kent-Dorfman
          wrote on last edited by
          #4

          @Crag_Hack
          Or reevaluate whether your intented use is a good idea in the first place. In my experience, having to find work-arounds often means you are going down a path you should not even be pursuing. LOL

          If you meet the AI on the road, kill it.

          1 Reply Last reply
          0

          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved