zty199 faa613d671 feat: ISSUE #I62BVT 添加网页通知功能
WebEngineView 中添加 WebEngineView::present(std::unique_ptr<QWebEngineNotification> &newNotification) 函数,通过 DNotifySender 转发系统通知

Log: 添加网页通知功能,通知图片缓存在 /tmp 下;使用 DLogManager 生成日志;修复强制使用 DTK 平台插件异常问题
2022-12-19 09:31:32 +08:00

49 lines
1.1 KiB
Prolog

QT += core gui webenginewidgets svg concurrent dbus
greaterThan(QT_MAJOR_VERSION, 5): QT += widgets
TEMPLATE = app
DEFINES += QT_DEPRECATED_WARNINGS
CONFIG += c++11 link_pkgconfig
PKGCONFIG += dtkcore dtkgui dtkwidget
HEADERS += \
mainwindow.h \
globaldefine.h \
httpd.h \
httplib.h \
widget.h \
webengineview.h \
webenginepage.h \
application.h \
webengineurlrequestinterceptor.h
SOURCES += \
main.cpp \
httpd.cpp \
mainwindow.cpp \
widget.cpp \
webengineview.cpp \
webenginepage.cpp \
application.cpp \
webengineurlrequestinterceptor.cpp
RESOURCES += \
resources/resources.qrc
TRANSLATIONS += \
translations/spark-webapp-runtime_zh_CN.ts
# Default rules for deployment.
qnx: target.path = /tmp/$${TARGET}/bin
else: unix:!android: target.path = /opt/durapps/$${TARGET}/bin
!isEmpty(target.path): INSTALLS += target
# Rules for deployment
qm.files += translations/*.qm
qm.path = /opt/durapps/$${TARGET}/share/$${TARGET}/translations
INSTALLS += qm