1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253 |
- QT -= gui
- QT += network
- CONFIG += c++11 console
- CONFIG -= app_bundle
- # The following define makes your compiler emit warnings if you use
- # any feature of Qt which as been marked deprecated (the exact warnings
- # depend on your compiler). Please consult the documentation of the
- # deprecated API in order to know how to port your code away from it.
- DEFINES += QT_DEPRECATED_WARNINGS
- !include(../../../include/common.pri ) {
- error( "Couldn't find the common.pri file!" )
- }
- # You can also make your code fail to compile if you use deprecated APIs.
- # In order to do so, uncomment the following line.
- # You can also select to disable deprecated APIs only up to a certain version of Qt.
- #DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0
- SOURCES += main.cpp
- #DEFINES += USE_QSV
- LIBS += -lavcodec -lavformat -lavutil
- #if(contains(DEFINES,USE_QSV)){
- #INCLUDEPATH += /usr/local/include
- #INCLUDEPATH += /opt/intel/mediasdk/include
- #LIBS += /opt/intel/mediasdk/lib/libmfx.so.1
- #LIBS += -L/opt/intel/mediasdk/lib -lmfx
- #LIBS += /home/yuchuli/File1/git/ffmpeg/lib/libavcodec.so.59
- #LIBS += /home/yuchuli/File1/git/ffmpeg/lib/libavutil.so.57
- #LIBS += /home/yuchuli/File1/git/ffmpeg/lib/libavdevice.so.59
- #LIBS += /home/yuchuli/File1/git/ffmpeg/lib/libavformat.so.59
- #} else {
- #INCLUDEPATH += /usr/include/x86_64-linux-gnu
- #LIBS += -lavcodec -lavformat -lavutil
- #}
- INCLUDEPATH += /usr/include/x86_64-linux-gnu
- INCLUDEPATH += $$PWD/Include
- #INCLUDEPATH += $$PWD/libEasyRTSPClient/Include
- LIBS += -L$$PWD -leasypusher -leasyrtspclient
|