Fixed PC build to work with ONNX Yolov10 files

This commit is contained in:
Tuomas Järvinen
2024-07-09 20:34:21 +02:00
parent c4af0cc461
commit 607ac22b46
3 changed files with 24 additions and 11 deletions
+4 -3
View File
@@ -5,16 +5,17 @@ PKGCONFIG += opencv4
MOC_DIR = moc
OBJECTS_DIR = obj
SOURCES = $$PWD/*.cpp
SOURCES = $$PWD/*.cpp $$PWD/../../misc/camera/a8_remote/remoteControl.cpp
HEADERS = $$PWD/*.h
INCLUDEPATH += $$PWD/../../misc/camera/a8_remote
opi5 {
message("OPI5 build")
PKGCONFIG += opencv4 librga stb libturbojpeg
INCLUDEPATH += /usr/include/rga $$PWD/../../misc/camera/a8_remote
INCLUDEPATH += /usr/include/rga
QMAKE_CXXFLAGS += -DOPI5_BUILD
LIBS += /usr/local/lib/librknnrt.so
SOURCES += $$PWD/src-opi5/*.c $$PWD/src-opi5/*.cpp $$PWD/src-opi5/*.cc $$PWD/../../misc/camera/a8_remote/remoteControl.cpp
SOURCES += $$PWD/src-opi5/*.c $$PWD/src-opi5/*.cpp $$PWD/src-opi5/*.cc
HEADERS += $$PWD/src-opi5/*.h
} else {
message("ONNX build")