summaryrefslogtreecommitdiff
path: root/x11-misc/qt5ct/files/qt5ct-0.35-fix-qtdbus-automagic.patch
diff options
context:
space:
mode:
Diffstat (limited to 'x11-misc/qt5ct/files/qt5ct-0.35-fix-qtdbus-automagic.patch')
-rw-r--r--x11-misc/qt5ct/files/qt5ct-0.35-fix-qtdbus-automagic.patch39
1 files changed, 39 insertions, 0 deletions
diff --git a/x11-misc/qt5ct/files/qt5ct-0.35-fix-qtdbus-automagic.patch b/x11-misc/qt5ct/files/qt5ct-0.35-fix-qtdbus-automagic.patch
new file mode 100644
index 000000000000..2363e559370a
--- /dev/null
+++ b/x11-misc/qt5ct/files/qt5ct-0.35-fix-qtdbus-automagic.patch
@@ -0,0 +1,39 @@
+Index: src/qt5ct/qt5ct.pro
+===================================================================
+diff --git a/src/qt5ct/qt5ct.pro b/src/qt5ct/qt5ct.pro
+--- a/src/qt5ct/qt5ct.pro (revision 485)
++++ b/src/qt5ct/qt5ct.pro (revision 486)
+@@ -5,7 +5,7 @@
+ QT += widgets
+
+ greaterThan(QT_MINOR_VERSION, 8) {
+- QT += gui-private theme_support-private
++ QT += gui-private
+ }
+
+ SOURCES += \
+Index: src/qt5ct-qtplugin/qt5ct-qtplugin.pro
+===================================================================
+diff --git a/src/qt5ct-qtplugin/qt5ct-qtplugin.pro b/src/qt5ct-qtplugin/qt5ct-qtplugin.pro
+--- a/src/qt5ct-qtplugin/qt5ct-qtplugin.pro (revision 485)
++++ b/src/qt5ct-qtplugin/qt5ct-qtplugin.pro (revision 486)
+@@ -4,13 +4,14 @@
+ TARGET = qt5ct
+ CONFIG += plugin
+
+-greaterThan(QT_MINOR_VERSION, 7) {
+- QT += gui-private theme_support-private
+-} else {
+- QT += gui-private platformsupport-private
+-}
++QT += gui-private
+
+ !equals(DISABLE_DBUS, 1):qtHaveModule(dbus):greaterThan(QT_MINOR_VERSION, 5) {
++ greaterThan(QT_MINOR_VERSION, 7) {
++ QT += theme_support-private
++ } else {
++ QT += platformsupport-private
++ }
+ QT += dbus
+ message(D-Bus support: Enabled)
+ } else {