From 891a86f0f3b0664162642ee1d6aa3078f16695d1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Samuel=20R=C3=B8dal?= Date: Mon, 20 Jun 2011 12:32:49 +0200 Subject: [PATCH] Compile fixes. --- src/gui/kernel/qplatformintegration_qpa.h | 1 + .../readback_egl/qwaylandreadbackeglcontext.cpp | 2 +- .../xcomposite_egl/qwaylandxcompositeeglcontext.cpp | 2 +- .../xcomposite_egl/qwaylandxcompositeeglcontext.h | 2 +- .../xcomposite_egl/qwaylandxcompositeeglwindow.cpp | 4 ++-- src/plugins/platforms/xcb/qxcbintegration.cpp | 2 +- 6 files changed, 7 insertions(+), 6 deletions(-) diff --git a/src/gui/kernel/qplatformintegration_qpa.h b/src/gui/kernel/qplatformintegration_qpa.h index 1a46a479e6..d9953abcc9 100644 --- a/src/gui/kernel/qplatformintegration_qpa.h +++ b/src/gui/kernel/qplatformintegration_qpa.h @@ -62,6 +62,7 @@ class QPlatformNativeInterface; class QPlatformPrinterSupport; class QPlatformDrag; class QPlatformGLContext; +class QGuiGLFormat; class Q_GUI_EXPORT QPlatformIntegration { diff --git a/src/plugins/platforms/wayland/gl_integration/readback_egl/qwaylandreadbackeglcontext.cpp b/src/plugins/platforms/wayland/gl_integration/readback_egl/qwaylandreadbackeglcontext.cpp index 8769752d5f..cd6ab188f7 100644 --- a/src/plugins/platforms/wayland/gl_integration/readback_egl/qwaylandreadbackeglcontext.cpp +++ b/src/plugins/platforms/wayland/gl_integration/readback_egl/qwaylandreadbackeglcontext.cpp @@ -41,7 +41,7 @@ #include "qwaylandreadbackeglcontext.h" -#include "../../../eglconvenience/qeglconvenience.h" +#include #include #include diff --git a/src/plugins/platforms/wayland/gl_integration/xcomposite_egl/qwaylandxcompositeeglcontext.cpp b/src/plugins/platforms/wayland/gl_integration/xcomposite_egl/qwaylandxcompositeeglcontext.cpp index c5db44da4b..c43b675d44 100644 --- a/src/plugins/platforms/wayland/gl_integration/xcomposite_egl/qwaylandxcompositeeglcontext.cpp +++ b/src/plugins/platforms/wayland/gl_integration/xcomposite_egl/qwaylandxcompositeeglcontext.cpp @@ -46,7 +46,7 @@ #include #include -#include "QtPlatformSupport/private/qeglconvenience_p.h" +#include QWaylandXCompositeEGLSurface::QWaylandXCompositeEGLSurface(QWaylandXCompositeEGLWindow *window) : QEGLSurface(window->eglSurface(), window->window()->glFormat()) diff --git a/src/plugins/platforms/wayland/gl_integration/xcomposite_egl/qwaylandxcompositeeglcontext.h b/src/plugins/platforms/wayland/gl_integration/xcomposite_egl/qwaylandxcompositeeglcontext.h index bd7039f284..e394ea1a04 100644 --- a/src/plugins/platforms/wayland/gl_integration/xcomposite_egl/qwaylandxcompositeeglcontext.h +++ b/src/plugins/platforms/wayland/gl_integration/xcomposite_egl/qwaylandxcompositeeglcontext.h @@ -46,7 +46,7 @@ #include "qwaylandxcompositeeglintegration.h" -#include "qeglplatformcontext.h" +#include class QWaylandXCompositeEGLWindow; diff --git a/src/plugins/platforms/wayland/gl_integration/xcomposite_egl/qwaylandxcompositeeglwindow.cpp b/src/plugins/platforms/wayland/gl_integration/xcomposite_egl/qwaylandxcompositeeglwindow.cpp index 5c6717eb0c..5e1bab2044 100644 --- a/src/plugins/platforms/wayland/gl_integration/xcomposite_egl/qwaylandxcompositeeglwindow.cpp +++ b/src/plugins/platforms/wayland/gl_integration/xcomposite_egl/qwaylandxcompositeeglwindow.cpp @@ -42,10 +42,10 @@ #include "qwaylandxcompositeeglwindow.h" #include "qwaylandxcompositebuffer.h" -#include "qeglconvenience.h" +#include +#include #include "wayland-xcomposite-client-protocol.h" -#include "qxlibeglintegration.h" #include diff --git a/src/plugins/platforms/xcb/qxcbintegration.cpp b/src/plugins/platforms/xcb/qxcbintegration.cpp index 45d9d69199..a07a5a544e 100644 --- a/src/plugins/platforms/xcb/qxcbintegration.cpp +++ b/src/plugins/platforms/xcb/qxcbintegration.cpp @@ -66,7 +66,7 @@ #if defined(XCB_USE_GLX) #include "qglxintegration.h" #elif defined(XCB_USE_EGL) -#include "../eglconvenience/qeglplatformcontext.h" +#include #endif QXcbIntegration::QXcbIntegration()