-
Notifications
You must be signed in to change notification settings - Fork 1
/
RetroChess.pro
71 lines (54 loc) · 1.83 KB
/
RetroChess.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
63
64
65
66
67
68
69
70
71
!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 += ../../retroshare-gui/src/retroshare-gui
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 = RetroChessPlugin.cpp \
services/p3RetroChess.cc \
services/rsRetroChessItems.cc \
gui/NEMainpage.cpp \
gui/RetroChessNotify.cpp \
gui/chess.cpp \
gui/tile.cpp \
gui/validation.cpp \
gui/RetroChessChatWidgetHolder.cpp
HEADERS = RetroChessPlugin.h \
services/p3RetroChess.h \
services/rsRetroChessItems.h \
interface/rsRetroChess.h \
gui/NEMainpage.h \
gui/RetroChessNotify.h \
gui/tile.h \
gui/validation.h \
gui/chess.h \
gui/RetroChessChatWidgetHolder.h
#FORMS = gui/AudioInputConfig.ui
TARGET = RetroChess
RESOURCES = gui/RetroChess_images.qrc
#LIBS += -lspeex -lspeexdsp
FORMS += \
gui/NEMainpage.ui \
gui/chess.ui