1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465 |
- # #####################################
- # version check qt
- # #####################################
- contains(QT_VERSION, ^4\.[0-4]\..*) {
- message("Cannot build FsGui with Qt version $$QT_VERSION.")
- error("Use at least Qt 4.5.")
- }
- QT += xml
- TARGET = fscomm
- macx:TARGET = FSComm
- TEMPLATE = app
- INCLUDEPATH = ../src/include \
- ../libs/apr/include \
- ../libs/libteletone/src
- LIBS = -L../.libs \
- -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 \
- preferences/prefdialog.cpp \
- preferences/prefportaudio.cpp \
- preferences/prefsofia.cpp \
- preferences/accountdialog.cpp \
- preferences/prefaccounts.cpp \
- account.cpp \
- widgets/codecwidget.cpp \
- channel.cpp \
- debugtools/consolewindow.cpp \
- debugtools/sortfilterproxymodel.cpp \
- debugtools/statedebugdialog.cpp \
- isettings.cpp \
- accountmanager.cpp
- HEADERS += mainwindow.h \
- fshost.h \
- call.h \
- preferences/prefdialog.h \
- preferences/prefportaudio.h \
- preferences/prefsofia.h \
- preferences/accountdialog.h \
- preferences/prefaccounts.h \
- account.h \
- widgets/codecwidget.h \
- channel.h \
- debugtools/consolewindow.h \
- debugtools/sortfilterproxymodel.h \
- debugtools/statedebugdialog.h \
- isettings.h \
- fscomm.h \
- accountmanager.h
- FORMS += mainwindow.ui \
- preferences/prefdialog.ui \
- preferences/accountdialog.ui \
- widgets/codecwidget.ui \
- debugtools/consolewindow.ui \
- debugtools/statedebugdialog.ui
- RESOURCES += resources.qrc
- OTHER_FILES += conf/freeswitch.xml
|