From f30b8b96b8540ba7d78e9ca7f6db152b40e9b2af Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B8rgen=20Lind?= Date: Fri, 10 Jun 2011 10:16:18 +0200 Subject: [PATCH] Fix QtPlatformSupport when compiling with glx and xcb --- src/plugins/platforms/xcb/qglxintegration.cpp | 2 +- src/plugins/platforms/xcb/qxcbwindow.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/plugins/platforms/xcb/qglxintegration.cpp b/src/plugins/platforms/xcb/qglxintegration.cpp index 67791080d5..a47de88141 100644 --- a/src/plugins/platforms/xcb/qglxintegration.cpp +++ b/src/plugins/platforms/xcb/qglxintegration.cpp @@ -53,7 +53,7 @@ #include #include "qglxintegration.h" -#include "qglxconvenience.h" +#include #if defined(Q_OS_LINUX) || defined(Q_OS_BSD4) #include diff --git a/src/plugins/platforms/xcb/qxcbwindow.cpp b/src/plugins/platforms/xcb/qxcbwindow.cpp index e6bea81c30..86a8c75878 100644 --- a/src/plugins/platforms/xcb/qxcbwindow.cpp +++ b/src/plugins/platforms/xcb/qxcbwindow.cpp @@ -68,8 +68,8 @@ #endif #if defined(XCB_USE_GLX) -#include -#include +#include "qglxintegration.h" +#include #elif defined(XCB_USE_EGL) #include #include