Add missing #include <QtCore/QByteArray>

in glxconvenience/qglxconvenience.cpp in
qtbase-opensource-src-5.2.0-allow-forcing-llvmpipe.patch
This commit is contained in:
Kevin Kofler 2014-01-29 18:23:47 +01:00
parent e6aa6cc6c7
commit 41836b065f

View File

@ -1,7 +1,15 @@
diff -ur qtbase-opensource-src-5.2.0/src/platformsupport/glxconvenience/qglxconvenience.cpp qtbase-opensource-src-5.2.0-allow-forcing-llvmpipe/src/platformsupport/glxconvenience/qglxconvenience.cpp
--- qtbase-opensource-src-5.2.0/src/platformsupport/glxconvenience/qglxconvenience.cpp 2013-12-08 18:09:47.000000000 +0100
+++ qtbase-opensource-src-5.2.0-allow-forcing-llvmpipe/src/platformsupport/glxconvenience/qglxconvenience.cpp 2014-01-29 17:41:57.000000000 +0100
@@ -116,6 +116,27 @@
+++ qtbase-opensource-src-5.2.0-allow-forcing-llvmpipe/src/platformsupport/glxconvenience/qglxconvenience.cpp 2014-01-29 18:18:47.000000000 +0100
@@ -43,6 +43,7 @@
#include <QtCore/QVector>
#include <QtCore/QVarLengthArray>
+#include <QtCore/QByteArray>
#ifndef QT_NO_XRENDER
#include <X11/extensions/Xrender.h>
@@ -116,6 +117,27 @@
GLXFBConfig qglx_findConfig(Display *display, int screen , const QSurfaceFormat &format, int drawableBit)
{
@ -29,7 +37,7 @@ diff -ur qtbase-opensource-src-5.2.0/src/platformsupport/glxconvenience/qglxconv
bool reduced = true;
GLXFBConfig chosenConfig = 0;
QSurfaceFormat reducedFormat = format;
@@ -159,6 +180,10 @@
@@ -159,6 +181,10 @@
reducedFormat = qglx_reduceSurfaceFormat(reducedFormat,&reduced);
}