diff --git a/srcpkgs/qt5-styleplugins/patches/qt5.15.patch b/srcpkgs/qt5-styleplugins/patches/qt5.15.patch new file mode 100644 index 00000000000..9f8f382de5a --- /dev/null +++ b/srcpkgs/qt5-styleplugins/patches/qt5.15.patch @@ -0,0 +1,21 @@ +--- src/plugins/styles/gtk2/qgtkstyle_p.cpp 2017-03-11 10:23:02.000000000 +0100 ++++ - 2020-06-13 19:46:47.729544729 +0200 +@@ -508,7 +508,6 @@ + if (oldTheme != QGtkStylePrivate::getThemeName()) { + oldTheme = QGtkStylePrivate::getThemeName(); + QPalette newPalette = qApp->style()->standardPalette(); +- QApplicationPrivate::setSystemPalette(newPalette); + QApplication::setPalette(newPalette); + if (!QGtkStylePrivate::instances.isEmpty()) { + QGtkStylePrivate::instances.last()->initGtkWidgets(); +--- src/plugins/styles/gtk2/qgtkstyle.cpp 2020-06-13 19:48:41.746108796 +0200 ++++ - 2020-06-13 19:48:47.476009571 +0200 +@@ -440,7 +440,7 @@ + // not supported as these should be entirely determined by + // current Gtk settings + if (app->desktopSettingsAware() && d->isThemeAvailable()) { +- QApplicationPrivate::setSystemPalette(standardPalette()); ++ QApplication::setPalette(standardPalette()); + QApplicationPrivate::setSystemFont(d->getThemeFont()); + d->applyCustomPaletteHash(); + if (!d->isKDE4Session()) diff --git a/srcpkgs/qt5-styleplugins/template b/srcpkgs/qt5-styleplugins/template index fdb0d74ec86..06d99c3cbe9 100644 --- a/srcpkgs/qt5-styleplugins/template +++ b/srcpkgs/qt5-styleplugins/template @@ -1,13 +1,13 @@ # Template file for 'qt5-styleplugins' pkgname=qt5-styleplugins version=5.0.0 -revision=12 +revision=13 _gitrev=335dbece103e2cbf6c7cf819ab6672c2956b17b3 wrksrc="qtstyleplugins-${_gitrev}" build_style=qmake hostmakedepends="pkg-config qt5-host-tools qt5-devel" makedepends="libxcb-devel libxkbcommon-devel libinput-devel tslib-devel gtk+-devel qt5-devel" -depends="qt5-core>=5.14.2<5.14.3" +depends="qt5-core>=5.15.0<5.15.1" short_desc="Additional style plugins for Qt5" maintainer="Jürgen Buchmüller " license="LGPL-2.1-only, LGPL-3.0-only"