QCocoaTheme: Include CoreServices rather than Carbon

And add CoreServices as framework dependency.

The standard pixmaps depend on CoreServices, or LaunchServices
to be accurate.

Change-Id: Ib97e521f3e950586a352bf9b30f827ce3fda8efd
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
This commit is contained in:
Gabriel de Dietrich 2018-04-17 18:17:36 -07:00
parent a1e94c8b3b
commit 0dd2973761
2 changed files with 2 additions and 2 deletions

View File

@ -78,7 +78,7 @@ qtConfig(opengl.*) {
RESOURCES += qcocoaresources.qrc
LIBS += -framework AppKit -framework Carbon -framework IOKit -framework QuartzCore -framework Metal -lcups
LIBS += -framework AppKit -framework CoreServices -framework Carbon -framework IOKit -framework QuartzCore -framework Metal -lcups
QT += \
core-private gui-private \

View File

@ -75,7 +75,7 @@
#endif
#endif
#include <Carbon/Carbon.h>
#include <CoreServices/CoreServices.h>
@interface QT_MANGLE_NAMESPACE(QCocoaThemeNotificationReceiver) : NSObject
@end