-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathHungarianRoadRage.pro
120 lines (94 loc) · 2.6 KB
/
HungarianRoadRage.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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
#-------------------------------------------------
#
# Project created by QtCreator 2013-10-11T12:34:59
#
#-------------------------------------------------
cache();
QT += core gui network
QT += widgets
QT += opengl
TARGET = HungarianRoadRage
TEMPLATE = app
CONFIG += c++11
CONFIG += thread
CONFIG += debug
#OS X config
macx:CONFIG += OSXMACHINE
OSXMACHINE {
message("***Using settings for Mac OS X***")
#To copy images directory
APP_IMAGE_FILES.files = images
APP_IMAGE_FILES.path = Contents/MacOS/debug
APP_ROAD_FILES.files = roads
APP_ROAD_FILES.path = Contents/MacOS/debug
QMAKE_BUNDLE_DATA += APP_IMAGE_FILES
QMAKE_BUNDLE_DATA += APP_ROAD_FILES
INCLUDEPATH += /opt/local/include
LIBS += -L/opt/local/lib \
-lopencv_core \
-lopencv_highgui \
-lopencv_imgproc \
# -lopencv_objdetect \
# -lopencv_contrib \
# -lopencv_calib3d \
# -lopencv_features2d \
# -lopencv_flann \
# -lopencv_gpu \
# -lopencv_legacy \
# -lopencv_nonfree \
# -lopencv_ml \
# -lopencv_photo \
-lopencv_video \
# -lopencv_videostab \
# -lopencv_stitching \
# -lopencv_superres \
# -lopencv_ts
QMAKE_CXXFLAGS += -std=c++11 -stdlib=libc++ -mmacosx-version-min=10.7
LIBS += -stdlib=libc++ -mmacosx-version-min=10.7
ICON = icon.ico
}
#Windows config
win32:CONFIG += WINDOWSMACHINE
WINDOWSMACHINE{
message("***Using settings for Windows***")
#To copy images directory
APP_IMAGE_FILES.files = images
APP_IMAGE_FILES.path = def
APP_ROAD_FILES.files = roads
APP_ROAD_FILES.path = def
QMAKE_BUNDLE_DATA += APP_IMAGE_FILES
QMAKE_BUNDLE_DATA += APP_ROAD_FILES
RC_FILE = HungarianRoadRage.rc
INCLUDEPATH += C://OpenCV//OpenCV_bin//install//include
LIBS += C://OpenCV//OpenCV_bin//bin//*.dll
}
#Other files:
SOURCES += main.cpp\
mainwindow.cpp\
imageprocesser.cpp \
network.cpp \
debugwindow.cpp \
road.cpp \
car.cpp \
pothole.cpp \
roadgenerator.cpp \
startview.cpp
HEADERS += mainwindow.h\
imageprocesser.h \
network.h \
debugwindow.h \
road.h \
car.h \
settings.h \
pothole.h \
roadgenerator.h \
startview.h
FORMS += mainwindow.ui \
raceroadwidget.ui \
debugwindow.ui \
startview.ui
OTHER_FILES += images/*
OTHER_FILES += roads/*
# Megjegyzesek:
# Amiket kikommenteltem az OS X konfigban, azok nem kellenek egyelore, windows-nal is szerkesszetek be
# a *.dll helyett mindig azokat a LIB-eket csak, amik kellenek. Felesleges dolgokat ne forgassunk bele