video_record.pro 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. QT -= gui
  2. QMAKE_LFLAGS += -no-pie
  3. greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
  4. TARGET = video_record
  5. TEMPLATE = app
  6. CONFIG += c++11 #console
  7. CONFIG -= app_bundle
  8. # The following define makes your compiler emit warnings if you use
  9. # any feature of Qt which has been marked as deprecated (the exact warnings
  10. # depend on your compiler). Please consult the documentation of the
  11. # deprecated API in order to know how to port your code away from it.
  12. DEFINES += QT_DEPRECATED_WARNINGS
  13. #DEFINES += USE_PLUS_MODULECOMM
  14. # You can also make your code fail to compile if you use deprecated APIs.
  15. # In order to do so, uncomment the following line.
  16. # You can also select to disable deprecated APIs only up to a certain version of Qt.
  17. #DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0
  18. SOURCES += main.cpp \
  19. ../../include/msgtype/rawpic.pb.cc
  20. INCLUDEPATH += /usr/include/pcl-1.7
  21. INCLUDEPATH += /usr/include/pcl-1.8
  22. INCLUDEPATH += /usr/include/eigen3
  23. INCLUDEPATH += /usr/include/opencv4
  24. INCLUDEPATH += /usr/include/pcl-1.10 \
  25. ../../include/msgtype/rawpic.pb.h
  26. INCLUDEPATH += /usr/local/cuda-11.4/targets/aarch64-linux/include
  27. LIBS += -L/usr/local/cuda-11.4/targets/aarch64-linux/lib # -lcublas
  28. INCLUDEPATH += /usr/local/cuda-10.2/targets/aarch64-linux/include
  29. LIBS += -lpcl_io -lpcl_common
  30. LIBS += -lboost_system -lavutil -lprotobuf -lcudnn
  31. LIBS += -lcudnn
  32. LIBS += /usr/lib/aarch64-linux-gnu/libopencv_highgui.so \
  33. /usr/lib/aarch64-linux-gnu/libopencv_core.so \
  34. /usr/lib/aarch64-linux-gnu/libopencv_imgproc.so \
  35. /usr/lib/aarch64-linux-gnu/libopencv_imgcodecs.so \
  36. /usr/lib/aarch64-linux-gnu/libopencv_videoio.so \
  37. /usr/lib/aarch64-linux-gnu/libopencv_video.so \
  38. /usr/lib/aarch64-linux-gnu/libopencv_calib3d.so \
  39. #unix:!macx: LIBS += -L$$PWD/../../../thirdpartylib/caffe/arm64 -lcaffe -lcudnn
  40. HEADERS += \
  41. ../../include/msgtype/object.pb.h \
  42. ../../include/msgtype/objectarray.pb.h
  43. !include(../../../include/common.pri ) {
  44. error( "Couldn't find the common.pri file!" )
  45. }
  46. !include(../../../include/ivprotobuf.pri ) {
  47. error( "Couldn't find the ivprotobuf.pri file!" )
  48. }
  49. INCLUDEPATH += $$PWD/../../include/msgtype
  50. LIBS += -L/usr/lib/aarch64-linux-gnu/ -lglog