picview.pro 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. #-------------------------------------------------
  2. #
  3. # Project created by QtCreator 2018-08-27T22:01:38
  4. #
  5. #-------------------------------------------------
  6. QT += core gui
  7. greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
  8. TARGET = picview
  9. TEMPLATE = app
  10. # The following define makes your compiler emit warnings if you use
  11. # any feature of Qt which has been marked as deprecated (the exact warnings
  12. # depend on your compiler). Please consult the documentation of the
  13. # deprecated API in order to know how to port your code away from it.
  14. DEFINES += QT_DEPRECATED_WARNINGS
  15. #DEFINES += USE_ROBOSDK
  16. # You can also make your code fail to compile if you use deprecated APIs.
  17. # In order to do so, uncomment the following line.
  18. # You can also select to disable deprecated APIs only up to a certain version of Qt.
  19. #DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0
  20. SOURCES += \
  21. main.cpp \
  22. mainwindow.cpp \
  23. myview.cpp \
  24. ../../include/msgtype/rawpic.pb.cc
  25. HEADERS += \
  26. mainwindow.h \
  27. myview.h \
  28. ../../include/msgtype/rawpic.pb.h
  29. FORMS += \
  30. mainwindow.ui
  31. contains(QMAKE_HOST.arch, aarch64){
  32. DEFINES += arch_agx
  33. }else{
  34. DEFINES += arch_x64
  35. }
  36. !include(../../../include/common.pri ) {
  37. error( "Couldn't find the common.pri file!" )
  38. }
  39. !include(../../../include/ivprotobuf.pri ) {
  40. error( "Couldn't find the ivprotobuf.pri file!" )
  41. }
  42. !include(../../../include/ivboost.pri ) {
  43. error( "Couldn't find the ivboost.pri file!" )
  44. }
  45. !include(../../../include/ivopencv.pri ) {
  46. error( "Couldn't find the ivopencv.pri file!" )
  47. }
  48. !include(../../../include/ivpcl.pri ) {
  49. error( "Couldn't find the ivpcl.pri file!" )
  50. }
  51. INCLUDEPATH += /home/linaro/opencv3
  52. DEFINES += USE_OPENCV4
  53. LIBS +=-lpostproc -lswresample -lswscale -lavfilter -lavdevice -lavformat -lavcodec -lavutil -lm -ldl