mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
cee1819b7d
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8295 b45a01b8-16f6-495d-af2f-9b41ad6348cc
100 lines
3.0 KiB
Prolog
100 lines
3.0 KiB
Prolog
!include("../Common/retroshare_plugin.pri"): error("Could not include file ../Common/retroshare_plugin.pri")
|
|
|
|
greaterThan(QT_MAJOR_VERSION, 4) {
|
|
# Qt 5
|
|
QT += widgets
|
|
}
|
|
|
|
exists($$[QMAKE_MKSPECS]/features/mobility.prf) {
|
|
CONFIG += mobility
|
|
} else {
|
|
QT += multimedia
|
|
}
|
|
CONFIG += qt uic qrc resources
|
|
MOBILITY = multimedia
|
|
|
|
DEPENDPATH += ../../retroshare-gui/src/temp/ui ../../libretroshare/src
|
|
INCLUDEPATH += ../../retroshare-gui/src/temp/ui ../../libretroshare/src
|
|
|
|
#################################### Windows #####################################
|
|
|
|
linux-* {
|
|
INCLUDEPATH += /usr/include
|
|
LIBS += $$system(pkg-config --libs opencv)
|
|
}
|
|
|
|
win32 {
|
|
LIBS_DIR = $$PWD/../../../libs
|
|
LIBS += -L"$$LIBS_DIR/lib/opencv"
|
|
|
|
OPENCV_VERSION = 249
|
|
LIBS += -lopencv_core$$OPENCV_VERSION -lopencv_highgui$$OPENCV_VERSION -lopencv_imgproc$$OPENCV_VERSION -llibjpeg -llibtiff -llibpng -llibjasper -lIlmImf -lole32 -loleaut32 -luuid -lavicap32 -lavifil32 -lvfw32 -lz
|
|
}
|
|
|
|
QMAKE_CXXFLAGS *= -Wall
|
|
|
|
SOURCES = VOIPPlugin.cpp \
|
|
services/p3VOIP.cc \
|
|
services/rsVOIPItems.cc \
|
|
gui/AudioInputConfig.cpp \
|
|
gui/AudioStats.cpp \
|
|
gui/AudioWizard.cpp \
|
|
gui/SpeexProcessor.cpp \
|
|
gui/audiodevicehelper.cpp \
|
|
gui/VideoProcessor.cpp \
|
|
gui/QVideoDevice.cpp \
|
|
gui/VOIPChatWidgetHolder.cpp \
|
|
gui/VOIPGUIHandler.cpp \
|
|
gui/VOIPNotify.cpp \
|
|
gui/VOIPToasterItem.cpp \
|
|
gui/VOIPToasterNotify.cpp
|
|
|
|
HEADERS = VOIPPlugin.h \
|
|
services/p3VOIP.h \
|
|
services/rsVOIPItems.h \
|
|
gui/AudioInputConfig.h \
|
|
gui/AudioStats.h \
|
|
gui/AudioWizard.h \
|
|
gui/SpeexProcessor.h \
|
|
gui/audiodevicehelper.h \
|
|
gui/VideoProcessor.h \
|
|
gui/QVideoDevice.h \
|
|
gui/VOIPChatWidgetHolder.h \
|
|
gui/VOIPGUIHandler.h \
|
|
gui/VOIPNotify.h \
|
|
gui/VOIPToasterItem.h \
|
|
gui/VOIPToasterNotify.h \
|
|
interface/rsVOIP.h
|
|
|
|
FORMS = gui/AudioInputConfig.ui \
|
|
gui/AudioStats.ui \
|
|
gui/AudioWizard.ui \
|
|
gui/VOIPToasterItem.ui
|
|
|
|
TARGET = VOIP
|
|
|
|
RESOURCES = gui/VOIP_images.qrc lang/VOIP_lang.qrc
|
|
|
|
TRANSLATIONS += \
|
|
lang/VOIP_ca_ES.ts \
|
|
lang/VOIP_cs.ts \
|
|
lang/VOIP_da.ts \
|
|
lang/VOIP_de.ts \
|
|
lang/VOIP_el.ts \
|
|
lang/VOIP_en.ts \
|
|
lang/VOIP_es.ts \
|
|
lang/VOIP_fi.ts \
|
|
lang/VOIP_fr.ts \
|
|
lang/VOIP_hu.ts \
|
|
lang/VOIP_it.ts \
|
|
lang/VOIP_ja_JP.ts \
|
|
lang/VOIP_ko.ts \
|
|
lang/VOIP_nl.ts \
|
|
lang/VOIP_pl.ts \
|
|
lang/VOIP_ru.ts \
|
|
lang/VOIP_sv.ts \
|
|
lang/VOIP_tr.ts \
|
|
lang/VOIP_zh_CN.ts
|
|
|
|
LIBS += -lspeex -lspeexdsp
|