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 \
|
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 \
|
2010-04-05 02:03:06 -04:00
|
|
|
widgets/codecwidget.cpp \
|
2010-04-07 01:05:03 -04:00
|
|
|
channel.cpp \
|
|
|
|
debugtools/consolewindow.cpp \
|
|
|
|
debugtools/sortfilterproxymodel.cpp \
|
2010-07-03 12:37:32 -04:00
|
|
|
debugtools/statedebugdialog.cpp \
|
|
|
|
isettings.cpp \
|
|
|
|
accountmanager.cpp
|
2010-01-04 15:49:22 -05:00
|
|
|
HEADERS += mainwindow.h \
|
|
|
|
fshost.h \
|
|
|
|
call.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 \
|
2010-04-05 02:03:06 -04:00
|
|
|
widgets/codecwidget.h \
|
2010-04-07 01:05:03 -04:00
|
|
|
channel.h \
|
|
|
|
debugtools/consolewindow.h \
|
|
|
|
debugtools/sortfilterproxymodel.h \
|
2010-07-03 12:37:32 -04:00
|
|
|
debugtools/statedebugdialog.h \
|
|
|
|
isettings.h \
|
|
|
|
fscomm.h \
|
|
|
|
accountmanager.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 \
|
2010-04-07 01:05:03 -04:00
|
|
|
widgets/codecwidget.ui \
|
|
|
|
debugtools/consolewindow.ui \
|
|
|
|
debugtools/statedebugdialog.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
|