blob: 489e6336742dcf66b18d06999daf483d84cd08ad (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
TARGET = qcocoa
load(qt_plugin)
DESTDIR = $$QT.gui.plugins/platforms
OBJECTIVE_SOURCES = main.mm \
qcocoaintegration.mm \
qcocoabackingstore.mm \
qcocoawindow.mm \
qnsview.mm \
qcocoaautoreleasepool.mm \
qnswindowdelegate.mm \
qcocoaglcontext.mm \
qcocoanativeinterface.mm
OBJECTIVE_HEADERS = qcocoaintegration.h \
qcocoabackingstore.h \
qcocoawindow.h \
qnsview.h \
qcocoaautoreleasepool.h \
qnswindowdelegate.h \
qcocoaglcontext.h \
qcocoanativeinterface.h
DEFINES += QT_BUILD_COCOA_LIB
#add libz for freetype.
LIBS += -lz
LIBS += -framework cocoa
QT += core-private gui-private platformsupport-private
CONFIG += qpa/basicunixfontdatabase
target.path += $$[QT_INSTALL_PLUGINS]/platforms
INSTALLS += target
|