2010-01-04 15:49:22 -05:00
|
|
|
# #####################################
|
|
|
|
# version check qt
|
|
|
|
# #####################################
|
|
|
|
contains(QT_VERSION, ^4\.[0-5]\..*) {
|
|
|
|
message("Cannot build FsGui with Qt version $$QT_VERSION.")
|
|
|
|
error("Use at least Qt 4.6.")
|
|
|
|
}
|
|
|
|
QT += xml
|
2010-01-04 16:02:40 -05:00
|
|
|
TARGET = fscomm
|
|
|
|
macx:TARGET = FSComm
|
2010-01-04 15:49:22 -05:00
|
|
|
TEMPLATE = app
|
2010-01-04 16:02:40 -05:00
|
|
|
INCLUDEPATH = ../src/include \
|
|
|
|
../libs/apr/include \
|
|
|
|
../libs/libteletone/src
|
|
|
|
LIBS = -L../.libs \
|
2010-01-04 15:49:22 -05:00
|
|
|
-lfreeswitch \
|
|
|
|
-lm
|
|
|
|
!win32:!macx {
|
|
|
|
# This is here to comply with the default freeswitch installation
|
|
|
|
QMAKE_LFLAGS += -Wl,-rpath,/usr/local/freeswitch/lib
|
|
|
|
LIBS += -lcrypt \
|
|
|
|
-lrt
|
|
|
|
}
|
|
|
|
SOURCES += main.cpp \
|
|
|
|
mainwindow.cpp \
|
|
|
|
fshost.cpp \
|
|
|
|
call.cpp \
|
|
|
|
mod_qsettings/mod_qsettings.cpp \
|
2010-01-07 00:19:36 -05:00
|
|
|
preferences/prefdialog.cpp \
|
|
|
|
preferences/prefportaudio.cpp \
|
2010-01-07 18:00:34 -05:00
|
|
|
preferences/prefsofia.cpp \
|
|
|
|
preferences/accountdialog.cpp
|
2010-01-04 15:49:22 -05:00
|
|
|
HEADERS += mainwindow.h \
|
|
|
|
fshost.h \
|
|
|
|
call.h \
|
|
|
|
mod_qsettings/mod_qsettings.h \
|
2010-01-07 00:19:36 -05:00
|
|
|
preferences/prefdialog.h \
|
|
|
|
preferences/prefportaudio.h \
|
2010-01-07 18:00:34 -05:00
|
|
|
preferences/prefsofia.h \
|
|
|
|
preferences/accountdialog.h
|
2010-01-04 15:49:22 -05:00
|
|
|
FORMS += mainwindow.ui \
|
2010-01-07 18:00:34 -05:00
|
|
|
preferences/prefdialog.ui \
|
|
|
|
preferences/accountdialog.ui
|
2010-01-04 15:49:22 -05:00
|
|
|
RESOURCES += resources.qrc
|
|
|
|
OTHER_FILES += conf/portaudio.conf.xml \
|
|
|
|
conf/event_socket.conf.xml \
|
2010-01-06 22:50:18 -05:00
|
|
|
conf/freeswitch.xml \
|
2010-01-07 18:00:34 -05:00
|
|
|
conf/sofia.conf.xml \
|
|
|
|
conf/account.conf.xml
|