2010-01-04 15:49:22 -05:00
|
|
|
# #####################################
|
|
|
|
# version check qt
|
|
|
|
# #####################################
|
2010-01-13 21:32:20 -05:00
|
|
|
contains(QT_VERSION, ^4\.[0-4]\..*) {
|
2010-01-04 15:49:22 -05:00
|
|
|
message("Cannot build FsGui with Qt version $$QT_VERSION.")
|
2010-01-12 21:28:36 -05:00
|
|
|
error("Use at least Qt 4.5.")
|
2010-01-04 15:49:22 -05:00
|
|
|
}
|
|
|
|
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 \
|
2010-01-10 23:40:39 -05:00
|
|
|
preferences/accountdialog.cpp \
|
2010-01-18 23:03:34 -05:00
|
|
|
preferences/prefaccounts.cpp \
|
2010-04-03 22:28:34 -04:00
|
|
|
account.cpp \
|
|
|
|
widgets/codecwidget.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 \
|
2010-01-13 21:32:20 -05:00
|
|
|
preferences/accountdialog.h \
|
2010-01-18 23:03:34 -05:00
|
|
|
preferences/prefaccounts.h \
|
2010-04-03 22:28:34 -04:00
|
|
|
account.h \
|
|
|
|
widgets/codecwidget.h
|
2010-01-04 15:49:22 -05:00
|
|
|
FORMS += mainwindow.ui \
|
2010-01-07 18:00:34 -05:00
|
|
|
preferences/prefdialog.ui \
|
2010-04-03 22:28:34 -04:00
|
|
|
preferences/accountdialog.ui \
|
|
|
|
widgets/codecwidget.ui
|
2010-01-04 15:49:22 -05:00
|
|
|
RESOURCES += resources.qrc
|
2010-01-13 21:32:20 -05:00
|
|
|
OTHER_FILES += conf/freeswitch.xml
|