2012-02-15 16:17:18 -05:00
|
|
|
!include("../Common/retroshare_plugin.pri"): error("Could not include file ../Common/retroshare_plugin.pri")
|
|
|
|
|
2013-10-19 20:56:34 -04:00
|
|
|
greaterThan(QT_MAJOR_VERSION, 4) {
|
|
|
|
# Qt 5
|
|
|
|
QT += widgets
|
|
|
|
}
|
|
|
|
|
2013-03-04 07:34:45 -05:00
|
|
|
exists($$[QMAKE_MKSPECS]/features/mobility.prf) {
|
|
|
|
CONFIG += mobility
|
|
|
|
} else {
|
|
|
|
QT += multimedia
|
|
|
|
}
|
2012-02-15 16:17:18 -05:00
|
|
|
CONFIG += qt uic qrc resources
|
|
|
|
MOBILITY = multimedia
|
|
|
|
|
2012-08-30 12:14:55 -04:00
|
|
|
INCLUDEPATH += ../../retroshare-gui/src/temp/ui ../../libretroshare/src
|
2012-02-25 07:18:40 -05:00
|
|
|
|
2012-02-28 16:59:01 -05:00
|
|
|
#################################### Windows #####################################
|
|
|
|
|
2014-07-15 17:12:10 -04:00
|
|
|
linux-* {
|
|
|
|
INCLUDEPATH += /usr/include
|
|
|
|
LIBS += -lopencv_core -lopencv_highgui
|
|
|
|
}
|
|
|
|
|
2012-02-28 16:59:01 -05:00
|
|
|
win32 {
|
2014-07-15 17:12:10 -04:00
|
|
|
SPEEX_DIR = ../../../speex-1.2rc1
|
|
|
|
OPENCV_DIR = ../../../lib/opencv
|
|
|
|
|
|
|
|
INCLUDEPATH += $${SPEEX_DIR}/include $${OPENCV_DIR}/include
|
|
|
|
LIBS += -L"$$OPENCV_DIR/x86/mingw/staticlib"
|
|
|
|
|
2014-07-26 07:38:34 -04:00
|
|
|
LIBS += -lopencv_core249 -lopencv_highgui249 -llibjpeg -llibtiff -llibpng -llibjasper -lIlmImf -lole32 -loleaut32 -luuid -lavicap32 -lavifil32 -lvfw32 -lz
|
2012-02-28 16:59:01 -05:00
|
|
|
}
|
|
|
|
|
2012-02-18 15:30:10 -05:00
|
|
|
QMAKE_CXXFLAGS *= -Wall
|
|
|
|
|
2012-02-19 10:07:47 -05:00
|
|
|
SOURCES = services/p3vors.cc \
|
|
|
|
services/rsvoipitems.cc \
|
|
|
|
gui/AudioInputConfig.cpp \
|
|
|
|
gui/AudioStats.cpp \
|
|
|
|
gui/AudioWizard.cpp \
|
|
|
|
gui/SpeexProcessor.cpp \
|
|
|
|
gui/audiodevicehelper.cpp \
|
|
|
|
gui/VoipStatistics.cpp \
|
2014-07-13 09:57:25 -04:00
|
|
|
gui/VOIPChatWidgetHolder.cpp \
|
2012-02-25 13:15:36 -05:00
|
|
|
gui/PluginGUIHandler.cpp \
|
|
|
|
gui/PluginNotifier.cpp \
|
2014-07-13 09:57:25 -04:00
|
|
|
gui/VideoProcessor.cpp \
|
|
|
|
gui/QVideoDevice.cpp \
|
2012-10-12 14:44:02 -04:00
|
|
|
VOIPPlugin.cpp
|
2012-02-19 10:07:47 -05:00
|
|
|
|
|
|
|
HEADERS = services/p3vors.h \
|
|
|
|
services/rsvoipitems.h \
|
|
|
|
gui/AudioInputConfig.h \
|
|
|
|
gui/AudioStats.h \
|
|
|
|
gui/AudioWizard.h \
|
|
|
|
gui/SpeexProcessor.h \
|
|
|
|
gui/audiodevicehelper.h \
|
|
|
|
gui/VoipStatistics.h \
|
2014-07-13 09:57:25 -04:00
|
|
|
gui/VOIPChatWidgetHolder.h \
|
2012-02-25 13:15:36 -05:00
|
|
|
gui/PluginGUIHandler.h \
|
|
|
|
gui/PluginNotifier.h \
|
2014-07-13 09:57:25 -04:00
|
|
|
gui/VideoProcessor.h \
|
|
|
|
gui/QVideoDevice.h \
|
2012-10-12 14:44:02 -04:00
|
|
|
interface/rsvoip.h \
|
|
|
|
VOIPPlugin.h
|
2012-02-19 10:07:47 -05:00
|
|
|
|
|
|
|
FORMS = gui/AudioInputConfig.ui \
|
|
|
|
gui/AudioStats.ui \
|
|
|
|
gui/VoipStatistics.ui \
|
|
|
|
gui/AudioWizard.ui
|
2012-02-15 16:17:18 -05:00
|
|
|
|
|
|
|
TARGET = VOIP
|
|
|
|
|
2012-10-03 18:59:28 -04:00
|
|
|
RESOURCES = gui/VOIP_images.qrc lang/VOIP_lang.qrc
|
2012-09-24 19:41:32 -04:00
|
|
|
|
2012-09-29 20:49:39 -04:00
|
|
|
TRANSLATIONS += \
|
2013-12-13 10:08:36 -05:00
|
|
|
lang/VOIP_ca_ES.ts \
|
2012-11-21 17:10:39 -05:00
|
|
|
lang/VOIP_cs.ts \
|
|
|
|
lang/VOIP_da.ts \
|
2012-09-24 19:41:32 -04:00
|
|
|
lang/VOIP_de.ts \
|
2013-06-04 19:39:07 -04:00
|
|
|
lang/VOIP_el.ts \
|
2012-11-21 17:10:39 -05:00
|
|
|
lang/VOIP_en.ts \
|
2012-09-29 20:49:39 -04:00
|
|
|
lang/VOIP_es.ts \
|
2012-11-21 17:10:39 -05:00
|
|
|
lang/VOIP_fi.ts \
|
|
|
|
lang/VOIP_fr.ts \
|
|
|
|
lang/VOIP_hu.ts \
|
2012-12-06 09:31:40 -05:00
|
|
|
lang/VOIP_it.ts \
|
2012-11-21 17:10:39 -05:00
|
|
|
lang/VOIP_ja_JP.ts \
|
|
|
|
lang/VOIP_ko.ts \
|
2013-06-04 19:39:07 -04:00
|
|
|
lang/VOIP_nl.ts \
|
2012-11-21 17:10:39 -05:00
|
|
|
lang/VOIP_pl.ts \
|
|
|
|
lang/VOIP_ru.ts \
|
|
|
|
lang/VOIP_sv.ts \
|
2012-09-29 20:49:39 -04:00
|
|
|
lang/VOIP_tr.ts \
|
2012-11-21 17:10:39 -05:00
|
|
|
lang/VOIP_zh_CN.ts
|
2012-02-15 16:17:18 -05:00
|
|
|
|
2014-07-15 17:12:10 -04:00
|
|
|
LIBS += -lspeex -lspeexdsp
|