summaryrefslogtreecommitdiffstats
path: root/src/corelib/io/io.pri
diff options
context:
space:
mode:
authorErik Verbruggen <erik.verbruggen@me.com>2013-11-29 12:55:59 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-02-14 10:51:50 +0100
commit4273c14e57d26cf2dde90ed9db1f463a25b327bd (patch)
tree9a23f10aa5b44b25418ddaa221b18558fa12a5db /src/corelib/io/io.pri
parent97c187da3c1381bc55dd16976bf9fb3c773d0047 (diff)
Mac: FSEvents-based QFileSystemWatcherEngine.
Use FSEvents to monitor changes in the filesystem instead of the kqueue implementation. This removes the limit of wathed files: kqueue uses a file descriptor for each file monitored, for which the ulimit was set by default to 256. Now the OSX implementation on par with the other major desktop platforms. Change-Id: I2d46cca811978621989fd35201138df88a37c0fb Reviewed-by: Morten Johan Sørvig <morten.sorvig@digia.com>
Diffstat (limited to 'src/corelib/io/io.pri')
-rw-r--r--src/corelib/io/io.pri4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/corelib/io/io.pri b/src/corelib/io/io.pri
index 3f2f025aeb..989e4644c7 100644
--- a/src/corelib/io/io.pri
+++ b/src/corelib/io/io.pri
@@ -135,6 +135,10 @@ win32 {
OBJECTIVE_SOURCES += io/qurl_mac.mm
}
mac {
+ osx {
+ OBJECTIVE_SOURCES += io/qfilesystemwatcher_fsevents.mm
+ HEADERS += io/qfilesystemwatcher_fsevents_p.h
+ }
macx {
SOURCES += io/qstandardpaths_mac.cpp
} else:ios {