From 46a372e1a115fb05b746339c790a7f3e5d6d01fc Mon Sep 17 00:00:00 2001 From: Jake Petroules Date: Mon, 13 Jul 2015 20:16:44 -0700 Subject: Modernize and unify filesystem code on Apple platforms. Replace deprecated File Manager APIs with modern equivalents. Change some Q_OS_MACX to Q_OS_DARWIN in file system related code. All of these apply to iOS as well as OS X, and were ifdef'ed for OS X only primarily due to legacy reasons - carryovers from Qt 4 or Carbon APIs which have since been refactored into using CoreFoundation. This also makes the code consistent with the documentation. Change-Id: I414e9bdfffff731413ddf16171b1317027d87caf Reviewed-by: Richard Moe Gustavsen --- src/corelib/io/io.pri | 1 + 1 file changed, 1 insertion(+) (limited to 'src/corelib/io/io.pri') diff --git a/src/corelib/io/io.pri b/src/corelib/io/io.pri index f496d037d8..b2bcbdf727 100644 --- a/src/corelib/io/io.pri +++ b/src/corelib/io/io.pri @@ -160,6 +160,7 @@ win32 { } else:ios { OBJECTIVE_SOURCES += io/qstandardpaths_ios.mm SOURCES += io/qstorageinfo_mac.cpp + LIBS += -framework MobileCoreServices } else { SOURCES += io/qstandardpaths_unix.cpp } -- cgit v1.2.3