-
Notifications
You must be signed in to change notification settings - Fork 2
/
Chameleon.pro
117 lines (95 loc) · 3.24 KB
/
Chameleon.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
#-------------------------------------------------
#
# Project created by QtCreator 2018-07-18T10:28:16
#
#-------------------------------------------------
QT += core gui webenginewidgets sql
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
TARGET = Chameleon
TEMPLATE = app
# The following define makes your compiler emit warnings if you use
# any feature of Qt which has been marked as deprecated (the exact warnings
# depend on your compiler). Please consult the documentation of the
# deprecated API in order to know how to port your code away from it.
DEFINES += QT_DEPRECATED_WARNINGS
# You can also make your code fail to compile if you use deprecated APIs.
# In order to do so, uncomment the following line.
# You can also select to disable deprecated APIs only up to a certain version of Qt.
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0
SOURCES += \
src/demodialog.cpp \
src/main.cpp \
src/mainwindow.cpp \
src/observedfile.cpp \
src/observedfilesmanager.cpp \
src/observedwindow.cpp \
src/observedwindowsmanager.cpp \
src/figure.cpp \
src/augmentedview.cpp \
src/figurefindertask.cpp \
src/database.cpp \
src/algorithms/featurematchingalgorithm.cpp \
src/algorithms/surfalgorithm.cpp \
src/registrationtooldialog.cpp
INCLUDEPATH += src/
HEADERS += \
src/demodialog.h \
src/mainwindow.h \
src/observedfile.h \
src/observedfilesmanager.h \
src/observedwindow.h \
src/observedwindowsmanager.h \
src/figure.h \
src/augmentedview.h \
src/figurefindertask.h \
src/database.h \
src/os_specific/window.h \
src/algorithms/featurematchingalgorithm.h \
src/algorithms/surfalgorithm.h \
src/registrationtooldialog.h \
src/model/observable.h \
src/model/model.h
FORMS += \
forms/mainwindow.ui \
forms/registrationtooldialog.ui \
forms/demodialog.ui
windows {
message("Needs to be configured")
} else:mac {
# = Code specific to macOs
OBJECTIVE_SOURCES += src/os_specific/macos/window.mm \
src/os_specific/macos/accessibility.mm
HEADERS += src/os_specific/macos/accessibility.h
LIBS += -F/System/Library/PrivateFrameworks \
-framework MultitouchSupport -v \
-framework AppKit \
-framework QuickLook \
-framework Security
# = Look for pkg-config in Fink, Macports and Homebrew (the last one we find wins)
exists(/sw/bin/pkg-config) {
QMAKE_PKG_CONFIG = /sw/bin/pkg-config
}
exists(/opt/local/bin/pkg-config) {
QMAKE_PKG_CONFIG = /opt/local/bin/pkg-CONFIG
}
exists(/usr/local/bin/pkg-config) {
QMAKE_PKG_CONFIG = /usr/local/bin/pkg-config
}
# = Add OpenCV4 to path
system($$QMAKE_PKG_CONFIG --exists opencv4) {
QMAKE_CXXFLAGS += $$system("$$QMAKE_PKG_CONFIG --cflags opencv4")
LIBS += $$system("$$QMAKE_PKG_CONFIG --libs-only-L opencv4")
message("OpenCV4 found")
}
} else:linux-* {
}
# OpenCV
LIBS += -lopencv_core \
-lopencv_flann \
-lopencv_calib3d \
-lopencv_imgproc \
-lopencv_features2d \
-lopencv_xfeatures2d
RESOURCES += \
resources/resources.qrc
ICON = resources/AppIcon.icns