mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-01-06 02:17:34 -08:00
gui-apps/qt6ct: fix build with Qt 6.10
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
This commit is contained in:
parent
6ff847ca41
commit
41a45186c0
20
gui-apps/qt6ct/files/qt6ct-0.10-qt610.patch
Normal file
20
gui-apps/qt6ct/files/qt6ct-0.10-qt610.patch
Normal file
@ -0,0 +1,20 @@
|
||||
Backport of [1] plus a quick cmake build fix.
|
||||
[1] https://www.opencode.net/trialuser/qt6ct/-/commit/2d99bd0881aeac0a0eab9595159009ff750a1889
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -34,2 +34,5 @@
|
||||
find_package(Qt6 6.2 CONFIG REQUIRED COMPONENTS BuildInternals Core Widgets OPTIONAL_COMPONENTS LinguistTools)
|
||||
+if (Qt6_VERSION VERSION_GREATER_EQUAL 6.10)
|
||||
+ find_package(Qt6 6.2 CONFIG REQUIRED COMPONENTS GuiPrivate WidgetsPrivate)
|
||||
+endif()
|
||||
|
||||
--- a/src/qt6ct-qtplugin/qt6ctplatformtheme.h
|
||||
+++ b/src/qt6ct-qtplugin/qt6ctplatformtheme.h
|
||||
@@ -32,3 +32,7 @@
|
||||
#include <qpa/qplatformtheme.h>
|
||||
+#if (QT_VERSION >= QT_VERSION_CHECK(6, 10, 0))
|
||||
+#include <private/qgenericunixtheme_p.h>
|
||||
+#else
|
||||
#include <private/qgenericunixthemes_p.h>
|
||||
+#endif
|
||||
#include <QObject>
|
||||
@ -13,6 +13,10 @@ LICENSE="BSD-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${P}-qt610.patch
|
||||
)
|
||||
|
||||
# uses Qt private APIs wrt :=
|
||||
# dlopen: qtsvg
|
||||
DEPEND="
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user