-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathNetExample.pro
62 lines (46 loc) · 1.63 KB
/
NetExample.pro
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
!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
INCLUDEPATH += ../../rapidjson-1.1.0
#################################### 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 = NetExamplePlugin.cpp \
services/p3NetExample.cc \
services/rsNetExampleItems.cc \
gui/NetExampleMainpage.cpp \
gui/NetExampleNotify.cpp \
gui/paintwidget.cpp
HEADERS = NetExamplePlugin.h \
services/p3NetExample.h \
services/rsNetExampleItems.h \
interface/rsNetExample.h \
gui/NetExampleMainpage.h \
gui/NetExampleNotify.h \
gui/paintwidget.h
#FORMS = gui/AudioInputConfig.ui
TARGET = NetExample
RESOURCES = gui/NetExample_images.qrc
LIBS += -lspeex -lspeexdsp
FORMS += \
gui/NetExampleMainpage.ui