summaryrefslogtreecommitdiffstats
path: root/packages/x11-apps/qt6ct/files/qt6ct-0.9-qt-6.10.patch
diff options
context:
space:
mode:
Diffstat (limited to 'packages/x11-apps/qt6ct/files/qt6ct-0.9-qt-6.10.patch')
-rw-r--r--packages/x11-apps/qt6ct/files/qt6ct-0.9-qt-6.10.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/packages/x11-apps/qt6ct/files/qt6ct-0.9-qt-6.10.patch b/packages/x11-apps/qt6ct/files/qt6ct-0.9-qt-6.10.patch
new file mode 100644
index 0000000..69e52d0
--- /dev/null
+++ b/packages/x11-apps/qt6ct/files/qt6ct-0.9-qt-6.10.patch
@@ -0,0 +1,22 @@
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -24,7 +24,7 @@
+
+ add_definitions(-DQT_DISABLE_DEPRECATED_BEFORE=0x060000 -DUSE_WIDGETS)
+
+-find_package(Qt6 REQUIRED COMPONENTS BuildInternals Core Widgets OPTIONAL_COMPONENTS LinguistTools)
++find_package(Qt6 REQUIRED COMPONENTS BuildInternals Core Widgets GuiPrivate WidgetsPrivate OPTIONAL_COMPONENTS LinguistTools)
+
+ get_target_property(QT_QTPATHS_EXECUTABLE Qt6::qtpaths IMPORTED_LOCATION)
+
+--- a/src/qt6ct-qtplugin/qt6ctplatformtheme.h
++++ b/src/qt6ct-qtplugin/qt6ctplatformtheme.h
+@@ -30,7 +30,7 @@
+ #define QT6CTPLATFORMTHEME_H
+
+ #include <qpa/qplatformtheme.h>
+-#include <private/qgenericunixthemes_p.h>
++#include <private/qgenericunixtheme_p.h>
+ #include <QObject>
+ #include <QFont>
+ #include <QPalette>