mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
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:
parent
5df440b1bb
commit
6dace62abe
@ -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
|
||||
|
@ -1,5 +1,5 @@
|
||||
#include <cv.h>
|
||||
#include <highgui.h>
|
||||
#include <opencv/cv.h>
|
||||
#include <opencv/highgui.h>
|
||||
|
||||
#include <QTimer>
|
||||
#include <QPainter>
|
||||
|
Loading…
Reference in New Issue
Block a user