Don't link QtPlatformSupport to CoreFoundation or Carbon
Move the Carbon dependency to the Cocoa platform plugin instead, where it's actually used. CoreFoundation was not used by any plugins and could be removed completely. Change-Id: I1c825cdf94e2cc348ea13519b894fd868be0d14a Reviewed-by: Morten Johan Sørvig <morten.sorvig@digia.com>
This commit is contained in:
parent
3b5600f6ee
commit
0575baac5e
@ -2,7 +2,7 @@ TARGET = QtPlatformSupport
|
||||
QT = core-private gui-private
|
||||
|
||||
CONFIG += static internal_module
|
||||
mac:LIBS += -lz -framework CoreFoundation -framework Carbon
|
||||
mac:LIBS += -lz
|
||||
|
||||
load(qt_module)
|
||||
|
||||
|
@ -78,7 +78,7 @@ HEADERS += qcocoaintegration.h \
|
||||
|
||||
RESOURCES += qcocoaresources.qrc
|
||||
|
||||
LIBS += -framework Cocoa -framework IOKit
|
||||
LIBS += -framework Cocoa -framework Carbon -framework IOKit
|
||||
|
||||
QT += core-private gui-private platformsupport-private
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user