[Webkit-unassigned] [Bug 111859] [qt] Webkit fails to compile if EGL headers are not in default INCLUDEPATH

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Mar 8 10:42:33 PST 2013


https://bugs.webkit.org/show_bug.cgi?id=111859





--- Comment #3 from Floris Bos <bos at je-eigen-domein.nl>  2013-03-08 10:44:58 PST ---
Thanks for the feedback.


>I think that what you are trying to fix could all be done by qmake if you add "CONFIG += opengl egl" inside this block. Could you try?

A potential problem I see with that, is that it could interfere with this section in WebCore.pri:

==
use?(3D_GRAPHICS) {
    win32: {
        win32-g++: {
            # Make sure OpenGL libs are after the webcore lib so MinGW can resolve symbols
            contains(QT_CONFIG, opengles2) {
                CONFIG(debug, debug|release):contains(QT_CONFIG, angle) {
                    LIBS += $$QMAKE_LIBS_OPENGL_ES2_DEBUG
                } else {
                    LIBS += $$QMAKE_LIBS_OPENGL_ES2
                }
            } else {
                LIBS += $$QMAKE_LIBS_OPENGL
            }
        }
    } else {
        contains(QT_CONFIG, opengles2): LIBS += -lEGL
    }
}
==

Think that if I do "CONFIG += opengl" it will not only handle the INCLUDEPATH, but also will also add the libraries, and that might render the MinGW workaround here invalid.

-- 
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