summaryrefslogtreecommitdiffstats
path: root/src/widgets/kernel/mac.pri
diff options
context:
space:
mode:
authorJake Petroules <jake.petroules@petroules.com>2015-08-26 01:48:34 -0700
committerMika Lindqvist <postmaster@raasu.org>2015-09-05 11:49:17 +0000
commit353b160a4af276eb554679756f23436face00927 (patch)
tree4cca789ae7c8e4d02e4f9d66dc171ac692831d15 /src/widgets/kernel/mac.pri
parent76cf88157fc7d3a76e7f56aeb3fefff190ae946d (diff)
Link to AppKit instead of Cocoa.
Cocoa is basically just AppKit + CoreData. Since we do not use CoreData in Qt, there is no reason to link to it or (transitively) import its headers. This is just a mechanical replacement of -framework Cocoa with -framework AppKit and <Cocoa/Cocoa.h> with <AppKit/AppKit.h> Change-Id: Ibcfc8a03c0ddff27a67fbc87dd7bd58a4b648956 Reviewed-by: Mika Lindqvist <postmaster@raasu.org> Reviewed-by: Morten Johan Sørvig <morten.sorvig@theqtcompany.com>
Diffstat (limited to 'src/widgets/kernel/mac.pri')
-rw-r--r--src/widgets/kernel/mac.pri4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/widgets/kernel/mac.pri b/src/widgets/kernel/mac.pri
index 4c507ae80e..129fdebe1b 100644
--- a/src/widgets/kernel/mac.pri
+++ b/src/widgets/kernel/mac.pri
@@ -1,4 +1,4 @@
-!x11:mac:!ios {
- LIBS_PRIVATE += -framework Carbon -framework Cocoa -lz
+!x11:osx {
+ LIBS_PRIVATE += -framework Carbon -framework AppKit -lz
*-mwerks:INCLUDEPATH += compat
}