0
|
1 |
# Qt kernel module
|
|
2 |
|
|
3 |
# Only used on platforms with CONFIG += precompile_header
|
|
4 |
PRECOMPILED_HEADER = kernel/qt_gui_pch.h
|
|
5 |
|
|
6 |
|
|
7 |
KERNEL_P= kernel
|
|
8 |
HEADERS += \
|
|
9 |
kernel/qaction.h \
|
|
10 |
kernel/qaction_p.h \
|
|
11 |
kernel/qactiongroup.h \
|
|
12 |
kernel/qapplication.h \
|
|
13 |
kernel/qapplication_p.h \
|
|
14 |
kernel/qboxlayout.h \
|
|
15 |
kernel/qclipboard.h \
|
|
16 |
kernel/qcursor.h \
|
|
17 |
kernel/qdesktopwidget.h \
|
|
18 |
kernel/qdrag.h \
|
|
19 |
kernel/qdnd_p.h \
|
|
20 |
kernel/qevent.h \
|
|
21 |
kernel/qevent_p.h \
|
|
22 |
kernel/qformlayout.h \
|
|
23 |
kernel/qgridlayout.h \
|
|
24 |
kernel/qkeysequence.h \
|
|
25 |
kernel/qlayout.h \
|
|
26 |
kernel/qlayout_p.h \
|
|
27 |
kernel/qlayoutengine_p.h \
|
|
28 |
kernel/qlayoutitem.h \
|
|
29 |
kernel/qmime.h \
|
|
30 |
kernel/qsessionmanager.h \
|
|
31 |
kernel/qshortcut.h \
|
|
32 |
kernel/qshortcutmap_p.h \
|
|
33 |
kernel/qsizepolicy.h \
|
|
34 |
kernel/qpalette.h \
|
|
35 |
kernel/qsound.h \
|
|
36 |
kernel/qsound_p.h \
|
|
37 |
kernel/qstackedlayout.h \
|
|
38 |
kernel/qtooltip.h \
|
|
39 |
kernel/qwhatsthis.h \
|
|
40 |
kernel/qwidget.h \
|
|
41 |
kernel/qwidget_p.h \
|
|
42 |
kernel/qwidgetaction.h \
|
|
43 |
kernel/qwidgetaction_p.h \
|
|
44 |
kernel/qwindowdefs.h \
|
|
45 |
kernel/qkeymapper_p.h \
|
|
46 |
kernel/qgesture.h \
|
|
47 |
kernel/qgesture_p.h \
|
|
48 |
kernel/qstandardgestures_p.h \
|
|
49 |
kernel/qgesturerecognizer.h \
|
|
50 |
kernel/qgesturemanager_p.h \
|
|
51 |
kernel/qsoftkeymanager_p.h \
|
|
52 |
kernel/qguiplatformplugin_p.h
|
|
53 |
|
|
54 |
SOURCES += \
|
|
55 |
kernel/qaction.cpp \
|
|
56 |
kernel/qactiongroup.cpp \
|
|
57 |
kernel/qapplication.cpp \
|
|
58 |
kernel/qboxlayout.cpp \
|
|
59 |
kernel/qclipboard.cpp \
|
|
60 |
kernel/qcursor.cpp \
|
|
61 |
kernel/qdrag.cpp \
|
|
62 |
kernel/qdnd.cpp \
|
|
63 |
kernel/qevent.cpp \
|
|
64 |
kernel/qformlayout.cpp \
|
|
65 |
kernel/qgridlayout.cpp \
|
|
66 |
kernel/qkeysequence.cpp \
|
|
67 |
kernel/qlayout.cpp \
|
|
68 |
kernel/qlayoutengine.cpp \
|
|
69 |
kernel/qlayoutitem.cpp \
|
|
70 |
kernel/qmime.cpp \
|
|
71 |
kernel/qpalette.cpp \
|
|
72 |
kernel/qshortcut.cpp \
|
|
73 |
kernel/qshortcutmap.cpp \
|
|
74 |
kernel/qsound.cpp \
|
|
75 |
kernel/qstackedlayout.cpp \
|
|
76 |
kernel/qtooltip.cpp \
|
|
77 |
kernel/qguivariant.cpp \
|
|
78 |
kernel/qwhatsthis.cpp \
|
|
79 |
kernel/qwidget.cpp \
|
|
80 |
kernel/qwidgetaction.cpp \
|
|
81 |
kernel/qkeymapper.cpp \
|
|
82 |
kernel/qgesture.cpp \
|
|
83 |
kernel/qstandardgestures.cpp \
|
|
84 |
kernel/qgesturerecognizer.cpp \
|
|
85 |
kernel/qgesturemanager.cpp \
|
|
86 |
kernel/qsoftkeymanager.cpp \
|
|
87 |
kernel/qdesktopwidget.cpp \
|
|
88 |
kernel/qguiplatformplugin.cpp
|
|
89 |
|
|
90 |
win32 {
|
|
91 |
DEFINES += QT_NO_DIRECTDRAW
|
|
92 |
|
|
93 |
HEADERS += \
|
|
94 |
kernel/qwinnativepangesturerecognizer_win_p.h
|
|
95 |
|
|
96 |
SOURCES += \
|
|
97 |
kernel/qapplication_win.cpp \
|
|
98 |
kernel/qclipboard_win.cpp \
|
|
99 |
kernel/qcursor_win.cpp \
|
|
100 |
kernel/qdesktopwidget_win.cpp \
|
|
101 |
kernel/qdnd_win.cpp \
|
|
102 |
kernel/qmime_win.cpp \
|
|
103 |
kernel/qsound_win.cpp \
|
|
104 |
kernel/qwidget_win.cpp \
|
|
105 |
kernel/qole_win.cpp \
|
|
106 |
kernel/qkeymapper_win.cpp \
|
|
107 |
kernel/qwinnativepangesturerecognizer_win.cpp
|
|
108 |
|
|
109 |
!contains(DEFINES, QT_NO_DIRECTDRAW):LIBS += ddraw.lib
|
|
110 |
}
|
|
111 |
|
|
112 |
symbian {
|
|
113 |
SOURCES += \
|
|
114 |
kernel/qapplication_s60.cpp \
|
|
115 |
kernel/qeventdispatcher_s60.cpp \
|
|
116 |
kernel/qwidget_s60.cpp \
|
|
117 |
kernel/qcursor_s60.cpp \
|
|
118 |
kernel/qdesktopwidget_s60.cpp \
|
|
119 |
kernel/qkeymapper_s60.cpp\
|
|
120 |
kernel/qclipboard_s60.cpp\
|
|
121 |
kernel/qdnd_s60.cpp \
|
|
122 |
kernel/qsound_s60.cpp
|
|
123 |
|
|
124 |
HEADERS += \
|
|
125 |
kernel/qt_s60_p.h \
|
|
126 |
kernel/qeventdispatcher_s60_p.h
|
|
127 |
LIBS += -lbafl -lestor
|
|
128 |
|
|
129 |
INCLUDEPATH += $$MW_LAYER_SYSTEMINCLUDE
|
|
130 |
}
|
|
131 |
|
|
132 |
|
|
133 |
unix:x11 {
|
|
134 |
INCLUDEPATH += ../3rdparty/xorg
|
|
135 |
HEADERS += \
|
|
136 |
kernel/qx11embed_x11.h \
|
|
137 |
kernel/qx11info_x11.h \
|
|
138 |
kernel/qkde_p.h
|
|
139 |
|
|
140 |
SOURCES += \
|
|
141 |
kernel/qapplication_x11.cpp \
|
|
142 |
kernel/qclipboard_x11.cpp \
|
|
143 |
kernel/qcursor_x11.cpp \
|
|
144 |
kernel/qdnd_x11.cpp \
|
|
145 |
kernel/qdesktopwidget_x11.cpp \
|
|
146 |
kernel/qmotifdnd_x11.cpp \
|
|
147 |
kernel/qsound_x11.cpp \
|
|
148 |
kernel/qwidget_x11.cpp \
|
|
149 |
kernel/qwidgetcreate_x11.cpp \
|
|
150 |
kernel/qx11embed_x11.cpp \
|
|
151 |
kernel/qx11info_x11.cpp \
|
|
152 |
kernel/qkeymapper_x11.cpp \
|
|
153 |
kernel/qkde.cpp
|
|
154 |
|
|
155 |
contains(QT_CONFIG, glib) {
|
|
156 |
SOURCES += \
|
|
157 |
kernel/qguieventdispatcher_glib.cpp
|
|
158 |
HEADERS += \
|
|
159 |
kernel/qguieventdispatcher_glib_p.h
|
|
160 |
QMAKE_CXXFLAGS += $$QT_CFLAGS_GLIB
|
|
161 |
LIBS_PRIVATE +=$$QT_LIBS_GLIB
|
|
162 |
}
|
|
163 |
SOURCES += \
|
|
164 |
kernel/qeventdispatcher_x11.cpp
|
|
165 |
HEADERS += \
|
|
166 |
kernel/qeventdispatcher_x11_p.h
|
|
167 |
}
|
|
168 |
|
|
169 |
embedded {
|
|
170 |
HEADERS += \
|
|
171 |
kernel/qeventdispatcher_qws_p.h
|
|
172 |
|
|
173 |
SOURCES += \
|
|
174 |
kernel/qapplication_qws.cpp \
|
|
175 |
kernel/qclipboard_qws.cpp \
|
|
176 |
kernel/qcursor_qws.cpp \
|
|
177 |
kernel/qdesktopwidget_qws.cpp \
|
|
178 |
kernel/qdnd_qws.cpp \
|
|
179 |
kernel/qeventdispatcher_qws.cpp \
|
|
180 |
kernel/qsound_qws.cpp \
|
|
181 |
kernel/qwidget_qws.cpp \
|
|
182 |
kernel/qkeymapper_qws.cpp \
|
|
183 |
kernel/qsessionmanager_qws.cpp
|
|
184 |
|
|
185 |
contains(QT_CONFIG, glib) {
|
|
186 |
SOURCES += \
|
|
187 |
kernel/qeventdispatcher_glib_qws.cpp
|
|
188 |
HEADERS += \
|
|
189 |
kernel/qeventdispatcher_glib_qws_p.h
|
|
190 |
QMAKE_CXXFLAGS += $$QT_CFLAGS_GLIB
|
|
191 |
}
|
|
192 |
|
|
193 |
|
|
194 |
}
|
|
195 |
|
|
196 |
!embedded:!x11:mac {
|
|
197 |
SOURCES += \
|
|
198 |
kernel/qclipboard_mac.cpp \
|
|
199 |
kernel/qmime_mac.cpp \
|
|
200 |
kernel/qt_mac.cpp \
|
|
201 |
kernel/qkeymapper_mac.cpp
|
|
202 |
|
|
203 |
OBJECTIVE_HEADERS += \
|
|
204 |
qcocoawindow_mac_p.h \
|
|
205 |
qcocoawindowdelegate_mac_p.h \
|
|
206 |
qcocoaview_mac_p.h \
|
|
207 |
qcocoaapplication_mac_p.h \
|
|
208 |
qcocoaapplicationdelegate_mac_p.h \
|
|
209 |
qmacgesturerecognizer_mac_p.h \
|
|
210 |
qmultitouch_mac_p.h
|
|
211 |
|
|
212 |
OBJECTIVE_SOURCES += \
|
|
213 |
kernel/qcursor_mac.mm \
|
|
214 |
kernel/qdnd_mac.mm \
|
|
215 |
kernel/qsound_mac.mm \
|
|
216 |
kernel/qapplication_mac.mm \
|
|
217 |
kernel/qwidget_mac.mm \
|
|
218 |
kernel/qcocoapanel_mac.mm \
|
|
219 |
kernel/qcocoaview_mac.mm \
|
|
220 |
kernel/qcocoawindow_mac.mm \
|
|
221 |
kernel/qcocoawindowdelegate_mac.mm \
|
|
222 |
kernel/qcocoamenuloader_mac.mm \
|
|
223 |
kernel/qcocoaapplication_mac.mm \
|
|
224 |
kernel/qcocoaapplicationdelegate_mac.mm \
|
|
225 |
kernel/qt_cocoa_helpers_mac.mm \
|
|
226 |
kernel/qdesktopwidget_mac.mm \
|
|
227 |
kernel/qeventdispatcher_mac.mm \
|
|
228 |
kernel/qcocoawindowcustomthemeframe_mac.mm \
|
|
229 |
kernel/qmacgesturerecognizer_mac.mm \
|
|
230 |
kernel/qmultitouch_mac.mm
|
|
231 |
|
|
232 |
HEADERS += \
|
|
233 |
kernel/qt_cocoa_helpers_mac_p.h \
|
|
234 |
kernel/qcocoaapplication_mac_p.h \
|
|
235 |
kernel/qcocoaapplicationdelegate_mac_p.h \
|
|
236 |
kernel/qeventdispatcher_mac_p.h
|
|
237 |
|
|
238 |
MENU_NIB.files = mac/qt_menu.nib
|
|
239 |
MENU_NIB.path = Resources
|
|
240 |
MENU_NIB.version = Versions
|
|
241 |
QMAKE_BUNDLE_DATA += MENU_NIB
|
|
242 |
RESOURCES += mac/macresources.qrc
|
|
243 |
|
|
244 |
LIBS_PRIVATE += -framework AppKit
|
|
245 |
}
|
|
246 |
|
|
247 |
wince*: {
|
|
248 |
HEADERS += \
|
|
249 |
../corelib/kernel/qfunctions_wince.h \
|
|
250 |
kernel/qguifunctions_wince.h
|
|
251 |
|
|
252 |
SOURCES += \
|
|
253 |
../corelib/kernel/qfunctions_wince.cpp \
|
|
254 |
kernel/qguifunctions_wince.cpp
|
|
255 |
}
|