🚀 Sync 2026-05-09 20:23:17

This commit is contained in:
github-actions[bot] committed 2026-05-09 20:23:17 +08:00
1 parent 9575147695
commit 8ddb141783
39 files changed
+473 -889

No files matched your search

+2 -2
View File
@@ -9,9 +9,9 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=qt6base
PKG_BASE:=6.9
PKG_BUGFIX:=1
PKG_BUGFIX:=3
PKG_VERSION:=$(PKG_BASE).$(PKG_BUGFIX)
PKG_RELEASE:=1
PKG_RELEASE:=2
PKG_SOURCE:=qtbase-everywhere-src-$(PKG_VERSION).tar.xz
PKG_SOURCE_URL:=https://mirrors.tencent.com/qt/archive/qt/$(PKG_BASE)/$(PKG_VERSION)/submodules/ \
@@ -0,0 +1,28 @@
--- a/src/widgets/widgets/qcommandlinkbutton.cpp
+++ b/src/widgets/widgets/qcommandlinkbutton.cpp
@@ -11,7 +11,9 @@
#include <qmath.h>
#include "private/qpushbutton_p.h"
+#if QT_CONFIG(style_stylesheet)
#include "private/qstylesheetstyle_p.h"
+#endif
QT_BEGIN_NAMESPACE
@@ -285,11 +287,15 @@ bool QCommandLinkButton::event(QEvent *e
// - or it has been set in the style sheet, in which case we don't want to override it here.
// When a style sheet with an icon is replaced by one without an icon, the old icon
// will be reset, when baseStyle()->repolish() is called.
+#if QT_CONFIG(style_stylesheet)
if (!qobject_cast<QStyleSheetStyle *>(style())) {
+#endif
QStyleOptionButton opt;
initStyleOption(&opt);
setIcon(style()->standardIcon(QStyle::SP_CommandLink, &opt, this));
+#if QT_CONFIG(style_stylesheet)
}
+#endif
}
return QPushButton::event(e);