mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-28 17:09:34 -05:00
1485361a1e
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7472 b45a01b8-16f6-495d-af2f-9b41ad6348cc
99 lines
2.6 KiB
Prolog
99 lines
2.6 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
|
|
|
|
INCLUDEPATH += ../../retroshare-gui/src/temp/ui ../../libretroshare/src
|
|
|
|
#################################### Windows #####################################
|
|
|
|
linux-* {
|
|
INCLUDEPATH += /usr/include
|
|
LIBS += -lopencv_core -lopencv_highgui
|
|
}
|
|
|
|
win32 {
|
|
SPEEX_DIR = ../../../speex-1.2rc1
|
|
OPENCV_DIR = ../../../lib/opencv
|
|
|
|
INCLUDEPATH += $${SPEEX_DIR}/include $${OPENCV_DIR}/include
|
|
LIBS += -L"$$OPENCV_DIR/x86/mingw/staticlib"
|
|
|
|
LIBS += -lopencv_core249 -lopencv_highgui249 -llibjpeg -llibtiff -llibpng -llibjasper -lIlmImf -lole32 -loleaut32 -luuid -lavicap32 -lavifil32 -lvfw32 -lz
|
|
}
|
|
|
|
QMAKE_CXXFLAGS *= -Wall
|
|
|
|
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 \
|
|
gui/VOIPChatWidgetHolder.cpp \
|
|
gui/PluginGUIHandler.cpp \
|
|
gui/PluginNotifier.cpp \
|
|
gui/VideoProcessor.cpp \
|
|
gui/QVideoDevice.cpp \
|
|
VOIPPlugin.cpp
|
|
|
|
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 \
|
|
gui/VOIPChatWidgetHolder.h \
|
|
gui/PluginGUIHandler.h \
|
|
gui/PluginNotifier.h \
|
|
gui/VideoProcessor.h \
|
|
gui/QVideoDevice.h \
|
|
interface/rsvoip.h \
|
|
VOIPPlugin.h
|
|
|
|
FORMS = gui/AudioInputConfig.ui \
|
|
gui/AudioStats.ui \
|
|
gui/VoipStatistics.ui \
|
|
gui/AudioWizard.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
|