Fixed Windows compile of VOIP

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7454 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
thunder2 2014-07-15 21:12:10 +00:00
parent 5df440b1bb
commit 6dace62abe
2 changed files with 15 additions and 6 deletions

View File

@ -14,13 +14,22 @@ CONFIG += qt uic qrc resources
MOBILITY = multimedia
INCLUDEPATH += ../../retroshare-gui/src/temp/ui ../../libretroshare/src
INCLUDEPATH += /usr/include/opencv
#################################### Windows #####################################
linux-* {
INCLUDEPATH += /usr/include
LIBS += -lopencv_core -lopencv_highgui
}
win32 {
# Speex
INCLUDEPATH += ../../../speex-1.2rc1/include
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
}
QMAKE_CXXFLAGS *= -Wall
@ -86,4 +95,4 @@ TRANSLATIONS += \
lang/VOIP_tr.ts \
lang/VOIP_zh_CN.ts
LIBS += -lspeex -lspeexdsp -lopencv_core -lopencv_highgui
LIBS += -lspeex -lspeexdsp

View File

@ -1,5 +1,5 @@
#include <cv.h>
#include <highgui.h>
#include <opencv/cv.h>
#include <opencv/highgui.h>
#include <QTimer>
#include <QPainter>