2
0

FSComm.pro 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. # #####################################
  2. # version check qt
  3. # #####################################
  4. contains(QT_VERSION, ^4\.[0-4]\..*) {
  5. message("Cannot build FsGui with Qt version $$QT_VERSION.")
  6. error("Use at least Qt 4.5.")
  7. }
  8. QT += xml
  9. TARGET = fscomm
  10. macx:TARGET = FSComm
  11. TEMPLATE = app
  12. INCLUDEPATH = ../src/include \
  13. ../libs/apr/include \
  14. ../libs/libteletone/src
  15. LIBS = -L../.libs \
  16. -lfreeswitch \
  17. -lm
  18. !win32:!macx {
  19. # This is here to comply with the default freeswitch installation
  20. QMAKE_LFLAGS += -Wl,-rpath,/usr/local/freeswitch/lib
  21. LIBS += -lcrypt \
  22. -lrt
  23. }
  24. SOURCES += main.cpp \
  25. mainwindow.cpp \
  26. fshost.cpp \
  27. call.cpp \
  28. preferences/prefdialog.cpp \
  29. preferences/prefportaudio.cpp \
  30. preferences/prefsofia.cpp \
  31. preferences/accountdialog.cpp \
  32. preferences/prefaccounts.cpp \
  33. account.cpp \
  34. widgets/codecwidget.cpp \
  35. channel.cpp \
  36. debugtools/consolewindow.cpp \
  37. debugtools/sortfilterproxymodel.cpp \
  38. debugtools/statedebugdialog.cpp \
  39. isettings.cpp \
  40. accountmanager.cpp
  41. HEADERS += mainwindow.h \
  42. fshost.h \
  43. call.h \
  44. preferences/prefdialog.h \
  45. preferences/prefportaudio.h \
  46. preferences/prefsofia.h \
  47. preferences/accountdialog.h \
  48. preferences/prefaccounts.h \
  49. account.h \
  50. widgets/codecwidget.h \
  51. channel.h \
  52. debugtools/consolewindow.h \
  53. debugtools/sortfilterproxymodel.h \
  54. debugtools/statedebugdialog.h \
  55. isettings.h \
  56. fscomm.h \
  57. accountmanager.h
  58. FORMS += mainwindow.ui \
  59. preferences/prefdialog.ui \
  60. preferences/accountdialog.ui \
  61. widgets/codecwidget.ui \
  62. debugtools/consolewindow.ui \
  63. debugtools/statedebugdialog.ui
  64. RESOURCES += resources.qrc
  65. OTHER_FILES += conf/freeswitch.xml