[2] | 1 | # Qt kernel module
|
---|
| 2 |
|
---|
| 3 | kernel {
|
---|
| 4 | KERNEL_P = kernel
|
---|
| 5 | HEADERS += $$KERNEL_H/qabstractlayout.h \
|
---|
| 6 | $$KERNEL_H/qaccel.h \
|
---|
| 7 | $$KERNEL_P/qucomextra_p.h \
|
---|
| 8 | $$KERNEL_H/qapplication.h \
|
---|
| 9 | $$KERNEL_P/qapplication_p.h \
|
---|
| 10 | $$KERNEL_H/qasyncimageio.h \
|
---|
| 11 | $$KERNEL_H/qasyncio.h \
|
---|
| 12 | $$KERNEL_H/qbitmap.h \
|
---|
| 13 | $$KERNEL_H/qbrush.h \
|
---|
| 14 | $$KERNEL_H/qclipboard.h \
|
---|
| 15 | $$KERNEL_H/qcolor.h \
|
---|
| 16 | $$KERNEL_P/qcolor_p.h \
|
---|
| 17 | $$KERNEL_H/qconnection.h \
|
---|
| 18 | $$KERNEL_H/qcursor.h \
|
---|
| 19 | $$KERNEL_H/qdesktopwidget.h \
|
---|
| 20 | $$KERNEL_H/qdragobject.h \
|
---|
| 21 | $$KERNEL_H/qdrawutil.h \
|
---|
| 22 | $$KERNEL_H/qdropsite.h \
|
---|
| 23 | $$KERNEL_H/qevent.h \
|
---|
| 24 | $$KERNEL_H/qeventloop.h\
|
---|
| 25 | $$KERNEL_P/qeventloop_p.h \
|
---|
| 26 | $$KERNEL_H/qfocusdata.h \
|
---|
| 27 | $$KERNEL_H/qfont.h \
|
---|
| 28 | $$KERNEL_P/qfontdata_p.h \
|
---|
| 29 | $$KERNEL_H/qfontinfo.h \
|
---|
| 30 | $$KERNEL_H/qfontmetrics.h \
|
---|
| 31 | $$KERNEL_H/qguardedptr.h \
|
---|
| 32 | $$KERNEL_H/qgif.h \
|
---|
| 33 | $$KERNEL_H/qiconset.h \
|
---|
| 34 | $$KERNEL_H/qimage.h \
|
---|
| 35 | $$KERNEL_P/qimageformatinterface_p.h \
|
---|
| 36 | $$KERNEL_H/qimageformatplugin.h \
|
---|
| 37 | $$KERNEL_P/qinputcontext_p.h \
|
---|
| 38 | $$KERNEL_H/qkeycode.h \
|
---|
| 39 | $$KERNEL_H/qkeysequence.h \
|
---|
| 40 | $$KERNEL_H/qlayout.h \
|
---|
| 41 | $$KERNEL_P/qlayoutengine_p.h \
|
---|
| 42 | $$KERNEL_H/qtranslator.h \
|
---|
| 43 | $$KERNEL_H/qmetaobject.h \
|
---|
| 44 | $$KERNEL_H/qmime.h \
|
---|
| 45 | $$KERNEL_H/qmovie.h \
|
---|
| 46 | $$KERNEL_H/qnamespace.h \
|
---|
| 47 | $$KERNEL_H/qnetworkprotocol.h \
|
---|
| 48 | $$KERNEL_H/qobject.h \
|
---|
| 49 | $$KERNEL_H/qobjectcleanuphandler.h \
|
---|
| 50 | $$KERNEL_H/qobjectdefs.h \
|
---|
| 51 | $$KERNEL_H/qobjectdict.h \
|
---|
| 52 | $$KERNEL_H/qobjectlist.h \
|
---|
| 53 | $$KERNEL_H/qpaintdevice.h \
|
---|
| 54 | $$KERNEL_H/qpaintdevicedefs.h \
|
---|
| 55 | $$KERNEL_H/qpainter.h \
|
---|
| 56 | $$KERNEL_P/qpainter_p.h \
|
---|
| 57 | $$KERNEL_H/qpalette.h \
|
---|
| 58 | $$KERNEL_H/qpaintdevicemetrics.h \
|
---|
| 59 | $$KERNEL_H/qpen.h \
|
---|
| 60 | $$KERNEL_H/qpicture.h \
|
---|
| 61 | $$KERNEL_H/qpixmap.h \
|
---|
| 62 | $$KERNEL_H/qpixmapcache.h \
|
---|
| 63 | $$KERNEL_H/qpointarray.h \
|
---|
| 64 | $$KERNEL_H/qpoint.h \
|
---|
| 65 | $$KERNEL_H/qpolygonscanner.h \
|
---|
| 66 | $$KERNEL_H/qprinter.h \
|
---|
| 67 | $$KERNEL_H/qprocess.h \
|
---|
| 68 | $$KERNEL_H/qrect.h \
|
---|
| 69 | $$KERNEL_H/qregion.h \
|
---|
| 70 | $$KERNEL_H/qsessionmanager.h \
|
---|
| 71 | $$KERNEL_H/qsignal.h \
|
---|
| 72 | $$KERNEL_H/qsignalmapper.h \
|
---|
| 73 | $$KERNEL_H/qsignalslotimp.h \
|
---|
| 74 | $$KERNEL_H/qsize.h \
|
---|
| 75 | $$KERNEL_H/qsizegrip.h \
|
---|
| 76 | $$KERNEL_H/qsizepolicy.h \
|
---|
| 77 | $$KERNEL_H/qsocketnotifier.h \
|
---|
| 78 | $$KERNEL_H/qsound.h \
|
---|
| 79 | $$KERNEL_H/qstyle.h \
|
---|
| 80 | $$KERNEL_H/qstylesheet.h \
|
---|
| 81 | $$KERNEL_H/qthread.h \
|
---|
| 82 | $$KERNEL_H/qtimer.h \
|
---|
| 83 | $$KERNEL_H/qurl.h \
|
---|
| 84 | $$KERNEL_H/qlocalfs.h \
|
---|
| 85 | $$KERNEL_H/qurloperator.h \
|
---|
| 86 | $$KERNEL_H/qurlinfo.h \
|
---|
| 87 | $$KERNEL_H/qwidget.h \
|
---|
| 88 | $$KERNEL_H/qwidgetintdict.h \
|
---|
| 89 | $$KERNEL_H/qwidgetlist.h \
|
---|
| 90 | $$KERNEL_H/qwindowdefs.h \
|
---|
| 91 | $$KERNEL_H/qwmatrix.h \
|
---|
| 92 | $$KERNEL_H/qvariant.h \
|
---|
| 93 | $$KERNEL_P/qrichtext_p.h \
|
---|
| 94 | $$KERNEL_P/qinternal_p.h \
|
---|
| 95 | $$KERNEL_H/qgplugin.h \
|
---|
| 96 | $$KERNEL_H/qsimplerichtext.h \
|
---|
| 97 | $$KERNEL_CPP/qscriptengine_p.h \
|
---|
| 98 | $$KERNEL_CPP/qtextengine_p.h \
|
---|
| 99 | $$KERNEL_CPP/qfontengine_p.h \
|
---|
| 100 | $$KERNEL_CPP/qtextlayout_p.h
|
---|
| 101 |
|
---|
| 102 | win32:SOURCES += $$KERNEL_CPP/qapplication_win.cpp \
|
---|
| 103 | $$KERNEL_CPP/qclipboard_win.cpp \
|
---|
| 104 | $$KERNEL_CPP/qcolor_win.cpp \
|
---|
| 105 | $$KERNEL_CPP/qcursor_win.cpp \
|
---|
| 106 | $$KERNEL_CPP/qdesktopwidget_win.cpp \
|
---|
| 107 | $$KERNEL_CPP/qdnd_win.cpp \
|
---|
| 108 | $$KERNEL_CPP/qeventloop_win.cpp \
|
---|
| 109 | $$KERNEL_CPP/qfont_win.cpp \
|
---|
| 110 | $$KERNEL_CPP/qinputcontext_win.cpp \
|
---|
| 111 | $$KERNEL_CPP/qmime_win.cpp \
|
---|
| 112 | $$KERNEL_CPP/qpixmap_win.cpp \
|
---|
| 113 | $$KERNEL_CPP/qprinter_win.cpp \
|
---|
| 114 | $$KERNEL_CPP/qprocess_win.cpp \
|
---|
| 115 | $$KERNEL_CPP/qpaintdevice_win.cpp \
|
---|
| 116 | $$KERNEL_CPP/qpainter_win.cpp \
|
---|
| 117 | $$KERNEL_CPP/qregion_win.cpp \
|
---|
| 118 | $$KERNEL_CPP/qsound_win.cpp \
|
---|
| 119 | $$KERNEL_CPP/qthread_win.cpp \
|
---|
| 120 | $$KERNEL_CPP/qwidget_win.cpp \
|
---|
| 121 | $$KERNEL_CPP/qole_win.c \
|
---|
| 122 | $$KERNEL_CPP/qfontengine_win.cpp
|
---|
| 123 |
|
---|
[8] | 124 | os2:SOURCES += \
|
---|
[41] | 125 | $$KERNEL_CPP/qapplication_pm.cpp \
|
---|
[8] | 126 | $$KERNEL_CPP/qclipboard_pm.cpp \
|
---|
| 127 | $$KERNEL_CPP/qcolor_pm.cpp \
|
---|
[41] | 128 | $$KERNEL_CPP/qcursor_pm.cpp \
|
---|
[8] | 129 | $$KERNEL_CPP/qdesktopwidget_pm.cpp \
|
---|
[97] | 130 | $$KERNEL_CPP/qdnd_pm.cpp \
|
---|
[8] | 131 | $$KERNEL_CPP/qeventloop_pm.cpp \
|
---|
| 132 | $$KERNEL_CPP/qfont_pm.cpp \
|
---|
| 133 | $$KERNEL_CPP/qmime_pm.cpp \
|
---|
| 134 | $$KERNEL_CPP/qpixmap_pm.cpp \
|
---|
[41] | 135 | $$KERNEL_CPP/qprocess_pm.cpp \
|
---|
[8] | 136 | $$KERNEL_CPP/qpaintdevice_pm.cpp \
|
---|
| 137 | $$KERNEL_CPP/qpainter_pm.cpp \
|
---|
| 138 | $$KERNEL_CPP/qregion_pm.cpp \
|
---|
[46] | 139 | $$KERNEL_CPP/qsound_pm.cpp \
|
---|
[41] | 140 | $$KERNEL_CPP/qthread_pm.cpp \
|
---|
[8] | 141 | $$KERNEL_CPP/qwidget_pm.cpp \
|
---|
[139] | 142 | $$KERNEL_CPP/qfontengine_pm.cpp
|
---|
[8] | 143 |
|
---|
[2] | 144 | unix:x11 {
|
---|
| 145 | SOURCES += $$KERNEL_CPP/qapplication_x11.cpp \
|
---|
| 146 | $$KERNEL_CPP/qclipboard_x11.cpp \
|
---|
| 147 | $$KERNEL_CPP/qcolor_x11.cpp \
|
---|
| 148 | $$KERNEL_CPP/qcursor_x11.cpp \
|
---|
| 149 | $$KERNEL_CPP/qdnd_x11.cpp \
|
---|
| 150 | $$KERNEL_CPP/qdesktopwidget_x11.cpp \
|
---|
| 151 | $$KERNEL_CPP/qeventloop_x11.cpp \
|
---|
| 152 | $$KERNEL_CPP/qfont_x11.cpp \
|
---|
| 153 | $$KERNEL_CPP/qinputcontext_x11.cpp \
|
---|
| 154 | $$KERNEL_CPP/qmotifdnd_x11.cpp \
|
---|
| 155 | $$KERNEL_CPP/qpixmap_x11.cpp \
|
---|
| 156 | $$KERNEL_CPP/qpaintdevice_x11.cpp \
|
---|
| 157 | $$KERNEL_CPP/qpainter_x11.cpp \
|
---|
| 158 | $$KERNEL_CPP/qregion_x11.cpp \
|
---|
| 159 | $$KERNEL_CPP/qsound_x11.cpp \
|
---|
| 160 | $$KERNEL_CPP/qwidget_x11.cpp \
|
---|
| 161 | $$KERNEL_CPP/qwidgetcreate_x11.cpp \
|
---|
| 162 | $$KERNEL_CPP/qfontengine_x11.cpp
|
---|
| 163 | }
|
---|
| 164 |
|
---|
| 165 | !x11:mac {
|
---|
| 166 | exists(qsound_mac.cpp):SOURCES += $$KERNEL_CPP/qsound_mac.cpp
|
---|
| 167 | else:SOURCES += $$KERNEL_CPP/qsound_qws.cpp
|
---|
| 168 | }
|
---|
| 169 | !embedded:!x11:mac {
|
---|
| 170 | SOURCES += $$KERNEL_CPP/qapplication_mac.cpp \
|
---|
| 171 | $$KERNEL_CPP/qclipboard_mac.cpp \
|
---|
| 172 | $$KERNEL_CPP/qcolor_mac.cpp \
|
---|
| 173 | $$KERNEL_CPP/qcursor_mac.cpp \
|
---|
| 174 | $$KERNEL_CPP/qmime_mac.cpp \
|
---|
| 175 | $$KERNEL_CPP/qdnd_mac.cpp \
|
---|
| 176 | $$KERNEL_CPP/qdesktopwidget_mac.cpp \
|
---|
| 177 | $$KERNEL_CPP/qpixmap_mac.cpp \
|
---|
| 178 | $$KERNEL_CPP/qprinter_mac.cpp \
|
---|
| 179 | $$KERNEL_CPP/qpaintdevice_mac.cpp \
|
---|
| 180 | $$KERNEL_CPP/qpainter_mac.cpp \
|
---|
| 181 | $$KERNEL_CPP/qregion_mac.cpp \
|
---|
| 182 | $$KERNEL_CPP/qwidget_mac.cpp \
|
---|
| 183 | $$KERNEL_CPP/qeventloop_mac.cpp \
|
---|
| 184 | $$KERNEL_CPP/qfont_mac.cpp \
|
---|
| 185 | $$KERNEL_CPP/qfontengine_mac.cpp
|
---|
| 186 | DEFINES += QMAC_ONE_PIXEL_LOCK
|
---|
| 187 | } else:unix {
|
---|
| 188 | SOURCES += $$KERNEL_CPP/qprinter_unix.cpp \
|
---|
| 189 | $$KERNEL_CPP/qpsprinter.cpp \
|
---|
| 190 | $$KERNEL_CPP/qeventloop_unix.cpp
|
---|
| 191 | }
|
---|
| 192 | unix:SOURCES += $$KERNEL_CPP/qprocess_unix.cpp \
|
---|
| 193 | $$KERNEL_CPP/qthread_unix.cpp
|
---|
| 194 |
|
---|
| 195 | SOURCES += $$KERNEL_CPP/qabstractlayout.cpp \
|
---|
| 196 | $$KERNEL_CPP/qucomextra.cpp \
|
---|
| 197 | $$KERNEL_CPP/qaccel.cpp \
|
---|
| 198 | $$KERNEL_CPP/qapplication.cpp \
|
---|
| 199 | $$KERNEL_CPP/qasyncimageio.cpp \
|
---|
| 200 | $$KERNEL_CPP/qasyncio.cpp \
|
---|
| 201 | $$KERNEL_CPP/qbitmap.cpp \
|
---|
| 202 | $$KERNEL_CPP/qclipboard.cpp \
|
---|
| 203 | $$KERNEL_CPP/qcolor.cpp \
|
---|
| 204 | $$KERNEL_CPP/qcolor_p.cpp \
|
---|
| 205 | $$KERNEL_CPP/qconnection.cpp \
|
---|
| 206 | $$KERNEL_CPP/qcursor.cpp \
|
---|
| 207 | $$KERNEL_CPP/qdragobject.cpp \
|
---|
| 208 | $$KERNEL_CPP/qdrawutil.cpp \
|
---|
| 209 | $$KERNEL_CPP/qdropsite.cpp \
|
---|
| 210 | $$KERNEL_CPP/qevent.cpp \
|
---|
| 211 | $$KERNEL_CPP/qeventloop.cpp \
|
---|
| 212 | $$KERNEL_CPP/qfocusdata.cpp \
|
---|
| 213 | $$KERNEL_CPP/qfont.cpp \
|
---|
| 214 | $$KERNEL_CPP/qfontdatabase.cpp \
|
---|
| 215 | $$KERNEL_CPP/qguardedptr.cpp \
|
---|
| 216 | $$KERNEL_CPP/qiconset.cpp \
|
---|
| 217 | $$KERNEL_CPP/qimage.cpp \
|
---|
| 218 | $$KERNEL_CPP/qimageformatplugin.cpp \
|
---|
| 219 | $$KERNEL_CPP/qkeysequence.cpp \
|
---|
| 220 | $$KERNEL_CPP/qlayout.cpp \
|
---|
| 221 | $$KERNEL_CPP/qlayoutengine.cpp \
|
---|
| 222 | $$KERNEL_CPP/qtranslator.cpp \
|
---|
| 223 | $$KERNEL_CPP/qmetaobject.cpp \
|
---|
| 224 | $$KERNEL_CPP/qmime.cpp \
|
---|
| 225 | $$KERNEL_CPP/qmovie.cpp \
|
---|
| 226 | $$KERNEL_CPP/qnetworkprotocol.cpp \
|
---|
| 227 | $$KERNEL_CPP/qobject.cpp \
|
---|
| 228 | $$KERNEL_CPP/qobjectcleanuphandler.cpp \
|
---|
| 229 | $$KERNEL_CPP/qpainter.cpp \
|
---|
| 230 | $$KERNEL_CPP/qpalette.cpp \
|
---|
| 231 | $$KERNEL_CPP/qpaintdevicemetrics.cpp \
|
---|
| 232 | $$KERNEL_CPP/qpicture.cpp \
|
---|
| 233 | $$KERNEL_CPP/qpixmap.cpp \
|
---|
| 234 | $$KERNEL_CPP/qpixmapcache.cpp \
|
---|
| 235 | $$KERNEL_CPP/qpointarray.cpp \
|
---|
| 236 | $$KERNEL_CPP/qpoint.cpp \
|
---|
| 237 | $$KERNEL_CPP/qpolygonscanner.cpp \
|
---|
| 238 | $$KERNEL_CPP/qprinter.cpp \
|
---|
| 239 | $$KERNEL_CPP/qprocess.cpp \
|
---|
| 240 | $$KERNEL_CPP/qrect.cpp \
|
---|
| 241 | $$KERNEL_CPP/qregion.cpp \
|
---|
| 242 | $$KERNEL_CPP/qsignal.cpp \
|
---|
| 243 | $$KERNEL_CPP/qsignalmapper.cpp \
|
---|
| 244 | $$KERNEL_CPP/qsize.cpp \
|
---|
| 245 | $$KERNEL_CPP/qsizegrip.cpp \
|
---|
| 246 | $$KERNEL_CPP/qstyle.cpp \
|
---|
| 247 | $$KERNEL_CPP/qsocketnotifier.cpp \
|
---|
| 248 | $$KERNEL_CPP/qsound.cpp \
|
---|
| 249 | $$KERNEL_CPP/qstylesheet.cpp \
|
---|
| 250 | $$KERNEL_CPP/qthread.cpp \
|
---|
| 251 | $$KERNEL_CPP/qtimer.cpp \
|
---|
| 252 | $$KERNEL_CPP/qurl.cpp \
|
---|
| 253 | $$KERNEL_CPP/qlocalfs.cpp \
|
---|
| 254 | $$KERNEL_CPP/qurloperator.cpp \
|
---|
| 255 | $$KERNEL_CPP/qurlinfo.cpp \
|
---|
| 256 | $$KERNEL_CPP/qwidget.cpp \
|
---|
| 257 | $$KERNEL_CPP/qwmatrix.cpp \
|
---|
| 258 | $$KERNEL_CPP/qvariant.cpp \
|
---|
| 259 | $$KERNEL_CPP/qrichtext.cpp \
|
---|
| 260 | $$KERNEL_CPP/qinternal.cpp \
|
---|
| 261 | $$KERNEL_CPP/qrichtext_p.cpp \
|
---|
| 262 | $$KERNEL_CPP/qgplugin.cpp \
|
---|
| 263 | $$KERNEL_CPP/qsimplerichtext.cpp \
|
---|
| 264 | $$KERNEL_CPP/qscriptengine.cpp \
|
---|
| 265 | $$KERNEL_CPP/qtextlayout.cpp \
|
---|
| 266 | $$KERNEL_CPP/qtextengine.cpp
|
---|
| 267 |
|
---|
| 268 | unix:HEADERS += $$KERNEL_P/qpsprinter_p.h \
|
---|
| 269 | $$KERNEL_H/qfontdatabase.h
|
---|
| 270 |
|
---|
| 271 | embedded:SOURCES += $$KERNEL_CPP/qsharedmemory_p.cpp \
|
---|
| 272 | $$KERNEL_CPP/qfontengine_qws.cpp
|
---|
| 273 |
|
---|
| 274 | accessibility {
|
---|
| 275 | HEADERS += $$KERNEL_H/qaccessible.h
|
---|
| 276 | SOURCES += $$KERNEL_CPP/qaccessible.cpp
|
---|
| 277 |
|
---|
| 278 | !embedded:!x11:mac:SOURCES += $$KERNEL_CPP/qaccessible_mac.cpp
|
---|
| 279 | else:win32:SOURCES += $$KERNEL_CPP/qaccessible_win.cpp
|
---|
| 280 | }
|
---|
| 281 | }
|
---|
[8] | 282 |
|
---|
[128] | 283 | ## @todo (r=dmik) commented out until there is a GCC compatible FT2 support lib
|
---|
| 284 | # when uncommented, make sure the static build of Qt library works well
|
---|
| 285 | # (mkspecs\os2-g++\qmake.conf also needs to be altered)
|
---|
| 286 | #os2 {
|
---|
| 287 | # pm_ft2lib {
|
---|
| 288 | # INCLUDEPATH += $$pm_ft2lib.include
|
---|
| 289 | # LIBS += $$pm_ft2lib.lib\ft2lib.lib
|
---|
| 290 | # }
|
---|
| 291 | # else:DEFINES += QT_PM_NO_FT2LIB
|
---|
| 292 | #}
|
---|
| 293 |
|
---|
| 294 | ## @todo (r=dmik): headers and sources below are substracted until implemented
|
---|
[8] | 295 | os2 {
|
---|
| 296 | HEADERS -= \
|
---|
| 297 | $$KERNEL_P/qinputcontext_p.h \
|
---|
[77] | 298 | $$KERNEL_H/qprinter.h
|
---|
[8] | 299 |
|
---|
| 300 | SOURCES -= \
|
---|
[46] | 301 | $$KERNEL_CPP/qprinter.cpp
|
---|
[8] | 302 | }
|
---|