diff options
author | Gabriel de Dietrich <gabriel.dedietrich@qt.io> | 2016-06-29 16:20:31 -0700 |
---|---|---|
committer | Jake Petroules <jake.petroules@qt.io> | 2016-08-30 01:52:53 +0000 |
commit | bc1b45ff9f952edd0676e5d9509f9adef746c977 (patch) | |
tree | 4d263b4590c3008a66efdc6f6d349488519544cc /src/tools | |
parent | 4c1c68b2ba2f01639fc03ca947fdd37479537ad2 (diff) |
QSettings: Remove calls to deprecated API on macOS
CFURLCreateDataAndPropertiesFromResource and
CFURLWriteDataAndPropertiestoResource have been
deprecated since 10.9. We replace them with simple
QFile access.
Code cleaning and included.
Change-Id: I19c7ceac41c8c511962f1128bd8e210e3adb434c
Reviewed-by: Timur Pocheptsov <timur.pocheptsov@theqtcompany.com>
Reviewed-by: Jake Petroules <jake.petroules@qt.io>
Diffstat (limited to 'src/tools')
-rw-r--r-- | src/tools/bootstrap/bootstrap.pro | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/tools/bootstrap/bootstrap.pro b/src/tools/bootstrap/bootstrap.pro index d544288031..8a1e1fd6e3 100644 --- a/src/tools/bootstrap/bootstrap.pro +++ b/src/tools/bootstrap/bootstrap.pro @@ -119,7 +119,8 @@ mac { ../../corelib/kernel/qcoreapplication_mac.cpp \ ../../corelib/kernel/qcore_mac.cpp OBJECTIVE_SOURCES += \ - ../../corelib/kernel/qcore_mac_objc.mm + ../../corelib/kernel/qcore_mac_objc.mm \ + ../../corelib/kernel/qcore_foundation.mm LIBS += -framework Foundation osx: LIBS_PRIVATE += -framework CoreServices |