From 2a065e878a41aff2f5052bace80c1e383e28042d Mon Sep 17 00:00:00 2001 From: Simon Quigley Date: Tue, 24 Jan 2023 16:03:02 -0600 Subject: [PATCH] Use Qt 6 theming defined by qt6ct as the default, until the Qt 6 theming story is improved in LXQt. --- debian/changelog | 2 ++ debian/patches/qt6-theming.patch | 20 ++++++++++++++++++++ debian/patches/series | 1 + 3 files changed, 23 insertions(+) create mode 100644 debian/patches/qt6-theming.patch create mode 100644 debian/patches/series diff --git a/debian/changelog b/debian/changelog index 452af79..fb0b8d3 100644 --- a/debian/changelog +++ b/debian/changelog @@ -3,6 +3,8 @@ featherpad (1.3.5-0ubuntu1) UNRELEASED; urgency=medium * New upstream release. * Bump Standards-version to 4.6.2, no changes needed. * Minor copyright updates. + * Use Qt 6 theming defined by qt6ct as the default, until the Qt 6 theming + story is improved in LXQt. -- Simon Quigley Tue, 24 Jan 2023 15:53:51 -0600 diff --git a/debian/patches/qt6-theming.patch b/debian/patches/qt6-theming.patch new file mode 100644 index 0000000..fec10b3 --- /dev/null +++ b/debian/patches/qt6-theming.patch @@ -0,0 +1,20 @@ +Description: Manual override to use theming specified by qt6ct + This is a temporary patch to make Featherpad look (at least somewhat) + presentable until the Qt 6 theming story in LXQt improves. +Author: Simon Quigley +Origin: vendor +Forwarded: not-needed +Last-Update: 2023-01-24 +--- +This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ +--- a/featherpad/data/featherpad.desktop ++++ b/featherpad/data/featherpad.desktop +@@ -50,7 +50,7 @@ Name[it]=Nuova finestra + Name[hu]=Új ablak + Name[pt]=Nova Janela + Name[sv]=Nytt Fönster +-Exec=featherpad --win ++Exec=env QT_QPA_PLATFORMTHEME=qt6ct featherpad --win + + [Desktop Action standalone-window] + Name=Standalone Window diff --git a/debian/patches/series b/debian/patches/series new file mode 100644 index 0000000..d951c5b --- /dev/null +++ b/debian/patches/series @@ -0,0 +1 @@ +qt6-theming.patch