21 |
andreas |
1 |
# Created by and for Qt Creator This file was created for editing the project sources only.
|
|
|
2 |
# You may attempt to use it for building too, by modifying this file here.
|
|
|
3 |
|
216 |
andreas |
4 |
# Define the following to either 5 or 6. It defines for which Qt major
|
|
|
5 |
# version the code should be compiled and linked.
|
|
|
6 |
# As of writing this lines, it was not possible to build a running
|
|
|
7 |
# Android version with Qt6. Up to version Qt 6.4 it's possible to compile
|
|
|
8 |
# an Android version for a particular processor type, but the resulting
|
|
|
9 |
# binary doesn't run. But it is up to you to try with any newer version.
|
|
|
10 |
#
|
|
|
11 |
|
|
|
12 |
# ------------------------------------------------------------------------
|
|
|
13 |
# DO NOT EDIT ANYTHING BELOW THIS LINE UNTIL YOU KNOW WHAT
|
|
|
14 |
# YOU ARE DOING!!
|
|
|
15 |
# ------------------------------------------------------------------------
|
|
|
16 |
|
43 |
andreas |
17 |
TARGET = tpanel
|
21 |
andreas |
18 |
|
242 |
andreas |
19 |
ios: {
|
252 |
andreas |
20 |
QT = core gui widgets multimedia multimediawidgets sensors positioning
|
263 |
andreas |
21 |
}
|
251 |
andreas |
22 |
android: {
|
226 |
andreas |
23 |
versionAtMost(QT_VERSION, 5.15.2) {
|
255 |
andreas |
24 |
QT = core gui widgets multimedia multimediawidgets sensors androidextras
|
217 |
andreas |
25 |
} else {
|
316 |
andreas |
26 |
QT = core gui widgets multimedia multimediawidgets sensors positioning
|
226 |
andreas |
27 |
}}
|
216 |
andreas |
28 |
|
119 |
andreas |
29 |
# The main application
|
21 |
andreas |
30 |
HEADERS = \
|
|
|
31 |
$$PWD/base64.h \
|
|
|
32 |
$$PWD/config.h \
|
|
|
33 |
$$PWD/tamxcommands.h \
|
193 |
andreas |
34 |
$$PWD/tmap.h \
|
21 |
andreas |
35 |
$$PWD/tamxnet.h \
|
87 |
andreas |
36 |
$$PWD/tsocket.h \
|
21 |
andreas |
37 |
$$PWD/tbutton.h \
|
|
|
38 |
$$PWD/tcolor.h \
|
|
|
39 |
$$PWD/tconfig.h \
|
|
|
40 |
$$PWD/tdirectory.h \
|
|
|
41 |
$$PWD/terror.h \
|
|
|
42 |
$$PWD/texpand.h \
|
|
|
43 |
$$PWD/tfont.h \
|
|
|
44 |
$$PWD/thttpclient.h \
|
|
|
45 |
$$PWD/ticons.h \
|
|
|
46 |
$$PWD/timagerefresh.h \
|
|
|
47 |
$$PWD/tnameformat.h \
|
|
|
48 |
$$PWD/tobject.h \
|
|
|
49 |
$$PWD/tpage.h \
|
|
|
50 |
$$PWD/tpagelist.h \
|
|
|
51 |
$$PWD/tpagemanager.h \
|
201 |
andreas |
52 |
$$PWD/tpageinterface.h \
|
269 |
andreas |
53 |
$$PWD/tsystembutton.h \
|
21 |
andreas |
54 |
$$PWD/tpalette.h \
|
|
|
55 |
$$PWD/tprjresources.h \
|
|
|
56 |
$$PWD/tqtmain.h \
|
328 |
andreas |
57 |
$$PWD/testmode.h \
|
21 |
andreas |
58 |
$$PWD/tqtsettings.h \
|
|
|
59 |
$$PWD/tresources.h \
|
|
|
60 |
$$PWD/tsettings.h \
|
|
|
61 |
$$PWD/tsubpage.h \
|
65 |
andreas |
62 |
$$PWD/tdrawimage.h \
|
21 |
andreas |
63 |
$$PWD/ttimer.h \
|
|
|
64 |
$$PWD/tvalidatefile.h \
|
32 |
andreas |
65 |
$$PWD/ttpinit.h \
|
119 |
andreas |
66 |
$$PWD/tfsfreader.h \
|
|
|
67 |
$$PWD/expand.h \
|
|
|
68 |
$$PWD/readtp4.h \
|
61 |
andreas |
69 |
$$PWD/texternal.h \
|
62 |
andreas |
70 |
$$PWD/tqemitqueue.h \
|
|
|
71 |
$$PWD/tqkeyboard.h \
|
71 |
andreas |
72 |
$$PWD/tqkeypad.h \
|
139 |
andreas |
73 |
$$PWD/tqtphone.h \
|
179 |
andreas |
74 |
$$PWD/tqdownload.h \
|
89 |
andreas |
75 |
$$PWD/texcept.h \
|
125 |
andreas |
76 |
$$PWD/tsipclient.h \
|
97 |
andreas |
77 |
$$PWD/timgcache.h \
|
74 |
andreas |
78 |
$$PWD/tsystemsound.h \
|
75 |
andreas |
79 |
$$PWD/tsystemdraw.h \
|
211 |
andreas |
80 |
$$PWD/tqeditline.h \
|
195 |
andreas |
81 |
$$PWD/tsystem.h \
|
119 |
andreas |
82 |
$$PWD/texpat++.h \
|
169 |
andreas |
83 |
$$PWD/tvector.h \
|
226 |
andreas |
84 |
$$PWD/turl.h \
|
250 |
andreas |
85 |
$$PWD/tqnetworkinfo.h \
|
260 |
andreas |
86 |
$$PWD/tqtwait.h \
|
285 |
andreas |
87 |
$$PWD/tqscrollarea.h \
|
283 |
andreas |
88 |
$$PWD/tbitmap.h \
|
306 |
andreas |
89 |
$$PWD/tintborder.h \
|
291 |
andreas |
90 |
$$PWD/tlock.h \
|
310 |
andreas |
91 |
$$PWD/ftplib/ftplib.h \
|
|
|
92 |
$$PWD/tqsingleline.h \
|
323 |
andreas |
93 |
$$PWD/tqgesturefilter.h \
|
|
|
94 |
$$PWD/tqmultiline.h
|
21 |
andreas |
95 |
|
|
|
96 |
SOURCES = \
|
|
|
97 |
$$PWD/base64.cpp \
|
|
|
98 |
$$PWD/tamxcommands.cpp \
|
193 |
andreas |
99 |
$$PWD/tmap.cpp \
|
21 |
andreas |
100 |
$$PWD/tamxnet.cpp \
|
87 |
andreas |
101 |
$$PWD/tsocket.cpp \
|
21 |
andreas |
102 |
$$PWD/tbutton.cpp \
|
|
|
103 |
$$PWD/tcolor.cpp \
|
|
|
104 |
$$PWD/tconfig.cpp \
|
|
|
105 |
$$PWD/tdirectory.cpp \
|
|
|
106 |
$$PWD/terror.cpp \
|
|
|
107 |
$$PWD/texpand.cpp \
|
|
|
108 |
$$PWD/tfont.cpp \
|
|
|
109 |
$$PWD/thttpclient.cpp \
|
|
|
110 |
$$PWD/ticons.cpp \
|
|
|
111 |
$$PWD/timagerefresh.cpp \
|
|
|
112 |
$$PWD/tmain.cpp \
|
328 |
andreas |
113 |
$$PWD/testmode.cpp \
|
21 |
andreas |
114 |
$$PWD/tnameformat.cpp \
|
|
|
115 |
$$PWD/tobject.cpp \
|
|
|
116 |
$$PWD/tpage.cpp \
|
|
|
117 |
$$PWD/tpagelist.cpp \
|
|
|
118 |
$$PWD/tpagemanager.cpp \
|
201 |
andreas |
119 |
$$PWD/tpageinterface.cpp \
|
269 |
andreas |
120 |
$$PWD/tsystembutton.cpp \
|
21 |
andreas |
121 |
$$PWD/tpalette.cpp \
|
|
|
122 |
$$PWD/tprjresources.cpp \
|
|
|
123 |
$$PWD/tqtmain.cpp \
|
|
|
124 |
$$PWD/tqtsettings.cpp \
|
|
|
125 |
$$PWD/tresources.cpp \
|
|
|
126 |
$$PWD/tsettings.cpp \
|
|
|
127 |
$$PWD/tsubpage.cpp \
|
65 |
andreas |
128 |
$$PWD/tdrawimage.cpp \
|
21 |
andreas |
129 |
$$PWD/ttimer.cpp \
|
22 |
andreas |
130 |
$$PWD/tvalidatefile.cpp \
|
32 |
andreas |
131 |
$$PWD/ttpinit.cpp \
|
119 |
andreas |
132 |
$$PWD/tfsfreader.cpp \
|
|
|
133 |
$$PWD/expand.cpp \
|
|
|
134 |
$$PWD/readtp4.cpp \
|
61 |
andreas |
135 |
$$PWD/texternal.cpp \
|
62 |
andreas |
136 |
$$PWD/tqemitqueue.cpp \
|
|
|
137 |
$$PWD/tqkeyboard.cpp \
|
71 |
andreas |
138 |
$$PWD/tqkeypad.cpp \
|
139 |
andreas |
139 |
$$PWD/tqtphone.cpp \
|
179 |
andreas |
140 |
$$PWD/tqdownload.cpp \
|
125 |
andreas |
141 |
$$PWD/tsipclient.cpp \
|
89 |
andreas |
142 |
$$PWD/texcept.cpp \
|
97 |
andreas |
143 |
$$PWD/timgcache.cpp \
|
74 |
andreas |
144 |
$$PWD/tsystemsound.cpp \
|
75 |
andreas |
145 |
$$PWD/tsystemdraw.cpp \
|
211 |
andreas |
146 |
$$PWD/tqeditline.cpp \
|
195 |
andreas |
147 |
$$PWD/tsystem.cpp \
|
119 |
andreas |
148 |
$$PWD/texpat++.cpp \
|
226 |
andreas |
149 |
$$PWD/turl.cpp \
|
250 |
andreas |
150 |
$$PWD/tqnetworkinfo.cpp \
|
260 |
andreas |
151 |
$$PWD/tqtwait.cpp \
|
285 |
andreas |
152 |
$$PWD/tqscrollarea.cpp \
|
283 |
andreas |
153 |
$$PWD/tbitmap.cpp \
|
306 |
andreas |
154 |
$$PWD/tintborder.cpp \
|
310 |
andreas |
155 |
$$PWD/ftplib/ftplib.cpp \
|
|
|
156 |
$$PWD/tqsingleline.cpp \
|
323 |
andreas |
157 |
$$PWD/tqgesturefilter.cpp \
|
|
|
158 |
$$PWD/tqmultiline.cpp
|
21 |
andreas |
159 |
|
242 |
andreas |
160 |
android: {
|
23 |
andreas |
161 |
OTHER_FILES += \
|
43 |
andreas |
162 |
$$PWD/android/src/org/qtproject/theosys/BatteryState.java \
|
|
|
163 |
$$PWD/android/src/org/qtproject/theosys/NetworkStatus.java \
|
82 |
andreas |
164 |
$$PWD/android/src/org/qtproject/theosys/PhoneCallState.java \
|
61 |
andreas |
165 |
$$PWD/android/src/org/qtproject/theosys/UriToPath.java \
|
135 |
andreas |
166 |
$$PWD/android/src/org/qtproject/theosys/Logger.java \
|
255 |
andreas |
167 |
$$PWD/android/src/org/qtproject/theosys/Orientation.java \
|
257 |
andreas |
168 |
$$PWD/android/src/org/qtproject/theosys/Settings.java \
|
256 |
andreas |
169 |
$$PWD/android/src/org/qtproject/theosys/SettingsActivity.java \
|
|
|
170 |
$$PWD/android/src/org/qtpeoject/theosys/HideToolbar.java
|
23 |
andreas |
171 |
|
21 |
andreas |
172 |
INCLUDEPATH = \
|
|
|
173 |
$$PWD/. \
|
119 |
andreas |
174 |
$$PWD/ftplib \
|
43 |
andreas |
175 |
$$EXT_LIB_PATH/skia \
|
136 |
andreas |
176 |
$$EXT_LIB_PATH/pjsip/include \
|
74 |
andreas |
177 |
$$EXTRA_PATH/expat/include
|
226 |
andreas |
178 |
}
|
242 |
andreas |
179 |
ios: {
|
235 |
andreas |
180 |
INCLUDEPATH += $$PWD/. \
|
|
|
181 |
$$PWD/ftplib \
|
|
|
182 |
/usr/local/include/skia \
|
|
|
183 |
$$EXT_LIB_PATH/pjsip/include \
|
|
|
184 |
$$EXT_LIB_PATH/openssl/include
|
21 |
andreas |
185 |
|
247 |
andreas |
186 |
QMAKE_IOS_DEPLOYMENT_TARGET=16.1
|
235 |
andreas |
187 |
}
|
|
|
188 |
|
251 |
andreas |
189 |
CONFIG += c++17
|
263 |
andreas |
190 |
QMAKE_CXXFLAGS += -std=c++17 -DPJ_AUTOCONF
|
125 |
andreas |
191 |
QMAKE_LFLAGS += -std=c++17
|
|
|
192 |
|
21 |
andreas |
193 |
equals(ANDROID_TARGET_ARCH,arm64-v8a) {
|
329 |
andreas |
194 |
# INCLUDEPATH += $$EXT_LIB_PATH/openssl/arm64-v8a/include
|
22 |
andreas |
195 |
|
43 |
andreas |
196 |
LIBS += $$EXT_LIB_PATH/skia/arm64/libskia.a \
|
136 |
andreas |
197 |
-L$$SDK_PATH/android_openssl/no-asm/latest/arm64 \
|
|
|
198 |
$$EXT_LIB_PATH/pjsip/lib/libpj-aarch64-unknown-linux-android.a \
|
|
|
199 |
$$EXT_LIB_PATH/pjsip/lib/libpjlib-util-aarch64-unknown-linux-android.a \
|
|
|
200 |
$$EXT_LIB_PATH/pjsip/lib/libpjmedia-aarch64-unknown-linux-android.a \
|
|
|
201 |
$$EXT_LIB_PATH/pjsip/lib/libpjmedia-audiodev-aarch64-unknown-linux-android.a \
|
|
|
202 |
$$EXT_LIB_PATH/pjsip/lib/libpjmedia-codec-aarch64-unknown-linux-android.a \
|
|
|
203 |
$$EXT_LIB_PATH/pjsip/lib/libpjnath-aarch64-unknown-linux-android.a \
|
|
|
204 |
$$EXT_LIB_PATH/pjsip/lib/libpjsip-aarch64-unknown-linux-android.a \
|
|
|
205 |
$$EXT_LIB_PATH/pjsip/lib/libpjsip-simple-aarch64-unknown-linux-android.a \
|
|
|
206 |
$$EXT_LIB_PATH/pjsip/lib/libpjsip-ua-aarch64-unknown-linux-android.a \
|
|
|
207 |
$$EXT_LIB_PATH/pjsip/lib/libpjsua-aarch64-unknown-linux-android.a \
|
|
|
208 |
$$EXT_LIB_PATH/pjsip/lib/libresample-aarch64-unknown-linux-android.a \
|
|
|
209 |
$$EXT_LIB_PATH/pjsip/lib/libspeex-aarch64-unknown-linux-android.a \
|
|
|
210 |
$$EXT_LIB_PATH/pjsip/lib/libsrtp-aarch64-unknown-linux-android.a \
|
|
|
211 |
$$EXT_LIB_PATH/pjsip/lib/libgsmcodec-aarch64-unknown-linux-android.a \
|
|
|
212 |
$$EXT_LIB_PATH/pjsip/lib/libwebrtc-aarch64-unknown-linux-android.a \
|
|
|
213 |
$$EXT_LIB_PATH/pjsip/lib/libilbccodec-aarch64-unknown-linux-android.a
|
21 |
andreas |
214 |
}
|
|
|
215 |
|
|
|
216 |
equals(ANDROID_TARGET_ARCH,armeabi-v7a) {
|
329 |
andreas |
217 |
# INCLUDEPATH += $$EXT_LIB_PATH/openssl/armeabi-v7a/include
|
22 |
andreas |
218 |
|
43 |
andreas |
219 |
LIBS += $$EXT_LIB_PATH/skia/arm/libskia.a \
|
136 |
andreas |
220 |
-L$$SDK_PATH/android_openssl/no-asm/latest/arm \
|
|
|
221 |
$$EXT_LIB_PATH/pjsip/lib/libpj-armv7-unknown-linux-android.a \
|
|
|
222 |
$$EXT_LIB_PATH/pjsip/lib/libpjlib-util-armv7-unknown-linux-android.a \
|
|
|
223 |
$$EXT_LIB_PATH/pjsip/lib/libpjmedia-armv7-unknown-linux-android.a \
|
|
|
224 |
$$EXT_LIB_PATH/pjsip/lib/libpjmedia-audiodev-armv7-unknown-linux-android.a \
|
|
|
225 |
$$EXT_LIB_PATH/pjsip/lib/libpjmedia-codec-armv7-unknown-linux-android.a \
|
|
|
226 |
$$EXT_LIB_PATH/pjsip/lib/libpjnath-armv7-unknown-linux-android.a \
|
|
|
227 |
$$EXT_LIB_PATH/pjsip/lib/libpjsip-armv7-unknown-linux-android.a \
|
|
|
228 |
$$EXT_LIB_PATH/pjsip/lib/libpjsip-simple-armv7-unknown-linux-android.a \
|
|
|
229 |
$$EXT_LIB_PATH/pjsip/lib/libpjsip-ua-armv7-unknown-linux-android.a \
|
|
|
230 |
$$EXT_LIB_PATH/pjsip/lib/libpjsua-armv7-unknown-linux-android.a \
|
|
|
231 |
$$EXT_LIB_PATH/pjsip/lib/libresample-armv7-unknown-linux-android.a \
|
|
|
232 |
$$EXT_LIB_PATH/pjsip/lib/libspeex-armv7-unknown-linux-android.a \
|
|
|
233 |
$$EXT_LIB_PATH/pjsip/lib/libsrtp-armv7-unknown-linux-android.a \
|
|
|
234 |
$$EXT_LIB_PATH/pjsip/lib/libgsmcodec-armv7-unknown-linux-android.a \
|
|
|
235 |
$$EXT_LIB_PATH/pjsip/lib/libwebrtc-armv7-unknown-linux-android.a \
|
|
|
236 |
$$EXT_LIB_PATH/pjsip/lib/libilbccodec-armv7-unknown-linux-android.a
|
21 |
andreas |
237 |
}
|
|
|
238 |
|
|
|
239 |
equals(ANDROID_TARGET_ARCH,x86) {
|
329 |
andreas |
240 |
# INCLUDEPATH += $$EXT_LIB_PATH/openssl/x86/include
|
22 |
andreas |
241 |
|
43 |
andreas |
242 |
LIBS += $$EXT_LIB_PATH/skia/x86/libskia.a \
|
136 |
andreas |
243 |
-L$$SDK_PATH/android_openssl/no-asm/latest/x86 \
|
|
|
244 |
$$EXT_LIB_PATH/pjsip/lib/libpj-i686-pc-linux-android.a \
|
|
|
245 |
$$EXT_LIB_PATH/pjsip/lib/libpjlib-util-i686-pc-linux-android.a \
|
|
|
246 |
$$EXT_LIB_PATH/pjsip/lib/libpjmedia-i686-pc-linux-android.a \
|
|
|
247 |
$$EXT_LIB_PATH/pjsip/lib/libpjmedia-audiodev-i686-pc-linux-android.a \
|
|
|
248 |
$$EXT_LIB_PATH/pjsip/lib/libpjmedia-codec-i686-pc-linux-android.a \
|
|
|
249 |
$$EXT_LIB_PATH/pjsip/lib/libpjnath-i686-pc-linux-android.a \
|
|
|
250 |
$$EXT_LIB_PATH/pjsip/lib/libpjsip-i686-pc-linux-android.a \
|
|
|
251 |
$$EXT_LIB_PATH/pjsip/lib/libpjsip-simple-i686-pc-linux-android.a \
|
|
|
252 |
$$EXT_LIB_PATH/pjsip/lib/libpjsip-ua-i686-pc-linux-android.a \
|
|
|
253 |
$$EXT_LIB_PATH/pjsip/lib/libpjsua-i686-pc-linux-android.a \
|
|
|
254 |
$$EXT_LIB_PATH/pjsip/lib/libresample-i686-pc-linux-android.a \
|
|
|
255 |
$$EXT_LIB_PATH/pjsip/lib/libspeex-i686-pc-linux-android.a \
|
|
|
256 |
$$EXT_LIB_PATH/pjsip/lib/libsrtp-i686-pc-linux-android.a \
|
|
|
257 |
$$EXT_LIB_PATH/pjsip/lib/libgsmcodec-i686-pc-linux-android.a \
|
|
|
258 |
$$EXT_LIB_PATH/pjsip/lib/libwebrtc-i686-pc-linux-android.a \
|
|
|
259 |
$$EXT_LIB_PATH/pjsip/lib/libilbccodec-i686-pc-linux-android.a
|
21 |
andreas |
260 |
}
|
|
|
261 |
|
|
|
262 |
equals(ANDROID_TARGET_ARCH,x86_64) {
|
329 |
andreas |
263 |
# INCLUDEPATH += $$EXT_LIB_PATH/openssl/x86_64/include
|
22 |
andreas |
264 |
|
43 |
andreas |
265 |
LIBS += $$EXT_LIB_PATH/skia/x86_64/libskia.a \
|
136 |
andreas |
266 |
-L$$SDK_PATH/android_openssl/no-asm/latest/x86_64 \
|
|
|
267 |
$$EXT_LIB_PATH/pjsip/lib/libpj-x86_64-pc-linux-android.a \
|
|
|
268 |
$$EXT_LIB_PATH/pjsip/lib/libpjlib-util-x86_64-pc-linux-android.a \
|
|
|
269 |
$$EXT_LIB_PATH/pjsip/lib/libpjmedia-x86_64-pc-linux-android.a \
|
|
|
270 |
$$EXT_LIB_PATH/pjsip/lib/libpjmedia-audiodev-x86_64-pc-linux-android.a \
|
|
|
271 |
$$EXT_LIB_PATH/pjsip/lib/libpjmedia-codec-x86_64-pc-linux-android.a \
|
|
|
272 |
$$EXT_LIB_PATH/pjsip/lib/libpjnath-x86_64-pc-linux-android.a \
|
|
|
273 |
$$EXT_LIB_PATH/pjsip/lib/libpjsip-x86_64-pc-linux-android.a \
|
|
|
274 |
$$EXT_LIB_PATH/pjsip/lib/libpjsip-simple-x86_64-pc-linux-android.a \
|
|
|
275 |
$$EXT_LIB_PATH/pjsip/lib/libpjsip-ua-x86_64-pc-linux-android.a \
|
|
|
276 |
$$EXT_LIB_PATH/pjsip/lib/libpjsua-x86_64-pc-linux-android.a \
|
|
|
277 |
$$EXT_LIB_PATH/pjsip/lib/libresample-x86_64-pc-linux-android.a \
|
|
|
278 |
$$EXT_LIB_PATH/pjsip/lib/libspeex-x86_64-pc-linux-android.a \
|
|
|
279 |
$$EXT_LIB_PATH/pjsip/lib/libsrtp-x86_64-pc-linux-android.a \
|
|
|
280 |
$$EXT_LIB_PATH/pjsip/lib/libgsmcodec-x86_64-pc-linux-android.a \
|
|
|
281 |
$$EXT_LIB_PATH/pjsip/lib/libwebrtc-x86_64-pc-linux-android.a \
|
|
|
282 |
$$EXT_LIB_PATH/pjsip/lib/libilbccodec-x86_64-pc-linux-android.a
|
21 |
andreas |
283 |
}
|
|
|
284 |
|
242 |
andreas |
285 |
ios: {
|
245 |
andreas |
286 |
equals(OS,iossim) {
|
235 |
andreas |
287 |
LIBS += -L$$EXT_LIB_PATH/pjsip/lib \
|
|
|
288 |
-L$$EXT_LIB_PATH/skia/iossim \
|
|
|
289 |
-L$$EXT_LIB_PATH/openssl/iossim
|
245 |
andreas |
290 |
} else {
|
|
|
291 |
LIBS += -L$$EXT_LIB_PATH/pjsip/lib \
|
|
|
292 |
-L$$EXT_LIB_PATH/skia/ios64 \
|
|
|
293 |
-L$$EXT_LIB_PATH/openssl/ios
|
|
|
294 |
}
|
235 |
andreas |
295 |
LIBS += -lskia -lpj -lpjlib-util \
|
|
|
296 |
-lpjmedia -lpjmedia-audiodev \
|
|
|
297 |
-lpjmedia-codec -lpjnath \
|
|
|
298 |
-lpjsip -lpjsip-simple \
|
|
|
299 |
-lpjsip-ua -lpjsua -lpjsua2 \
|
|
|
300 |
-lresample -lspeex \
|
|
|
301 |
-lsrtp -lgsmcodec \
|
|
|
302 |
-lwebrtc -lilbccodec \
|
|
|
303 |
-framework CFNetwork
|
238 |
andreas |
304 |
|
255 |
andreas |
305 |
INCLUDEPATH += $$(QTDIR)/include/QtGui/$$QT_VERSION/QtGui
|
252 |
andreas |
306 |
|
250 |
andreas |
307 |
OBJECTIVE_HEADERS = $$PWD/ios/QASettings.h \
|
|
|
308 |
$$PWD/ios/tiosrotate.h \
|
|
|
309 |
$$PWD/ios/tiosbattery.h
|
243 |
andreas |
310 |
|
250 |
andreas |
311 |
OBJECTIVE_SOURCES = $$PWD/ios/QASettings.mm \
|
|
|
312 |
$$PWD/ios/tiosrotate.mm \
|
|
|
313 |
$$PWD/ios/tiosbattery.mm
|
|
|
314 |
|
239 |
andreas |
315 |
QMAKE_INFO_PLIST = $$PWD/ios/Info.plist
|
|
|
316 |
|
251 |
andreas |
317 |
app_launch_images.files = $$files($$PWD/images/theosys_logo.png)
|
239 |
andreas |
318 |
app_launch_files.files = $$files($$PWD/ios/Settings.bundle)
|
242 |
andreas |
319 |
ios_icon.files = $$files($$PWD/images/icon*.png)
|
251 |
andreas |
320 |
QMAKE_BUNDLE_DATA += app_launch_files ios_icon app_launch_images
|
235 |
andreas |
321 |
}
|
|
|
322 |
|
264 |
andreas |
323 |
|
217 |
andreas |
324 |
# Additional definitions possible:
|
|
|
325 |
# * _SCALE_SKIA_ If this is defined the scaling is done by the Skia
|
|
|
326 |
# library. While the result is the same, it is known to be
|
|
|
327 |
# slower. Beside this, this feature is not well tested.
|
|
|
328 |
#
|
264 |
andreas |
329 |
# * _OPAQUE_SKIA_ If set (default) the calculation for the opaque value is
|
|
|
330 |
# done by Skia. This works well but leaves a gray tinge.
|
|
|
331 |
# The Qt calculation is currently not working!
|
316 |
andreas |
332 |
# THIS IS DEPRECATED AND WILL BE REMOVED!
|
264 |
andreas |
333 |
#
|
217 |
andreas |
334 |
# * QTSETTINGS If this is set a Qt dialog is used for the settings. This
|
|
|
335 |
# dialog is scaled depending on the size of the screen. It
|
|
|
336 |
# is possible that the text is not readable or the fonts are
|
|
|
337 |
# not well sized. Beside this on Android the ComboBoxes may
|
|
|
338 |
# have wrong colors like black text on black background!
|
264 |
andreas |
339 |
# NOTE: On Android as well as on IOS (iPhone and iPad) exists
|
|
|
340 |
# a platform specific setup. For all other platforms the
|
|
|
341 |
# Qt dialog settings are used and it is not necessary to set
|
|
|
342 |
# this variable!
|
316 |
andreas |
343 |
# THIS IS DEPRECATED AND WILL BE REMOVED!
|
217 |
andreas |
344 |
#
|
264 |
andreas |
345 |
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x050F00 _OPAQUE_SKIA_
|
181 |
andreas |
346 |
|
22 |
andreas |
347 |
RESOURCES += \
|
|
|
348 |
tpanel.qrc
|
|
|
349 |
|
|
|
350 |
FORMS += \
|
62 |
andreas |
351 |
keyboard.ui \
|
|
|
352 |
keypad.ui \
|
119 |
andreas |
353 |
tqtsettings.ui \
|
141 |
andreas |
354 |
tqtphone.ui \
|
260 |
andreas |
355 |
download.ui \
|
|
|
356 |
wait.ui
|
22 |
andreas |
357 |
|
242 |
andreas |
358 |
android: {
|
255 |
andreas |
359 |
INCLUDEPATH += $$(QTDIR)/include/QtGui/$$QT_VERSION/QtGui
|
329 |
andreas |
360 |
LIBS += -lEGL -landroid -lmediandk
|
23 |
andreas |
361 |
|
226 |
andreas |
362 |
DISTFILES += \
|
|
|
363 |
android/AndroidManifest.xml \
|
|
|
364 |
android/build.gradle \
|
|
|
365 |
android/gradle.properties \
|
|
|
366 |
android/gradle/wrapper/gradle-wrapper.jar \
|
|
|
367 |
android/gradle/wrapper/gradle-wrapper.properties \
|
|
|
368 |
android/gradlew \
|
316 |
andreas |
369 |
android/res/layout/settings_activity.xml \
|
|
|
370 |
android/res/xml/root_preferences.xml \
|
256 |
andreas |
371 |
android/res/values/libs.xml \
|
|
|
372 |
android/res/values/arrays.xml \
|
|
|
373 |
android/res/values/strings.xml \
|
|
|
374 |
android/res/values/styles.xml \
|
316 |
andreas |
375 |
android/res/values/themes.xml
|
23 |
andreas |
376 |
|
226 |
andreas |
377 |
ANDROID_PACKAGE_SOURCE_DIR = $$PWD/android
|
251 |
andreas |
378 |
CONFIG += sdk_no_version_check
|
|
|
379 |
# Add openSSL library for Android
|
329 |
andreas |
380 |
if (versionAtLeast(QT_VERSION, 6.5.0)) {
|
|
|
381 |
ANDROID_EXTRA_LIBS += \
|
|
|
382 |
$$SSL_PATH/ssl_3/$$ANDROID_TARGET_ARCH/libcrypto_3.so \
|
|
|
383 |
$$SSL_PATH/ssl_3/$$ANDROID_TARGET_ARCH/libssl_3.so
|
|
|
384 |
INCLUDEPATH += $$SSL_PATH/ssl_3/include
|
|
|
385 |
LIBS += -L$$SSL_PATH/ssl_3/$$ANDROID_TARGET_ARCH -lcrypto -lssl
|
|
|
386 |
} else {
|
|
|
387 |
ANDROID_EXTRA_LIBS += \
|
|
|
388 |
$$SSL_PATH/ssl_1.1/$$ANDROID_TARGET_ARCH/libcrypto_1_1.so \
|
|
|
389 |
$$SSL_PATH/ssl_1.1/$$ANDROID_TARGET_ARCH/libssl_1_1.so
|
|
|
390 |
INCLUDEPATH += $$SSL_PATH/ssl_1.1/include
|
|
|
391 |
LIBS += -L$$SSL_PATH/ssl_1.1/$$ANDROID_TARGET_ARCH -lcrypto -lssl
|
|
|
392 |
}
|
226 |
andreas |
393 |
} else {
|
235 |
andreas |
394 |
LIBS += -lcrypto -lssl -liconv
|
226 |
andreas |
395 |
}
|
119 |
andreas |
396 |
|
|
|
397 |
# Add the ftp library
|
|
|
398 |
DEPENDPATH += $$PWD/ftplib
|