summaryrefslogtreecommitdiffstats
path: root/pica-client/pica-client.pro
blob: 92430fedca6fe5904b33bd22198b0532f4416669 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
#-------------------------------------------------
#
# Project created by QtCreator 2011-10-22T02:19:02
#
#-------------------------------------------------

QT       += core gui sql network

TARGET = pica-client
TEMPLATE = app


SOURCES += main.cpp\
    audiodevice.cpp \
    echocanceller.cpp \
    nativeaudio.cpp \
    nativeaudio_wasapi.cpp \
    nativeaudio_coreaudio.cpp \
	audiovideocallcontroller.cpp \
        mainwindow.cpp \
    chatwindow.cpp \
    callwindow.cpp \
    contacts.cpp \
    ../PICA_client.c \
    ../PICA_media.c \
    ../PICA_msgproc.c \
    contactlistwidget.cpp \
    mediadevice.cpp \
    skynet.cpp \
    nodes.cpp \
    accountswindow.cpp \
    accounts.cpp \
    dialogs/addaccountdialog.cpp \
    askpassword.cpp \
    msguirouter.cpp \
    picasystray.cpp \
    picaactioncenter.cpp \
    dialogs/viewcertdialog.cpp \
    dialogs/forgedcertdialog.cpp \
    dialogs/registeraccountdialog.cpp \
    openssltool.cpp \
    history.cpp \
    ../PICA_id.c \
    dhparam.cpp \
    dialogs/showpicaiddialog.cpp \
    dialogs/filetransferdialog.cpp \
    filetransfercontroller.cpp \
    sound.cpp \
    dialogs/settingsdialog.cpp \
    settings.cpp \
    ../PICA_netconf.c \
    ../PICA_signverify.c \
    dialogs/nodesdialog.cpp \
    videodevice.cpp \
    videodshow.cpp

HEADERS  += mainwindow.h \
    audiodevice.h \
    audioring.h \
    echocanceller.h \
    nativeaudio.h \
    audiovideocallcontroller.h \
    chatwindow.h \
    callwindow.h \
    contacts.h \
    globals.h \
    ../PICA_client.h \
    ../PICA_media.h \
    ../PICA_msgproc.h \
    contactlistwidget.h \
    mediadevice.h \
    skynet.h \
    nodes.h \
    accountswindow.h \
    accounts.h \
    dialogs/addaccountdialog.h \
    askpassword.h \
    msguirouter.h \
    picasystray.h \
    picaactioncenter.h \
    dialogs/viewcertdialog.h \
    dialogs/forgedcertdialog.h \
    ../PICA_common.h \
    ../PICA_proto.h \
    dialogs/registeraccountdialog.h \
    openssltool.h \
    history.h \
    ../PICA_id.h \
    dhparam.h \
    dialogs/showpicaiddialog.h \
    dialogs/filetransferdialog.h \
    filetransfercontroller.h \
    sound.h \
    dialogs/settingsdialog.h \
    settings.h \
    ../PICA_netconf.h \
    ../PICA_security.h \
    ../PICA_signverify.h \
    dialogs/nodesdialog.h \
    videodevice.h


DEFINES = PICA_MULTITHREADED
DEFINES += HAVE_LIBMINIUPNPC

FORMS    += mainwindow.ui



unix: CONFIG += link_pkgconfig
unix: PKGCONFIG += libssl

unix: CONFIG += link_pkgconfig
unix: PKGCONFIG += libcrypto

unix|win32: LIBS += -lminiupnpc

# Acoustic echo cancellation. Required everywhere: on Linux there is no other
# cancellation in the picture, and on the platforms that have their own it is
# still the fallback for the endpoints and drivers that turn out not to.
unix:!macx: CONFIG += link_pkgconfig
unix:!macx: PKGCONFIG += speexdsp

# Listing PulseAudio sources and sinks in the settings dialog. Optional -
# playing and capturing through PulseAudio goes via FFmpeg's own "pulse"
# device and needs nothing from us.
unix:!macx: PKGCONFIG += libpulse
unix:!macx: DEFINES += HAVE_LIBPULSE

# The native audio backends. Both source files compile to nothing on the
# platforms they are not for, so they can stay in SOURCES unconditionally;
# what they link against cannot.
win32: LIBS += -lole32 -loleaut32
macx:  LIBS += -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreFoundation
macx:  LIBS += -lspeexdsp