[Webkit-unassigned] [Bug 101249] New: [Qt] QtWebKit-2.3 tries to open non-existent qopengl.h
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Nov 5 13:25:33 PST 2012
https://bugs.webkit.org/show_bug.cgi?id=101249
Summary: [Qt] QtWebKit-2.3 tries to open non-existent qopengl.h
Product: WebKit
Version: 528+ (Nightly build)
Platform: Unspecified
OS/Version: Unspecified
Status: UNCONFIRMED
Severity: Normal
Priority: P3
Component: WebKit Qt
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: chombourger at mvista.com
While trying to build QtWebKit-2.3 for an OpenGL ES2 platform running Qt 4.8.1, build of abd77b3f85375632aa313934e8eb9ae89f2bbf2e (git://gitorious.org/+qtwebkit-developers/webkit/qtwebkit-23.git) fails with many errors from Source/WebCore/platform/graphics/opengl/Extensions3DOpenGLES.h. The first error raised is:
Source/WebCore/platform/graphics/opengl/Extensions3DOpenGLES.h:35:21: error: qopengl.h: No such file or directory
Subsequent errors are simply caused by the above. The following is an excerpt of Extensions3DOpenGLES.h:
#include "Extensions3DOpenGLCommon.h"
#if PLATFORM(QT)
// Takes care of declaring the GLES extensions.
#include <qopengl.h>
#else
#include <GLES2/gl2.h>
#include <GLES2/gl2ext.h>
#endif
The #include <opengl.h> has been added with the following commit:
commit 782d2b09837c843a4afbae149e6c6b22bf1b3870
Author: commit-queue <commit-queue at webkit.org>
Date: Tue Sep 18 12:21:44 2012 +0000
Fix compilation with Qt 5 on MeeGo 1.2 Harmattan
https://bugs.webkit.org/show_bug.cgi?id=96937
Patch by Simon Hausmann <simon.hausmann at digia.com> on 2012-09-18
Reviewed by Jocelyn Turcotte.
The gl2ext.h header file on the platform is outdated. Instead use the newer copy from Qt
through implicit inclusion of qopengl.h. Since Qt's declarations are based on newer Khronos
headers, the multi sampling extensions do have the PROC suffix, we need the same workaround
as QNX.
* platform/graphics/opengl/Extensions3DOpenGLES.h:
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@128877 268f45cc-cd09-0410-ab3c-d52691b4dbfc
A simple work-around is to add " && HAVE(QT5)" to "#if PLATFORM(QT)"
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list