改进文件结构
parent
95ea56d5e7
commit
4b3ee25fd5
|
@ -33,16 +33,16 @@ SUBDIRS += lunarcalendarwidget#农历控件
|
||||||
SUBDIRS += videowidget #通用视频控件
|
SUBDIRS += videowidget #通用视频控件
|
||||||
SUBDIRS += screenwidget #屏幕截图控件
|
SUBDIRS += screenwidget #屏幕截图控件
|
||||||
SUBDIRS += imageswitch #图片开关控件
|
SUBDIRS += imageswitch #图片开关控件
|
||||||
|
SUBDIRS += netserver #网络中转服务器
|
||||||
|
|
||||||
|
win32 {
|
||||||
|
SUBDIRS += ffmpegdemo #视频流播放ffmpeg内核
|
||||||
|
SUBDIRS += vlcdemo #视频流播放vlc内核
|
||||||
|
SUBDIRS += mpvdemo #视频流播放mpv内核
|
||||||
|
SUBDIRS += miniblink #miniblink示例
|
||||||
|
}
|
||||||
|
|
||||||
#如果你电脑对应的Qt版本有webkit或者webengine组件可以自行打开
|
#如果你电脑对应的Qt版本有webkit或者webengine组件可以自行打开
|
||||||
#SUBDIRS += echartgauge #echart仪表盘含交互支持webkit及webengine
|
#SUBDIRS += echartgauge #echart仪表盘含交互支持webkit及webengine
|
||||||
#ffmpegdemo默认提供的win的lib,如果是win可以自行打开
|
|
||||||
#SUBDIRS += ffmpegdemo #视频流播放ffmpeg内核
|
|
||||||
#vlcdemo默认提供的win的lib,如果是win可以自行打开
|
|
||||||
#SUBDIRS += vlcdemo #视频流播放vlc内核
|
|
||||||
#mpvdemo默认提供的win的lib,如果是win可以自行打开
|
|
||||||
#SUBDIRS += mpvdemo #视频流播放mpv内核
|
|
||||||
#designer项目只支持Qt4,如果是Qt4可以自行打开
|
#designer项目只支持Qt4,如果是Qt4可以自行打开
|
||||||
#SUBDIRS += designer #QtDesigner4源码
|
#SUBDIRS += designer #QtDesigner4源码
|
||||||
|
|
||||||
SUBDIRS += netserver #网络中转服务器
|
|
||||||
|
|
|
@ -1,14 +1,14 @@
|
||||||
QT += core gui
|
QT += core gui
|
||||||
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
|
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
|
||||||
|
|
||||||
TARGET = miniblink
|
TARGET = miniblink
|
||||||
TEMPLATE= app
|
TEMPLATE = app
|
||||||
DESTDIR = $$PWD/../bin
|
DESTDIR = $$PWD/../bin
|
||||||
|
|
||||||
CONFIG += warn_off
|
CONFIG += warn_off
|
||||||
HEADERS += widget.h
|
HEADERS += widget.h
|
||||||
SOURCES += main.cpp widget.cpp
|
SOURCES += main.cpp widget.cpp
|
||||||
FORMS += widget.ui
|
FORMS += widget.ui
|
||||||
|
|
||||||
INCLUDEPATH += $$PWD/miniblink
|
INCLUDEPATH += $$PWD/miniblink
|
||||||
include ($$PWD/miniblink/miniblink.pri)
|
include ($$PWD/miniblink/miniblink.pri)
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
#include "miniblink.h"
|
#include "miniblink.h"
|
||||||
#include "qapplication.h"
|
#include "qapplication.h"
|
||||||
|
#include "qvariant.h"
|
||||||
#include "qdebug.h"
|
#include "qdebug.h"
|
||||||
|
|
||||||
void onLoadingFinish(wkeWebView, void *param, const wkeString, wkeLoadingResult result, const wkeString)
|
void onLoadingFinish(wkeWebView, void *param, const wkeString, wkeLoadingResult result, const wkeString)
|
||||||
|
|
|
@ -873,7 +873,7 @@ public:
|
||||||
#define WKE_GET_PTR_ITERATOR(name) \
|
#define WKE_GET_PTR_ITERATOR(name) \
|
||||||
name = (FN_##name)GetProcAddress(hMod, #name); \
|
name = (FN_##name)GetProcAddress(hMod, #name); \
|
||||||
if (!name) \
|
if (!name) \
|
||||||
MessageBoxA(((HWND)0), "wke api not found", #name, 0);
|
//MessageBoxA(((HWND)0), "wke api not found", #name, 0);
|
||||||
|
|
||||||
#define WKE_GET_PTR_ITERATOR0(returnVal, name, description) \
|
#define WKE_GET_PTR_ITERATOR0(returnVal, name, description) \
|
||||||
WKE_GET_PTR_ITERATOR(name);
|
WKE_GET_PTR_ITERATOR(name);
|
||||||
|
|
Loading…
Reference in New Issue