0
|
1 |
# Qt for Embedded Linux
|
|
2 |
|
|
3 |
embedded {
|
|
4 |
CONFIG -= opengl x11
|
|
5 |
LIBS -= -dl
|
|
6 |
KERNEL_P = kernel
|
|
7 |
|
|
8 |
!mac:HEADERS += embedded/qsoundqss_qws.h
|
|
9 |
HEADERS += \
|
|
10 |
embedded/qcopchannel_qws.h \
|
|
11 |
embedded/qdecoration_qws.h \
|
|
12 |
embedded/qdecorationfactory_qws.h \
|
|
13 |
embedded/qdecorationplugin_qws.h \
|
|
14 |
embedded/qdirectpainter_qws.h \
|
|
15 |
embedded/qlock_p.h \
|
|
16 |
embedded/qscreen_qws.h \
|
|
17 |
embedded/qscreenmulti_qws_p.h \
|
|
18 |
embedded/qscreenproxy_qws.h \
|
|
19 |
embedded/qwindowsystem_qws.h \
|
|
20 |
embedded/qwindowsystem_p.h \
|
|
21 |
embedded/qwscommand_qws_p.h \
|
|
22 |
embedded/qwscursor_qws.h \
|
|
23 |
embedded/qwsdisplay_qws.h \
|
|
24 |
embedded/qwsdisplay_qws_p.h \
|
|
25 |
embedded/qwsevent_qws.h \
|
|
26 |
embedded/qwsmanager_qws.h \
|
|
27 |
embedded/qwsmanager_p.h \
|
|
28 |
embedded/qwsproperty_qws.h \
|
|
29 |
embedded/qwsprotocolitem_qws.h \
|
|
30 |
embedded/qtransportauth_qws.h \
|
|
31 |
embedded/qtransportauth_qws_p.h \
|
|
32 |
embedded/qtransportauthdefs_qws.h \
|
|
33 |
embedded/qwssocket_qws.h \
|
|
34 |
embedded/qwslock_p.h \
|
|
35 |
embedded/qwsutils_qws.h \
|
|
36 |
embedded/qwssharedmemory_p.h \
|
|
37 |
embedded/qwssignalhandler_p.h \
|
|
38 |
embedded/qwsembedwidget.h
|
|
39 |
|
|
40 |
!mac:SOURCES += embedded/qsoundqss_qws.cpp
|
|
41 |
SOURCES += \
|
|
42 |
embedded/qcopchannel_qws.cpp \
|
|
43 |
embedded/qdecoration_qws.cpp \
|
|
44 |
embedded/qdecorationfactory_qws.cpp \
|
|
45 |
embedded/qdecorationplugin_qws.cpp \
|
|
46 |
embedded/qdirectpainter_qws.cpp \
|
|
47 |
embedded/qlock.cpp \
|
|
48 |
embedded/qscreen_qws.cpp \
|
|
49 |
embedded/qscreenmulti_qws.cpp \
|
|
50 |
embedded/qscreenproxy_qws.cpp \
|
|
51 |
embedded/qwindowsystem_qws.cpp \
|
|
52 |
embedded/qwscommand_qws.cpp \
|
|
53 |
embedded/qwscursor_qws.cpp \
|
|
54 |
embedded/qwsevent_qws.cpp \
|
|
55 |
embedded/qwsmanager_qws.cpp \
|
|
56 |
embedded/qwsproperty_qws.cpp \
|
|
57 |
embedded/qtransportauth_qws.cpp \
|
|
58 |
embedded/qwslock.cpp \
|
|
59 |
embedded/qwssharedmemory.cpp \
|
|
60 |
embedded/qwssocket_qws.cpp \
|
|
61 |
embedded/qwssignalhandler.cpp \
|
|
62 |
embedded/qwsembedwidget.cpp
|
|
63 |
|
|
64 |
contains(QT_CONFIG,sxe)|contains(QT_CONFIG,qtopia) {
|
|
65 |
SOURCES += embedded/qunixsocket.cpp embedded/qunixsocketserver.cpp
|
|
66 |
HEADERS += embedded/qunixsocket_p.h embedded/qunixsocketserver_p.h
|
|
67 |
}
|
|
68 |
|
|
69 |
#
|
|
70 |
# Decorations
|
|
71 |
#
|
|
72 |
contains( decorations, default ) {
|
|
73 |
HEADERS += embedded/qdecorationdefault_qws.h
|
|
74 |
SOURCES += embedded/qdecorationdefault_qws.cpp
|
|
75 |
}
|
|
76 |
contains( decorations, styled ) {
|
|
77 |
HEADERS += embedded/qdecorationstyled_qws.h
|
|
78 |
SOURCES += embedded/qdecorationstyled_qws.cpp
|
|
79 |
}
|
|
80 |
|
|
81 |
contains( decorations, windows ) {
|
|
82 |
HEADERS += embedded/qdecorationwindows_qws.h
|
|
83 |
SOURCES += embedded/qdecorationwindows_qws.cpp
|
|
84 |
}
|
|
85 |
|
|
86 |
#
|
|
87 |
# Qt for Embedded Linux Drivers
|
|
88 |
#
|
|
89 |
HEADERS += embedded/qscreendriverplugin_qws.h \
|
|
90 |
embedded/qscreendriverfactory_qws.h \
|
|
91 |
embedded/qkbd_qws.h \
|
|
92 |
embedded/qkbd_qws_p.h \
|
|
93 |
embedded/qkbd_defaultmap_qws_p.h \
|
|
94 |
embedded/qkbddriverplugin_qws.h \
|
|
95 |
embedded/qkbddriverfactory_qws.h \
|
|
96 |
embedded/qmouse_qws.h \
|
|
97 |
embedded/qmousedriverplugin_qws.h \
|
|
98 |
embedded/qmousedriverfactory_qws.h
|
|
99 |
|
|
100 |
SOURCES += embedded/qscreendriverplugin_qws.cpp \
|
|
101 |
embedded/qscreendriverfactory_qws.cpp \
|
|
102 |
embedded/qkbd_qws.cpp \
|
|
103 |
embedded/qkbddriverplugin_qws.cpp \
|
|
104 |
embedded/qkbddriverfactory_qws.cpp \
|
|
105 |
embedded/qmouse_qws.cpp \
|
|
106 |
embedded/qmousedriverplugin_qws.cpp \
|
|
107 |
embedded/qmousedriverfactory_qws.cpp
|
|
108 |
|
|
109 |
#
|
|
110 |
# Graphics drivers
|
|
111 |
#
|
|
112 |
contains( gfx-drivers, linuxfb ) {
|
|
113 |
HEADERS += embedded/qscreenlinuxfb_qws.h
|
|
114 |
SOURCES += embedded/qscreenlinuxfb_qws.cpp
|
|
115 |
}
|
|
116 |
|
|
117 |
contains( gfx-drivers, qnx ) {
|
|
118 |
HEADERS += embedded/qscreenqnx_qws.h
|
|
119 |
SOURCES += embedded/qscreenqnx_qws.cpp
|
|
120 |
LIBS += -lgf
|
|
121 |
}
|
|
122 |
|
|
123 |
contains( gfx-drivers, qvfb ) {
|
|
124 |
HEADERS += embedded/qscreenvfb_qws.h
|
|
125 |
SOURCES += embedded/qscreenvfb_qws.cpp
|
|
126 |
}
|
|
127 |
|
|
128 |
|
|
129 |
contains( gfx-drivers, vnc ) {
|
|
130 |
VNCDIR = $$QT_SOURCE_TREE/src/plugins/gfxdrivers/vnc
|
|
131 |
INCLUDEPATH += $$VNCDIR
|
|
132 |
HEADERS += $$VNCDIR/qscreenvnc_qws.h \
|
|
133 |
$$VNCDIR/qscreenvnc_p.h
|
|
134 |
SOURCES += $$VNCDIR/qscreenvnc_qws.cpp
|
|
135 |
}
|
|
136 |
|
|
137 |
contains( gfx-drivers, transformed ) {
|
|
138 |
HEADERS += embedded/qscreentransformed_qws.h
|
|
139 |
SOURCES += embedded/qscreentransformed_qws.cpp
|
|
140 |
}
|
|
141 |
|
|
142 |
contains( gfx-drivers, directfb ) {
|
|
143 |
INCLUDEPATH += $$QT_SOURCE_TREE/src/plugins/gfxdrivers/directfb
|
|
144 |
include($$PWD/directfb.pri)
|
|
145 |
}
|
|
146 |
#
|
|
147 |
# Keyboard drivers
|
|
148 |
#
|
|
149 |
contains( kbd-drivers, qvfb ) {
|
|
150 |
HEADERS +=embedded/qkbdvfb_qws.h
|
|
151 |
SOURCES +=embedded/qkbdvfb_qws.cpp
|
|
152 |
!contains( kbd-drivers, qvfb ) {
|
|
153 |
kbd-drivers += qvfb
|
|
154 |
}
|
|
155 |
}
|
|
156 |
|
|
157 |
contains( kbd-drivers, tty ) {
|
|
158 |
HEADERS +=embedded/qkbdtty_qws.h
|
|
159 |
SOURCES +=embedded/qkbdtty_qws.cpp
|
|
160 |
}
|
|
161 |
|
|
162 |
contains( kbd-drivers, linuxinput ) {
|
|
163 |
HEADERS +=embedded/qkbdlinuxinput_qws.h
|
|
164 |
SOURCES +=embedded/qkbdlinuxinput_qws.cpp
|
|
165 |
}
|
|
166 |
|
|
167 |
contains( kbd-drivers, um ) {
|
|
168 |
HEADERS +=embedded/qkbdum_qws.h
|
|
169 |
SOURCES +=embedded/qkbdum_qws.cpp
|
|
170 |
}
|
|
171 |
|
|
172 |
contains( kbd-drivers, qnx ) {
|
|
173 |
HEADERS += embedded/qkbdqnx_qws.h
|
|
174 |
SOURCES += embedded/qkbdqnx_qws.cpp
|
|
175 |
}
|
|
176 |
|
|
177 |
#
|
|
178 |
# Mouse drivers
|
|
179 |
#
|
|
180 |
contains( mouse-drivers, qvfb ) {
|
|
181 |
HEADERS +=embedded/qmousevfb_qws.h
|
|
182 |
SOURCES +=embedded/qmousevfb_qws.cpp
|
|
183 |
}
|
|
184 |
|
|
185 |
contains( mouse-drivers, pc ) {
|
|
186 |
HEADERS +=embedded/qmousepc_qws.h
|
|
187 |
SOURCES +=embedded/qmousepc_qws.cpp
|
|
188 |
}
|
|
189 |
|
|
190 |
contains( mouse-drivers, linuxtp ) {
|
|
191 |
HEADERS +=embedded/qmouselinuxtp_qws.h
|
|
192 |
SOURCES +=embedded/qmouselinuxtp_qws.cpp
|
|
193 |
}
|
|
194 |
|
|
195 |
contains( mouse-drivers, tslib ) {
|
|
196 |
LIBS_PRIVATE += -lts
|
|
197 |
HEADERS +=embedded/qmousetslib_qws.h
|
|
198 |
SOURCES +=embedded/qmousetslib_qws.cpp
|
|
199 |
}
|
|
200 |
|
|
201 |
contains( mouse-drivers, linuxinput ) {
|
|
202 |
HEADERS +=embedded/qmouselinuxinput_qws.h
|
|
203 |
SOURCES +=embedded/qmouselinuxinput_qws.cpp
|
|
204 |
}
|
|
205 |
|
|
206 |
contains( mouse-drivers, qnx ) {
|
|
207 |
HEADERS += embedded/qmouseqnx_qws.h
|
|
208 |
SOURCES += embedded/qmouseqnx_qws.cpp
|
|
209 |
}
|
|
210 |
}
|