-
Notifications
You must be signed in to change notification settings - Fork 11
/
Geometry.pro
68 lines (54 loc) · 1.74 KB
/
Geometry.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
QT += gui widgets quick qml quickwidgets svg
TEMPLATE = lib
DEFINES += GEOMETRY_LIBRARY
CONFIG += plugin
CONFIG += c14
include($$(applyCommonConfig))
include($$(applyConanPlugin))
include(../config.pri)
# The following define makes your compiler emit warnings if you use
# any Qt feature that has been marked 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 it uses 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 += \
geometryplugin.cpp \
geometrytool.cpp
HEADERS += \
Geometry_global.h \
exports.h \
geometryplugin.h \
geometrytool.h
RESOURCES += \
res/Geometry.qrc
DISTFILES += \
Geometry.json
include(base/base.pri)
include(geometry2ds/geometry2ds.pri)
include(geometry3ds/geometry3ds.pri)
include(rulers/rulers.pri)
include(algorithm/algorithm.pri)
includes.files = $$PWD/*.h
win32 {
includes.path = $$[QT_INSTALL_HEADERS]/Geometry
target.path = $$[QT_INSTALL_LIBS]
}
INSTALLS += includes
# Default rules for deployment.
unix {
target.path = /usr/lib
}
!isEmpty(target.path): INSTALLS += target
exists($$PWD/../OpenCV/opencv/build) {
DEFINES += HAS_OPENCV
win32: {
LIBS += -L$$PWD/../OpenCV/opencv/build/lib
CONFIG(debug, debug|release): -lopencv_world454d
CONFIG(release, debug|release): -lopencv_world454
}
INCLUDEPATH += $$PWD/../OpenCV/opencv/build/include
}