更新代码
parent
ccf354879c
commit
ed05fe3770
|
@ -1,4 +1,4 @@
|
|||
#### 一、特别说明
|
||||
#### 一、特别说明
|
||||
1. 可以选择打开QWidgetDemo.pro一次性编译所有的,也可以到目录下打开pro编译。
|
||||
2. 如果发现有些子项目没有加载请打开对应目录下的.pro仔细看里面的注释。
|
||||
3. 编译好的可执行文件在源码同级目录下的bin目录。
|
||||
|
|
|
@ -1,4 +1,6 @@
|
|||
#include "frmdbpage.h"
|
||||
#pragma execution_character_set("utf-8")
|
||||
|
||||
#include "frmdbpage.h"
|
||||
#include "ui_frmdbpage.h"
|
||||
#include "dbpage.h"
|
||||
|
||||
|
|
|
@ -1,4 +1,6 @@
|
|||
#include "frmdbpage.h"
|
||||
#pragma execution_character_set("utf-8")
|
||||
|
||||
#include "frmdbpage.h"
|
||||
#include "qapplication.h"
|
||||
#include "qtextcodec.h"
|
||||
#include "qsqldatabase.h"
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
#include "appkey.h"
|
||||
#pragma execution_character_set("utf-8")
|
||||
#include "appkey.h"
|
||||
#include "qmutex.h"
|
||||
#include "qfile.h"
|
||||
#include "qtimer.h"
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
#include "frmmain.h"
|
||||
#pragma execution_character_set("utf-8")
|
||||
#include "frmmain.h"
|
||||
#include "ui_frmmain.h"
|
||||
#include "appkey.h"
|
||||
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
#include "frmmain.h"
|
||||
#pragma execution_character_set("utf-8")
|
||||
#include "frmmain.h"
|
||||
#include "ui_frmmain.h"
|
||||
#include "qmessagebox.h"
|
||||
#include "qfile.h"
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
#pragma execution_character_set("utf-8")
|
||||
#include "applive.h"
|
||||
#include "qmutex.h"
|
||||
#include "qudpsocket.h"
|
||||
|
|
|
@ -6,6 +6,7 @@ SOURCES += $$PWD/ffmpeg.cpp
|
|||
DEFINES += ffmpeg4
|
||||
|
||||
#ffmpeg4则使用ffmpeg4的目录
|
||||
|
||||
contains(DEFINES, ffmpeg4) {
|
||||
strPath = ffmpeg4
|
||||
} else {
|
||||
|
@ -19,11 +20,13 @@ strInclude = include64
|
|||
} else {
|
||||
#由于Qt4不支持QT_ARCH所以会执行下面的
|
||||
#如果用的64位的Qt4则需要自行修改
|
||||
|
||||
strLib = winlib
|
||||
strInclude = include
|
||||
}
|
||||
|
||||
#表示arm平台构建套件
|
||||
|
||||
contains(QT_ARCH, arm) {
|
||||
strInclude = include
|
||||
}
|
||||
|
@ -37,6 +40,7 @@ LIBS += -L$$PWD/$$strPath/$$strLib/ -lavcodec -lavfilter -lavformat -lswscale -l
|
|||
}
|
||||
|
||||
#请自行替换
|
||||
|
||||
!android {
|
||||
unix:!macx {
|
||||
LIBS += -L$$PWD/linuxlib/ -lavfilter -lavformat -lavdevice -lavcodec -lswscale -lavutil -lswresample -lavdevice -lpthread -lm -lz -lrt -ldl
|
||||
|
|
|
@ -6,6 +6,7 @@ SOURCES += $$PWD/vlc.cpp
|
|||
DEFINES += vlc2
|
||||
|
||||
#vlc3则使用vlc3的目录
|
||||
|
||||
contains(DEFINES, vlc3) {
|
||||
strPath = vlc3
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue