c42932520f5e0e8111c5d203478ea36f576901db
[profile/ivi/qtbase.git] / src / plugins / platforms / cocoa / cocoa.pro
1 TARGET = qcocoa
2 load(qt_plugin)
3 DESTDIR = $$QT.gui.plugins/platforms
4
5 OBJECTIVE_SOURCES += main.mm \
6     qcocoaintegration.mm \
7     qcocoatheme.mm \
8     qcocoabackingstore.mm \
9     qcocoawindow.mm \
10     qnsview.mm \
11     qnsviewaccessibility.mm \
12     qcocoaautoreleasepool.mm \
13     qnswindowdelegate.mm \
14     qcocoaglcontext.mm \
15     qcocoanativeinterface.mm \
16     qcocoaeventdispatcher.mm \
17     qcocoamenuloader.mm \
18     qcocoaapplicationdelegate.mm \
19     qcocoaapplication.mm \
20     qcocoamenu.mm \
21     qmenu_mac.mm \
22     qcocoahelpers.mm \
23     qmultitouch_mac.mm \
24     qcocoaaccessibilityelement.mm \
25     qcocoaaccessibility.mm \
26     qcocoacolordialoghelper.mm \
27     qcocoafiledialoghelper.mm \
28     qcocoafontdialoghelper.mm \
29     qcocoacursor.mm \
30     qcocoadrag.mm \
31     qmacclipboard.mm \
32     qmacmime.mm \
33     qcocoasystemsettings.mm \
34     qcocoainputcontext.mm \
35     qpaintengine_mac.mm \
36     qprintengine_mac.mm \
37     qcocoaprintersupport.mm \
38
39 HEADERS += qcocoaintegration.h \
40     qcocoatheme.h \
41     qcocoabackingstore.h \
42     qcocoawindow.h \
43     qnsview.h \
44     qcocoaautoreleasepool.h \
45     qnswindowdelegate.h \
46     qcocoaglcontext.h \
47     qcocoanativeinterface.h \
48     qcocoaeventdispatcher.h \
49     qcocoamenuloader.h \
50     qcocoaapplicationdelegate.h \
51     qcocoaapplication.h \
52     qcocoamenu.h \
53     qmenu_mac.h \
54     qcocoahelpers.h \
55     qmultitouch_mac_p.h \
56     qcocoaaccessibilityelement.h \
57     qcocoaaccessibility.h \
58     qcocoacolordialoghelper.h \
59     qcocoafiledialoghelper.h \
60     qcocoafontdialoghelper.h \
61     qcocoacursor.h \
62     qcocoadrag.h \
63     qmacclipboard.h \
64     qmacmime.h \
65     qcocoasystemsettings.h \
66     qcocoainputcontext.h \
67     qpaintengine_mac_p.h \
68     qprintengine_mac_p.h \
69     qcocoaprintersupport.h \
70
71 FORMS += $$PWD/../../../widgets/dialogs/qfiledialog.ui
72 RESOURCES += qcocoaresources.qrc
73
74 LIBS += -framework Cocoa
75
76 QT += core-private gui-private widgets-private platformsupport-private printsupport
77
78 OTHER_FILES += cocoa.json
79 target.path += $$[QT_INSTALL_PLUGINS]/platforms
80 INSTALLS += target
81
82 # Build the release libqcocoa.dylib only, skip the debug version.
83 # The Qt plugin loader will dlopen both if found, causing duplicate
84 # Objective-c class definitions for the classes defined in the plugin.
85 contains(QT_CONFIG,release):CONFIG -= debug
86
87 # Acccessibility debug support
88 # DEFINES += QT_COCOA_ENABLE_ACCESSIBILITY_INSPECTOR
89 # include ($$PWD/../../../../util/accessibilityinspector/accessibilityinspector.pri)
90
91 # Window debug support
92 #DEFINES += QT_COCOA_ENABLE_WINDOW_DEBUG