想要在利用qt creator来编译海思mpp程序还是可以的.主要设置如下
QMAKE_CXXFLAGS += -Wno-psabi
LIBS += /home/justchen/nfsdir/qtproject/live555/hiDriver/lib/libmpi.a
LIBS += /home/justchen/nfsdir/qtproject/live555/hiDriver/lib/libaec.a
LIBS += /home/justchen/nfsdir/qtproject/live555/hiDriver/lib/libVoiceEngine.a
LIBS += /home/justchen/nfsdir/qtproject/live555/hiDriver/lib/libanr.a
LIBS += /home/justchen/nfsdir/qtproject/live555/hiDriver/lib/libhdmi.a
LIBS += /home/justchen/nfsdir/qtproject/live555/hiDriver/lib/libjpeg.a
LIBS += /home/justchen/nfsdir/qtproject/live555/hiDriver/lib/libresampler.a
LIBS += /home/justchen/nfsdir/qtproject/live555/hiDriver/lib/libtde.a
LIBS += /home/justchen/nfsdir/qtproject/live555/live/liveMedia/libliveMedia.a \
/home/justchen/nfsdir/qtproject/live555/live/BasicUsageEnvironment/libBasicUsageEnvironment.a \
/home/justchen/nfsdir/qtproject/live555/live/UsageEnvironment/libUsageEnvironment.a \
/home/justchen/nfsdir/qtproject/live555/live/groupsock/libgroupsock.a
INCLUDEPATH += /home/justchen/nfsdir/qtproject/live555/live/UsageEnvironment/include
INCLUDEPATH += /home/justchen/nfsdir/qtproject/live555/live/liveMedia/include
INCLUDEPATH += /home/justchen/nfsdir/qtproject/live555/live/BasicUsageEnvironment/include
INCLUDEPATH += /home/justchen/nfsdir/qtproject/live555/live/groupsock/include
INCLUDEPATH += /home/justchen/nfsdir/qtproject/live555/live/rtspServerApi
INCLUDEPATH += /home/justchen/nfsdir/qtproject/live555/hiDriver/hiDriverApi/
INCLUDEPATH += /home/justchen/nfsdir/qtproject/live555/hiDriver/common/
INCLUDEPATH += /home/justchen/nfsdir/qtproject/live555/hiDriver/include/
QMAKE_CXXFLAGS += -Wno-psabi 这句话是为了去除编译警告
上面配置中把Live555也加了进来,live555的库需要自已编译
正文完
亲,你那是编写,还是编译。 :evil: