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. Cannot find fanotify in QT 4.8.5 release
Forum Updated to NodeBB v4.3 + New Features

Cannot find fanotify in QT 4.8.5 release

Scheduled Pinned Locked Moved General and Desktop
5 Posts 2 Posters 1.3k Views 1 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.
  • R Offline
    R Offline
    rex1254
    wrote on last edited by
    #1

    Hi,
    I want to make a c++ application that could recursively monitor file changes in a directory in Linux.
    In Linux inotify can be used for file monitoring but at a single level. I also found that i can use fanotify to monitor file changes recursively.
    I found both inotify header file (sys/inofiy.h and linux/inotify.h) in my QT creator but could not find fanotify header file in my creator.

    How can i use fanotify with QT. Does QT support fanotify.

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      Qt doesn't implement any backend using fanotify. However you can use it directly or implement your own backend using it

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • R Offline
        R Offline
        rex1254
        wrote on last edited by
        #3

        Thanks for your reply SGaist

        1 Reply Last reply
        0
        • R Offline
          R Offline
          rex1254
          wrote on last edited by
          #4

          Will QT, in its future versions, use fanotify to monitor a Linux directory recursively.

          1 Reply Last reply
          0
          • SGaistS Offline
            SGaistS Offline
            SGaist
            Lifetime Qt Champion
            wrote on last edited by
            #5

            I don't know. This is more a question for Qt's core developers. You can ask this on the interest mailing list.

            Interested in AI ? www.idiap.ch
            Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

            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