Subversion Repositories tpanel

Rev

Rev 354 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
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
 
43 andreas 4
TARGET = tpanel
21 andreas 5
 
252 andreas 6
QT = core gui widgets multimedia multimediawidgets sensors positioning
216 andreas 7
 
119 andreas 8
# The main application
21 andreas 9
HEADERS = \
10
   $$PWD/base64.h \
11
   $$PWD/config.h \
12
   $$PWD/tamxcommands.h \
193 andreas 13
   $$PWD/tmap.h \
21 andreas 14
   $$PWD/tamxnet.h \
87 andreas 15
   $$PWD/tsocket.h \
21 andreas 16
   $$PWD/tbutton.h \
17
   $$PWD/tcolor.h \
18
   $$PWD/tconfig.h \
19
   $$PWD/tdirectory.h \
20
   $$PWD/terror.h \
21
   $$PWD/texpand.h \
22
   $$PWD/tfont.h \
23
   $$PWD/thttpclient.h \
24
   $$PWD/ticons.h \
25
   $$PWD/timagerefresh.h \
26
   $$PWD/tnameformat.h \
27
   $$PWD/tobject.h \
28
   $$PWD/tpage.h \
29
   $$PWD/tpagelist.h \
30
   $$PWD/tpagemanager.h \
201 andreas 31
   $$PWD/tpageinterface.h \
269 andreas 32
   $$PWD/tsystembutton.h \
21 andreas 33
   $$PWD/tpalette.h \
34
   $$PWD/tprjresources.h \
35
   $$PWD/tqtmain.h \
328 andreas 36
   $$PWD/testmode.h \
21 andreas 37
   $$PWD/tqtsettings.h \
38
   $$PWD/tresources.h \
39
   $$PWD/tsettings.h \
40
   $$PWD/tsubpage.h \
65 andreas 41
   $$PWD/tdrawimage.h \
21 andreas 42
   $$PWD/ttimer.h \
43
   $$PWD/tvalidatefile.h \
32 andreas 44
   $$PWD/ttpinit.h \
119 andreas 45
   $$PWD/tfsfreader.h \
46
   $$PWD/expand.h \
47
   $$PWD/readtp4.h \
61 andreas 48
   $$PWD/texternal.h \
62 andreas 49
   $$PWD/tqemitqueue.h \
50
   $$PWD/tqkeyboard.h \
71 andreas 51
   $$PWD/tqkeypad.h \
139 andreas 52
   $$PWD/tqtphone.h \
179 andreas 53
   $$PWD/tqdownload.h \
89 andreas 54
   $$PWD/texcept.h \
125 andreas 55
   $$PWD/tsipclient.h \
97 andreas 56
   $$PWD/timgcache.h \
74 andreas 57
   $$PWD/tsystemsound.h \
75 andreas 58
   $$PWD/tsystemdraw.h \
211 andreas 59
   $$PWD/tqeditline.h \
195 andreas 60
   $$PWD/tsystem.h \
119 andreas 61
   $$PWD/texpat++.h \
169 andreas 62
   $$PWD/tvector.h \
226 andreas 63
   $$PWD/turl.h \
250 andreas 64
   $$PWD/tqnetworkinfo.h \
260 andreas 65
   $$PWD/tqtwait.h \
285 andreas 66
   $$PWD/tqscrollarea.h \
283 andreas 67
   $$PWD/tbitmap.h \
306 andreas 68
   $$PWD/tintborder.h \
291 andreas 69
   $$PWD/tlock.h \
310 andreas 70
   $$PWD/ftplib/ftplib.h \
71
   $$PWD/tqsingleline.h \
323 andreas 72
   $$PWD/tqgesturefilter.h \
73
   $$PWD/tqmultiline.h
21 andreas 74
 
75
SOURCES = \
76
   $$PWD/base64.cpp \
77
   $$PWD/tamxcommands.cpp \
193 andreas 78
   $$PWD/tmap.cpp \
21 andreas 79
   $$PWD/tamxnet.cpp \
87 andreas 80
   $$PWD/tsocket.cpp \
21 andreas 81
   $$PWD/tbutton.cpp \
82
   $$PWD/tcolor.cpp \
83
   $$PWD/tconfig.cpp \
84
   $$PWD/tdirectory.cpp \
85
   $$PWD/terror.cpp \
86
   $$PWD/texpand.cpp \
87
   $$PWD/tfont.cpp \
88
   $$PWD/thttpclient.cpp \
89
   $$PWD/ticons.cpp \
90
   $$PWD/timagerefresh.cpp \
91
   $$PWD/tmain.cpp \
328 andreas 92
   $$PWD/testmode.cpp \
21 andreas 93
   $$PWD/tnameformat.cpp \
94
   $$PWD/tobject.cpp \
95
   $$PWD/tpage.cpp \
96
   $$PWD/tpagelist.cpp \
97
   $$PWD/tpagemanager.cpp \
201 andreas 98
   $$PWD/tpageinterface.cpp \
269 andreas 99
   $$PWD/tsystembutton.cpp \
21 andreas 100
   $$PWD/tpalette.cpp \
101
   $$PWD/tprjresources.cpp \
102
   $$PWD/tqtmain.cpp \
103
   $$PWD/tqtsettings.cpp \
104
   $$PWD/tresources.cpp \
105
   $$PWD/tsettings.cpp \
106
   $$PWD/tsubpage.cpp \
65 andreas 107
   $$PWD/tdrawimage.cpp \
21 andreas 108
   $$PWD/ttimer.cpp \
22 andreas 109
   $$PWD/tvalidatefile.cpp \
32 andreas 110
   $$PWD/ttpinit.cpp \
119 andreas 111
   $$PWD/tfsfreader.cpp \
112
   $$PWD/expand.cpp \
113
   $$PWD/readtp4.cpp \
61 andreas 114
   $$PWD/texternal.cpp \
62 andreas 115
   $$PWD/tqemitqueue.cpp \
116
   $$PWD/tqkeyboard.cpp \
71 andreas 117
   $$PWD/tqkeypad.cpp \
139 andreas 118
   $$PWD/tqtphone.cpp \
179 andreas 119
   $$PWD/tqdownload.cpp \
125 andreas 120
   $$PWD/tsipclient.cpp \
89 andreas 121
   $$PWD/texcept.cpp \
97 andreas 122
   $$PWD/timgcache.cpp \
74 andreas 123
   $$PWD/tsystemsound.cpp \
75 andreas 124
   $$PWD/tsystemdraw.cpp \
211 andreas 125
   $$PWD/tqeditline.cpp \
195 andreas 126
   $$PWD/tsystem.cpp \
119 andreas 127
   $$PWD/texpat++.cpp \
226 andreas 128
   $$PWD/turl.cpp \
250 andreas 129
   $$PWD/tqnetworkinfo.cpp \
260 andreas 130
   $$PWD/tqtwait.cpp \
285 andreas 131
   $$PWD/tqscrollarea.cpp \
283 andreas 132
   $$PWD/tbitmap.cpp \
306 andreas 133
   $$PWD/tintborder.cpp \
310 andreas 134
   $$PWD/ftplib/ftplib.cpp \
135
   $$PWD/tqsingleline.cpp \
323 andreas 136
   $$PWD/tqgesturefilter.cpp \
137
   $$PWD/tqmultiline.cpp
21 andreas 138
 
242 andreas 139
ios: {
235 andreas 140
    INCLUDEPATH += $$PWD/. \
141
                   $$PWD/ftplib \
142
                   /usr/local/include/skia \
368 andreas 143
                   $$EXT_LIB_PATH/pjsip/include
144
    versionAtMost(QT_VERSION, 6.5.0) {
145
        INCLUDEPATH += $$EXT_LIB_PATH/openssl/ssl_3/ios64/include
146
    } else {
147
        INCLUDEPATH += $$EXT_LIB_PATH/openssl/ssl_1.1/include
148
    }
21 andreas 149
 
247 andreas 150
    QMAKE_IOS_DEPLOYMENT_TARGET=16.1
235 andreas 151
}
152
 
251 andreas 153
CONFIG += c++17
263 andreas 154
QMAKE_CXXFLAGS += -std=c++17 -DPJ_AUTOCONF
125 andreas 155
QMAKE_LFLAGS += -std=c++17
156
 
368 andreas 157
ios: {
158
    equals(OS,iossim) {
159
        LIBS += -L$$EXT_LIB_PATH/pjsip/lib \
160
                -L$$EXT_LIB_PATH/skia/iossim
22 andreas 161
 
368 andreas 162
        versionAtMost(QT_VERSION, 6.5.0) {
163
            LIBS += -L$$EXT_LIB_PATH/openssl/ssl_3/iossim/lib
164
        } else {
165
            LIBS += -L$$EXT_LIB_PATH/openssl/ssl_1.1/iossim
166
        }
167
    } else {
168
        LIBS += -L$$EXT_LIB_PATH/pjsip/lib \
169
                -L$$EXT_LIB_PATH/skia/ios64
21 andreas 170
 
368 andreas 171
        versionAtMost(QT_VERSION, 6.5.0) {
172
            LIBS += -L$$EXT_LIB_PATH/openssl/ssl_3/ios64/lib
173
        } else {
174
            LIBS += -L$$EXT_LIB_PATH/openssl/ssl_1.1/ios
175
        }
176
    }
22 andreas 177
 
235 andreas 178
    LIBS += -lskia -lpj -lpjlib-util \
179
            -lpjmedia -lpjmedia-audiodev \
180
            -lpjmedia-codec -lpjnath \
181
            -lpjsip -lpjsip-simple \
182
            -lpjsip-ua -lpjsua -lpjsua2 \
183
            -lresample -lspeex \
184
            -lsrtp -lgsmcodec \
185
            -lwebrtc -lilbccodec \
186
            -framework CFNetwork
238 andreas 187
 
255 andreas 188
    INCLUDEPATH += $$(QTDIR)/include/QtGui/$$QT_VERSION/QtGui
252 andreas 189
 
250 andreas 190
    OBJECTIVE_HEADERS = $$PWD/ios/QASettings.h \
191
                        $$PWD/ios/tiosrotate.h \
192
                        $$PWD/ios/tiosbattery.h
243 andreas 193
 
250 andreas 194
    OBJECTIVE_SOURCES = $$PWD/ios/QASettings.mm \
195
                        $$PWD/ios/tiosrotate.mm \
196
                        $$PWD/ios/tiosbattery.mm
197
 
239 andreas 198
    QMAKE_INFO_PLIST = $$PWD/ios/Info.plist
199
 
251 andreas 200
    app_launch_images.files = $$files($$PWD/images/theosys_logo.png)
239 andreas 201
    app_launch_files.files = $$files($$PWD/ios/Settings.bundle)
242 andreas 202
    ios_icon.files = $$files($$PWD/images/icon*.png)
251 andreas 203
    QMAKE_BUNDLE_DATA += app_launch_files ios_icon app_launch_images
235 andreas 204
}
205
 
264 andreas 206
 
217 andreas 207
# Additional definitions possible:
208
#  * _SCALE_SKIA_   If this is defined the scaling is done by the Skia
209
#                   library. While the result is the same, it is known to be
210
#                   slower. Beside this, this feature is not well tested.
211
#
264 andreas 212
#  * _OPAQUE_SKIA_  If set (default) the calculation for the opaque value is
213
#                   done by Skia. This works well but leaves a gray tinge.
214
#                   The Qt calculation is currently not working!
316 andreas 215
#                   THIS IS DEPRECATED AND WILL BE REMOVED!
264 andreas 216
#
217
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x050F00 _OPAQUE_SKIA_
181 andreas 218
 
22 andreas 219
RESOURCES += \
220
    tpanel.qrc
221
 
222
FORMS += \
62 andreas 223
    keyboard.ui \
224
    keypad.ui \
119 andreas 225
    tqtsettings.ui \
141 andreas 226
    tqtphone.ui \
260 andreas 227
    download.ui \
228
    wait.ui
22 andreas 229
 
368 andreas 230
LIBS += -lcrypto -lssl -liconv
23 andreas 231
 
119 andreas 232
# Add the ftp library
233
DEPENDPATH += $$PWD/ftplib