From ae664f7dc7f5f6aef1a9d92f68974685dbac7e36 Mon Sep 17 00:00:00 2001 From: Morten Johan Sorvig Date: Mon, 30 Jan 2012 14:14:04 +0100 Subject: 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 --- src/corelib/corelib.pro | 1 + 1 file changed, 1 insertion(+) (limited to 'src/corelib/corelib.pro') 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 } -- cgit v1.2.3