添加第三方库
INCLUDEPATH += PWD/hce/include
LIBS += -LPWD/hce/lib/ -lHCEHomeAlarm
LIBS += -LPWD/hce/lib/ -lPlayCtrl
extern “C”
{
#include <HCEHomePublic.h>
#include <HCEHomeCMS.h>
#include <HCEHomeAlarm.h>
#include <HCEHomeStream.h>
#include <WindowsPlayM4.h>
#include <PlayM4.h>
}
主语库的编译版本
LIBS+=“C:/Qt/Qt5.1.0/5.1.0/mingw48_32/bin/Qt5Ftp.dll”