[PATCH 3/3] plasma: QPixmap platform integration has changed in Qt5, disable it for now.

Jon Severinsson jon at severinsson.net
Sat Oct 6 23:27:15 UTC 2012


---
 plasma/private/windowshadows.cpp |    5 +++++
 1 fil ändrad, 5 tillägg(+)

diff --git a/plasma/private/windowshadows.cpp b/plasma/private/windowshadows.cpp
index 645dddd..f127852 100644
--- a/plasma/private/windowshadows.cpp
+++ b/plasma/private/windowshadows.cpp
@@ -23,6 +23,11 @@
 
 #include <config-plasma.h>
 
+#if HAVE_X11 && QT_VERSION >= QT_VERSION_CHECK(5, 0, 0)
+#undef HAVE_X11
+#define HAVE_X11 0
+#endif
+
 #if HAVE_X11
 #include <QX11Info>
 #include <X11/Xatom.h>
-- 
1.7.10.4



More information about the Kde-frameworks-devel mailing list