fix: setDescription from cmdline or cfg not working

when aboutDialog is not created yet, ApplicationDescription can't be set

Log: merge changes from develop/qt6 branch
This commit is contained in:
zty199
2024-10-20 15:47:35 +08:00
parent c4e34eb048
commit 7e5525d4e9
9 changed files with 111 additions and 178 deletions

View File

@@ -1,4 +1,4 @@
QT += core gui webenginewidgets svg concurrent dbus
QT += core gui webenginewidgets concurrent
greaterThan(QT_MAJOR_VERSION, 5): QT += widgets
@@ -6,6 +6,13 @@ TEMPLATE = app
DEFINES += QT_DEPRECATED_WARNINGS
DEFINES += PROJECT_NAME=\\\"'$${TARGET}'\\\"
# Get build version from qmake
VERSION = $$BUILD_VERSION
isEmpty(VERSION): VERSION = 1.0
DEFINES += APP_VERSION=\\\"'$${VERSION}'\\\"
CONFIG += c++11 link_pkgconfig
PKGCONFIG += dtkcore dtkgui dtkwidget
@@ -31,10 +38,10 @@ SOURCES += \
webengineurlrequestinterceptor.cpp
RESOURCES += \
resources/resources.qrc
resources/resources.qrc
TRANSLATIONS += \
translations/spark-webapp-runtime_zh_CN.ts
translations/$${TARGET}_zh_CN.ts
# Default rules for deployment.
qnx: target.path = /tmp/$${TARGET}/bin