-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathqtbooth.pro
More file actions
98 lines (84 loc) · 2.45 KB
/
qtbooth.pro
File metadata and controls
98 lines (84 loc) · 2.45 KB
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
QT += qml quick multimedia concurrent xml svg printsupport multimedia-private
CONFIG += c++17 qml_debug
!contains(QT_CONFIG, no-pkg-config) {
CONFIG += link_pkgconfig
PKGCONFIG += opencv4
} else {
LIBS += -lopencv_core -lopencv_imgproc -lopencv_imgcodecs
}
SOURCES += src/collageiconmodel.cpp \
src/collageimagemodel.cpp \
src/collagemodelfactory.cpp \
src/fakeprinter.cpp \
src/fileio.cpp \
src/filesystem.cpp \
src/gpio.cpp \
src/main.cpp \
src/modelparser.cpp \
src/noprinter.cpp \
src/printerfactory.cpp \
src/replacebackgroundvideofilter.cpp \
src/segmentation.cpp \
src/selphyprinter.cpp \
src/standardprinter.cpp \
src/system.cpp \
src/translationhelper.cpp \
src/yolo11segncnn.cpp \
src/yolo11segonnx.cpp
RESOURCES += qml.qrc
# Additional import path used to resolve QML modules in Qt Creator's code model
QML_IMPORT_PATH =
# Default rules for deployment.
#qnx: target.path = /tmp/$${TARGET}/bin
#else: unix:!android: target.path = /opt/$${TARGET}/bin
#!isEmpty(target.path): INSTALLS += target
TRANSLATIONS = "tr_de.ts"
DISTFILES += \
android/AndroidManifest.xml \
android/build.gradle \
android/gradle/wrapper/gradle-wrapper.jar \
android/gradle/wrapper/gradle-wrapper.properties \
android/gradlew \
android/gradlew.bat \
android/res/values/libs.xml
INCLUDEPATH += src/ \
libs/onnxruntime/include/ \
libs/ncnn/include/ \
HEADERS += \
src/abstractprinter.h \
src/call_once.h \
src/collageiconmodel.h \
src/collageimagemodel.h \
src/collagemodelfactory.h \
src/fakeprinter.h \
src/fileio.h \
src/filesystem.h \
src/gpio.h \
src/modelparser.h \
src/noprinter.h \
src/printerfactory.h \
src/replacebackgroundvideofilter.h \
src/segmentation.h \
src/selphyprinter.h \
src/standardprinter.h \
src/system.h \
src/translationhelper.h \
src/yolo11segncnn.h \
src/yolo11segonnx.h \
src/yolobackend.h
contains(ANDROID_TARGET_ARCH,x86) {
ANDROID_PACKAGE_SOURCE_DIR = \
$$PWD/android
}
DEFINES += GIT_CURRENT_SHA1="$(shell git -C \""$$_PRO_FILE_PWD_"\" describe)"
LIBS += -L"$$PWD/libs/onnxruntime/lib" -lonnxruntime
LIBS += -L"$$PWD/libs/ncnn/lib" -lncnn
!isEmpty(PREFIX) {
INSTALLS += target
target.path = $$PREFIX/bin
LIBS += -L$$PREFIX/lib #possibly local libs are also stored in that prefix
}
else {
INSTALLS += target
target.path = /usr/local/bin
}