driver_h264_rtspclient.pro 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. QT -= gui
  2. QT += network
  3. CONFIG += c++11 console
  4. CONFIG -= app_bundle
  5. # The following define makes your compiler emit warnings if you use
  6. # any feature of Qt which as been marked deprecated (the exact warnings
  7. # depend on your compiler). Please consult the documentation of the
  8. # deprecated API in order to know how to port your code away from it.
  9. DEFINES += QT_DEPRECATED_WARNINGS
  10. !include(../../../include/common.pri ) {
  11. error( "Couldn't find the common.pri file!" )
  12. }
  13. # You can also make your code fail to compile if you use deprecated APIs.
  14. # In order to do so, uncomment the following line.
  15. # You can also select to disable deprecated APIs only up to a certain version of Qt.
  16. #DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0
  17. SOURCES += main.cpp
  18. #DEFINES += USE_QSV
  19. LIBS += -lavcodec -lavformat -lavutil
  20. #if(contains(DEFINES,USE_QSV)){
  21. #INCLUDEPATH += /usr/local/include
  22. #INCLUDEPATH += /opt/intel/mediasdk/include
  23. #LIBS += /opt/intel/mediasdk/lib/libmfx.so.1
  24. #LIBS += -L/opt/intel/mediasdk/lib -lmfx
  25. #LIBS += /home/yuchuli/File1/git/ffmpeg/lib/libavcodec.so.59
  26. #LIBS += /home/yuchuli/File1/git/ffmpeg/lib/libavutil.so.57
  27. #LIBS += /home/yuchuli/File1/git/ffmpeg/lib/libavdevice.so.59
  28. #LIBS += /home/yuchuli/File1/git/ffmpeg/lib/libavformat.so.59
  29. #} else {
  30. #INCLUDEPATH += /usr/include/x86_64-linux-gnu
  31. #LIBS += -lavcodec -lavformat -lavutil
  32. #}
  33. INCLUDEPATH += /usr/include/x86_64-linux-gnu
  34. INCLUDEPATH += $$PWD/Include
  35. #INCLUDEPATH += $$PWD/libEasyRTSPClient/Include
  36. LIBS += -L$$PWD -leasypusher -leasyrtspclient