first commit
This commit is contained in:
137
GB28181Device/android.pro
Normal file
137
GB28181Device/android.pro
Normal file
@@ -0,0 +1,137 @@
|
||||
#-------------------------------------------------
|
||||
#
|
||||
# Project created by QtCreator 2019-06-21T09:49:18
|
||||
#
|
||||
#-------------------------------------------------
|
||||
|
||||
QT += core gui multimedia multimediawidgets androidextras
|
||||
|
||||
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
|
||||
|
||||
TARGET = gb28181device
|
||||
TEMPLATE = app
|
||||
|
||||
# The following define makes your compiler emit warnings if you use
|
||||
# any feature of Qt which as been marked as 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
|
||||
|
||||
DEFINES += MEDIA_DEVICE
|
||||
DEFINES += DEMO
|
||||
|
||||
# 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
|
||||
|
||||
INCLUDEPATH += \
|
||||
android \
|
||||
bm \
|
||||
media \
|
||||
rtp \
|
||||
rtsp \
|
||||
sip \
|
||||
ffmpeg/include
|
||||
|
||||
SOURCES += \
|
||||
android/About.cpp \
|
||||
android/ChannelSetting.cpp \
|
||||
android/gb28181device.cpp \
|
||||
android/main.cpp \
|
||||
android/MediaSetting.cpp \
|
||||
android/utils.cpp \
|
||||
android/video_encoder_android.cpp \
|
||||
bm/base64.cpp \
|
||||
bm/digcalc.cpp \
|
||||
bm/hqueue.cpp \
|
||||
bm/hxml.cpp \
|
||||
bm/ihash.cpp \
|
||||
bm/linked_list.cpp \
|
||||
bm/ppstack.cpp \
|
||||
bm/rfc_md5.cpp \
|
||||
bm/sys_buf.cpp \
|
||||
bm/sys_log.cpp \
|
||||
bm/sys_os.cpp \
|
||||
bm/util.cpp \
|
||||
bm/word_analyse.cpp \
|
||||
bm/xml_node.cpp \
|
||||
media/audio_capture.cpp \
|
||||
media/audio_capture_android.cpp \
|
||||
media/audio_decoder.cpp \
|
||||
media/audio_encoder.cpp \
|
||||
media/audio_play.cpp \
|
||||
media/audio_play_qt.cpp \
|
||||
media/avcodec_mutex.cpp \
|
||||
media/gles_engine.cpp \
|
||||
media/gles_input.cpp \
|
||||
media/media_codec.cpp \
|
||||
media/media_util.cpp \
|
||||
media/video_capture.cpp \
|
||||
media/video_capture_qt.cpp \
|
||||
rtp/aac_rtp_rx.cpp \
|
||||
rtp/pcm_rtp_rx.cpp \
|
||||
rtp/ps.cpp \
|
||||
rtp/rtp.cpp \
|
||||
rtp/rtp_rx.cpp \
|
||||
rtp/rtp_tx.cpp \
|
||||
rtsp/mansrtsp.cpp \
|
||||
rtsp/rtsp_parse.cpp \
|
||||
sip/gb28181.cpp \
|
||||
sip/gb28181_cfg.cpp \
|
||||
sip/gb28181_msg.cpp \
|
||||
sip/gb28181_subscribe.cpp \
|
||||
sip/hsip.cpp \
|
||||
sip/sip_cm.cpp \
|
||||
sip/sip_msg.cpp \
|
||||
sip/sip_parse.cpp \
|
||||
sip/sip_pstate.cpp \
|
||||
sip/sip_reg.cpp \
|
||||
sip/sip_rx.cpp \
|
||||
sip/sip_timer.cpp \
|
||||
sip/sip_trans.cpp \
|
||||
sip/sip_tx.cpp \
|
||||
sip/sip_util.cpp \
|
||||
sip/sua.cpp \
|
||||
sip/sua_sdp.cpp \
|
||||
sip/ua_media.cpp \
|
||||
|
||||
HEADERS += \
|
||||
android/About.h \
|
||||
android/ChannelSetting.h \
|
||||
android/gb28181device.h \
|
||||
android/MediaSetting.h \
|
||||
android/video_encoder_android.h \
|
||||
media/audio_capture_android.h \
|
||||
media/audio_play_qt.h \
|
||||
media/video_capture_qt.h
|
||||
|
||||
FORMS += \
|
||||
android/About.ui \
|
||||
android/ChannelSetting.ui \
|
||||
android/gb28181device.ui \
|
||||
android/MediaSetting.ui \
|
||||
|
||||
CONFIG += mobility
|
||||
MOBILITY =
|
||||
|
||||
DISTFILES += \
|
||||
android/AndroidManifest.xml \
|
||||
android/build.gradle \
|
||||
android/gradle/wrapper/gradle-wrapper.jar \
|
||||
android/gradle/wrapper/gradle-wrapper.properties \
|
||||
android/gradlew \
|
||||
android/gradlew.bat \
|
||||
android/res/values/libs.xml
|
||||
|
||||
ANDROID_PACKAGE_SOURCE_DIR = $$PWD/android
|
||||
|
||||
LIBS += -L$$PWD/ffmpeg/lib/android -lavcodec
|
||||
LIBS += -L$$PWD/ffmpeg/lib/android -lavformat
|
||||
LIBS += -L$$PWD/ffmpeg/lib/android -lavutil
|
||||
LIBS += -L$$PWD/ffmpeg/lib/android -lswresample
|
||||
LIBS += -L$$PWD/ffmpeg/lib/android -lswscale
|
||||
LIBS += -L$$PWD/ffmpeg/lib/android -lopus
|
||||
LIBS += -L$$PWD/ffmpeg/lib/android -lx264
|
||||
LIBS += -L$$PWD/ffmpeg/lib/android -lx265
|
||||
LIBS += -lOpenSLES
|
||||
Reference in New Issue
Block a user