plasma: QPixmap platform integration has changed in Qt5, disable it for now.

This essentially makes WindowShadows a no-op, but it is better than not compiling...

REVIEW: 106989
This commit is contained in:
Jon Severinsson 2012-10-06 22:27:43 +02:00
parent e7e77f118a
commit a6bcd52059

View File

@ -23,6 +23,12 @@
#include <config-plasma.h>
#if HAVE_X11 && QT_VERSION >= QT_VERSION_CHECK(5, 0, 0)
#pragma message("X11 Pixmap code disabled, X11 <=> Qt pixmap conversion code not available in Qt 5.0")
#undef HAVE_X11
#define HAVE_X11 0
#endif
#if HAVE_X11
#include <QX11Info>
#include <X11/Xatom.h>