diff options
author | Morten Johan Sorvig <morten.sorvig@nokia.com> | 2012-01-30 14:14:04 +0100 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-02-02 14:18:36 +0100 |
commit | ae664f7dc7f5f6aef1a9d92f68974685dbac7e36 (patch) | |
tree | ee383d7ed8516694fcac5c803eadbfa2ee9dbf36 /src/corelib/corelib.pro | |
parent | 319ba95c763c5e323e338119750651ef7e0cd897 (diff) |
Move QString <-> NSString conversion to QtCore
Add (private) API to QCFString:
static QString toQString(NSString *)
static NSString *toNSString(const QString &)
Add implementation to qcore_mac_objc.mm. Keep the
mac_cpp since it's used for building qmake as well
as bootstrapping.
Replace usage of NSString conversion functions
in the cocoa and corewlan plugin with QCFString.
Change-Id: I9f34edd5231255aef9d8d6e9a60306174bb279b3
Reviewed-by: Bradley T. Hughes <bradley.hughes@nokia.com>
Diffstat (limited to 'src/corelib/corelib.pro')
-rw-r--r-- | src/corelib/corelib.pro | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/corelib/corelib.pro b/src/corelib/corelib.pro index ba741c656c..de2b1006cf 100644 --- a/src/corelib/corelib.pro +++ b/src/corelib/corelib.pro @@ -35,6 +35,7 @@ mac|darwin { contains(QT_CONFIG, coreservices) { LIBS_PRIVATE += -framework ApplicationServices LIBS_PRIVATE += -framework CoreServices + LIBS_PRIVATE += -framework Foundation } LIBS_PRIVATE += -framework CoreFoundation } |