[2] | 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 \
|
---|
[651] | 10 | kernel/qaction_p.h \
|
---|
[2] | 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 \
|
---|
[651] | 40 | kernel/qwidget.h \
|
---|
| 41 | kernel/qwidget_p.h \
|
---|
[2] | 42 | kernel/qwidgetaction.h \
|
---|
| 43 | kernel/qwidgetaction_p.h \
|
---|
| 44 | kernel/qwindowdefs.h \
|
---|
[561] | 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 \
|
---|
[651] | 52 | kernel/qsoftkeymanager_common_p.h \
|
---|
[561] | 53 | kernel/qguiplatformplugin_p.h
|
---|
[2] | 54 |
|
---|
| 55 | SOURCES += \
|
---|
| 56 | kernel/qaction.cpp \
|
---|
| 57 | kernel/qactiongroup.cpp \
|
---|
| 58 | kernel/qapplication.cpp \
|
---|
| 59 | kernel/qboxlayout.cpp \
|
---|
| 60 | kernel/qclipboard.cpp \
|
---|
| 61 | kernel/qcursor.cpp \
|
---|
| 62 | kernel/qdrag.cpp \
|
---|
| 63 | kernel/qdnd.cpp \
|
---|
| 64 | kernel/qevent.cpp \
|
---|
| 65 | kernel/qformlayout.cpp \
|
---|
| 66 | kernel/qgridlayout.cpp \
|
---|
| 67 | kernel/qkeysequence.cpp \
|
---|
| 68 | kernel/qlayout.cpp \
|
---|
| 69 | kernel/qlayoutengine.cpp \
|
---|
| 70 | kernel/qlayoutitem.cpp \
|
---|
| 71 | kernel/qmime.cpp \
|
---|
| 72 | kernel/qpalette.cpp \
|
---|
| 73 | kernel/qshortcut.cpp \
|
---|
| 74 | kernel/qshortcutmap.cpp \
|
---|
| 75 | kernel/qsound.cpp \
|
---|
| 76 | kernel/qstackedlayout.cpp \
|
---|
| 77 | kernel/qtooltip.cpp \
|
---|
| 78 | kernel/qguivariant.cpp \
|
---|
| 79 | kernel/qwhatsthis.cpp \
|
---|
| 80 | kernel/qwidget.cpp \
|
---|
| 81 | kernel/qwidgetaction.cpp \
|
---|
[561] | 82 | kernel/qkeymapper.cpp \
|
---|
| 83 | kernel/qgesture.cpp \
|
---|
| 84 | kernel/qstandardgestures.cpp \
|
---|
| 85 | kernel/qgesturerecognizer.cpp \
|
---|
| 86 | kernel/qgesturemanager.cpp \
|
---|
| 87 | kernel/qsoftkeymanager.cpp \
|
---|
[651] | 88 | kernel/qdesktopwidget.cpp \
|
---|
[561] | 89 | kernel/qguiplatformplugin.cpp
|
---|
[2] | 90 |
|
---|
| 91 | win32 {
|
---|
| 92 | DEFINES += QT_NO_DIRECTDRAW
|
---|
| 93 |
|
---|
[651] | 94 | HEADERS += \
|
---|
| 95 | kernel/qwinnativepangesturerecognizer_win_p.h
|
---|
[561] | 96 |
|
---|
[2] | 97 | SOURCES += \
|
---|
| 98 | kernel/qapplication_win.cpp \
|
---|
| 99 | kernel/qclipboard_win.cpp \
|
---|
| 100 | kernel/qcursor_win.cpp \
|
---|
| 101 | kernel/qdesktopwidget_win.cpp \
|
---|
| 102 | kernel/qdnd_win.cpp \
|
---|
| 103 | kernel/qmime_win.cpp \
|
---|
| 104 | kernel/qsound_win.cpp \
|
---|
| 105 | kernel/qwidget_win.cpp \
|
---|
| 106 | kernel/qole_win.cpp \
|
---|
[651] | 107 | kernel/qkeymapper_win.cpp \
|
---|
| 108 | kernel/qwinnativepangesturerecognizer_win.cpp
|
---|
[2] | 109 |
|
---|
[651] | 110 | !contains(DEFINES, QT_NO_DIRECTDRAW):LIBS += ddraw.lib
|
---|
[2] | 111 | }
|
---|
| 112 |
|
---|
[561] | 113 | symbian {
|
---|
[651] | 114 | SOURCES += \
|
---|
| 115 | kernel/qapplication_s60.cpp \
|
---|
| 116 | kernel/qeventdispatcher_s60.cpp \
|
---|
| 117 | kernel/qwidget_s60.cpp \
|
---|
| 118 | kernel/qcursor_s60.cpp \
|
---|
| 119 | kernel/qdesktopwidget_s60.cpp \
|
---|
| 120 | kernel/qkeymapper_s60.cpp\
|
---|
| 121 | kernel/qclipboard_s60.cpp\
|
---|
| 122 | kernel/qdnd_s60.cpp \
|
---|
[846] | 123 | kernel/qsound_s60.cpp
|
---|
[561] | 124 |
|
---|
[651] | 125 | HEADERS += \
|
---|
| 126 | kernel/qt_s60_p.h \
|
---|
[846] | 127 | kernel/qeventdispatcher_s60_p.h
|
---|
[561] | 128 |
|
---|
[651] | 129 | LIBS += -lbafl -lestor
|
---|
| 130 |
|
---|
| 131 | INCLUDEPATH += $$MW_LAYER_SYSTEMINCLUDE
|
---|
| 132 | INCLUDEPATH += ../3rdparty/s60
|
---|
[846] | 133 |
|
---|
| 134 | contains(QT_CONFIG, s60) {
|
---|
| 135 | SOURCES += kernel/qsoftkeymanager_s60.cpp
|
---|
| 136 | HEADERS += kernel/qsoftkeymanager_s60_p.h
|
---|
| 137 | }
|
---|
[561] | 138 | }
|
---|
| 139 |
|
---|
[92] | 140 | os2 {
|
---|
| 141 | SOURCES += \
|
---|
| 142 | kernel/qapplication_pm.cpp \
|
---|
[95] | 143 | kernel/qclipboard_pm.cpp \
|
---|
| 144 | kernel/qcursor_pm.cpp \
|
---|
| 145 | kernel/qdesktopwidget_pm.cpp \
|
---|
| 146 | kernel/qdnd_pm.cpp \
|
---|
[323] | 147 | kernel/qmime_pm.cpp \
|
---|
[95] | 148 | kernel/qkeymapper_pm.cpp \
|
---|
| 149 | kernel/qsound_pm.cpp \
|
---|
[92] | 150 | kernel/qwidget_pm.cpp
|
---|
| 151 | }
|
---|
| 152 |
|
---|
[2] | 153 | unix:x11 {
|
---|
| 154 | INCLUDEPATH += ../3rdparty/xorg
|
---|
| 155 | HEADERS += \
|
---|
| 156 | kernel/qx11embed_x11.h \
|
---|
[561] | 157 | kernel/qx11info_x11.h \
|
---|
| 158 | kernel/qkde_p.h
|
---|
[2] | 159 |
|
---|
| 160 | SOURCES += \
|
---|
| 161 | kernel/qapplication_x11.cpp \
|
---|
| 162 | kernel/qclipboard_x11.cpp \
|
---|
| 163 | kernel/qcursor_x11.cpp \
|
---|
| 164 | kernel/qdnd_x11.cpp \
|
---|
| 165 | kernel/qdesktopwidget_x11.cpp \
|
---|
| 166 | kernel/qmotifdnd_x11.cpp \
|
---|
| 167 | kernel/qsound_x11.cpp \
|
---|
| 168 | kernel/qwidget_x11.cpp \
|
---|
| 169 | kernel/qwidgetcreate_x11.cpp \
|
---|
| 170 | kernel/qx11embed_x11.cpp \
|
---|
| 171 | kernel/qx11info_x11.cpp \
|
---|
[561] | 172 | kernel/qkeymapper_x11.cpp \
|
---|
| 173 | kernel/qkde.cpp
|
---|
[2] | 174 |
|
---|
| 175 | contains(QT_CONFIG, glib) {
|
---|
| 176 | SOURCES += \
|
---|
| 177 | kernel/qguieventdispatcher_glib.cpp
|
---|
| 178 | HEADERS += \
|
---|
| 179 | kernel/qguieventdispatcher_glib_p.h
|
---|
| 180 | QMAKE_CXXFLAGS += $$QT_CFLAGS_GLIB
|
---|
[561] | 181 | LIBS_PRIVATE +=$$QT_LIBS_GLIB
|
---|
[2] | 182 | }
|
---|
| 183 | SOURCES += \
|
---|
| 184 | kernel/qeventdispatcher_x11.cpp
|
---|
| 185 | HEADERS += \
|
---|
| 186 | kernel/qeventdispatcher_x11_p.h
|
---|
| 187 | }
|
---|
| 188 |
|
---|
| 189 | embedded {
|
---|
| 190 | HEADERS += \
|
---|
| 191 | kernel/qeventdispatcher_qws_p.h
|
---|
| 192 |
|
---|
| 193 | SOURCES += \
|
---|
| 194 | kernel/qapplication_qws.cpp \
|
---|
| 195 | kernel/qclipboard_qws.cpp \
|
---|
| 196 | kernel/qcursor_qws.cpp \
|
---|
| 197 | kernel/qdesktopwidget_qws.cpp \
|
---|
| 198 | kernel/qdnd_qws.cpp \
|
---|
| 199 | kernel/qeventdispatcher_qws.cpp \
|
---|
| 200 | kernel/qsound_qws.cpp \
|
---|
| 201 | kernel/qwidget_qws.cpp \
|
---|
| 202 | kernel/qkeymapper_qws.cpp \
|
---|
| 203 | kernel/qsessionmanager_qws.cpp
|
---|
| 204 |
|
---|
| 205 | contains(QT_CONFIG, glib) {
|
---|
| 206 | SOURCES += \
|
---|
| 207 | kernel/qeventdispatcher_glib_qws.cpp
|
---|
| 208 | HEADERS += \
|
---|
| 209 | kernel/qeventdispatcher_glib_qws_p.h
|
---|
| 210 | QMAKE_CXXFLAGS += $$QT_CFLAGS_GLIB
|
---|
[561] | 211 | LIBS_PRIVATE +=$$QT_LIBS_GLIB
|
---|
[2] | 212 | }
|
---|
| 213 | }
|
---|
| 214 |
|
---|
| 215 | !embedded:!x11:mac {
|
---|
| 216 | SOURCES += \
|
---|
| 217 | kernel/qclipboard_mac.cpp \
|
---|
| 218 | kernel/qmime_mac.cpp \
|
---|
| 219 | kernel/qt_mac.cpp \
|
---|
| 220 | kernel/qkeymapper_mac.cpp
|
---|
| 221 |
|
---|
| 222 | OBJECTIVE_HEADERS += \
|
---|
| 223 | qcocoawindow_mac_p.h \
|
---|
[846] | 224 | qcocoapanel_mac_p.h \
|
---|
[2] | 225 | qcocoawindowdelegate_mac_p.h \
|
---|
| 226 | qcocoaview_mac_p.h \
|
---|
| 227 | qcocoaapplication_mac_p.h \
|
---|
| 228 | qcocoaapplicationdelegate_mac_p.h \
|
---|
[561] | 229 | qmacgesturerecognizer_mac_p.h \
|
---|
| 230 | qmultitouch_mac_p.h \
|
---|
| 231 | qcocoasharedwindowmethods_mac_p.h
|
---|
[2] | 232 |
|
---|
| 233 | OBJECTIVE_SOURCES += \
|
---|
| 234 | kernel/qcursor_mac.mm \
|
---|
| 235 | kernel/qdnd_mac.mm \
|
---|
| 236 | kernel/qsound_mac.mm \
|
---|
| 237 | kernel/qapplication_mac.mm \
|
---|
[561] | 238 | kernel/qwidget_mac.mm \
|
---|
| 239 | kernel/qcocoapanel_mac.mm \
|
---|
| 240 | kernel/qcocoaview_mac.mm \
|
---|
| 241 | kernel/qcocoawindow_mac.mm \
|
---|
| 242 | kernel/qcocoawindowdelegate_mac.mm \
|
---|
[2] | 243 | kernel/qcocoamenuloader_mac.mm \
|
---|
| 244 | kernel/qcocoaapplication_mac.mm \
|
---|
| 245 | kernel/qcocoaapplicationdelegate_mac.mm \
|
---|
| 246 | kernel/qt_cocoa_helpers_mac.mm \
|
---|
[561] | 247 | kernel/qdesktopwidget_mac.mm \
|
---|
[2] | 248 | kernel/qeventdispatcher_mac.mm \
|
---|
[561] | 249 | kernel/qcocoawindowcustomthemeframe_mac.mm \
|
---|
| 250 | kernel/qmacgesturerecognizer_mac.mm \
|
---|
| 251 | kernel/qmultitouch_mac.mm
|
---|
[2] | 252 |
|
---|
| 253 | HEADERS += \
|
---|
| 254 | kernel/qt_cocoa_helpers_mac_p.h \
|
---|
| 255 | kernel/qcocoaapplication_mac_p.h \
|
---|
| 256 | kernel/qcocoaapplicationdelegate_mac_p.h \
|
---|
| 257 | kernel/qeventdispatcher_mac_p.h
|
---|
| 258 |
|
---|
[92] | 259 | MENU_NIB.files = mac/qt_menu.nib
|
---|
| 260 | MENU_NIB.path = Resources
|
---|
[2] | 261 | MENU_NIB.version = Versions
|
---|
[92] | 262 | QMAKE_BUNDLE_DATA += MENU_NIB
|
---|
[561] | 263 | RESOURCES += mac/macresources.qrc
|
---|
[2] | 264 |
|
---|
[561] | 265 | LIBS_PRIVATE += -framework AppKit
|
---|
[2] | 266 | }
|
---|
| 267 |
|
---|
| 268 | wince*: {
|
---|
| 269 | HEADERS += \
|
---|
| 270 | ../corelib/kernel/qfunctions_wince.h \
|
---|
| 271 | kernel/qguifunctions_wince.h
|
---|
| 272 |
|
---|
| 273 | SOURCES += \
|
---|
| 274 | ../corelib/kernel/qfunctions_wince.cpp \
|
---|
| 275 | kernel/qguifunctions_wince.cpp
|
---|
| 276 | }
|
---|