driver_camera_ioctl.pro 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. QT -= gui
  2. CONFIG += c++11 console
  3. CONFIG -= app_bundle
  4. # The following define makes your compiler emit warnings if you use
  5. # any feature of Qt which as been marked deprecated (the exact warnings
  6. # depend on your compiler). Please consult the documentation of the
  7. # deprecated API in order to know how to port your code away from it.
  8. DEFINES += QT_DEPRECATED_WARNINGS
  9. # You can also make your code fail to compile if you use deprecated APIs.
  10. # In order to do so, uncomment the following line.
  11. # You can also select to disable deprecated APIs only up to a certain version of Qt.
  12. #DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0
  13. SOURCES += main.cpp \
  14. usb_cam.cpp
  15. !include(../../../include/common.pri ) {
  16. error( "Couldn't find the common.pri file!" )
  17. }
  18. !include(../../../include/ivopencv.pri ) {
  19. error( "Couldn't find the ivopencv.pri file!" )
  20. }
  21. !include(../../../include/ivprotobuf.pri ) {
  22. error( "Couldn't find the ivprotobuf.pri file!" )
  23. }
  24. INCLUDEPATH += /home/linaro/opencv3
  25. #contains(QMAKE_HOST.arch, aarch64){
  26. # DEFINES += USE_OPENCV4
  27. #}
  28. INCLUDEPATH += /usr/include/x86_64-linux-gnu
  29. DEFINES += USE_OPENCV4
  30. HEADERS += \
  31. usb_cam.h
  32. LIBS +=-lpostproc -lswresample -lswscale -lavfilter -lavdevice -lavformat -lavcodec -lavutil -lm -ldl
  33. LIBS += -livprotoif